Sqlite3 Hangs Getting Stuck In OpenWRT Kamikaze 8.09.1

Submitted by Eus
on March 1, 2010 - 11:30pm

Having a programming project for a service publishing wireless access point running OpenWRT Kamikaze 8.09.1 in which I decide to use sqlite3 as the data backend, my first attempt in cross-compiling and running the service inquiry handler daemon that was fully tested on my laptop was greeted with a hang.

Having made test cases, I could quickly locate that the problem laid on sqlite3. Googling around for a while, I landed on https://lists.openwrt.org/pipermail/openwrt-devel/2009-April/004116.html that made me land on https://bugs.busybox.net/show_bug.cgi?id=193 before arriving on https://dev.openwrt.org/ticket/4809 and finally coming to https://dev.openwrt.org/changeset/15344. Since OpenWRT 8.09 branch does not have the patches, I check out svn co svn://svn.openwrt.org/openwrt/trunk/ instead. Compiling trunk as per http://nuwiki.openwrt.org/oldwiki/openwrtdocs/hardware/asus/wl500w (checkout paths adjusted according to the https://dev.openwrt.org/wiki/GetSource and directory names adjusted easily like wifi instead of wireless), I can finally run the service publishing AP program (http://github.com/eus/service_publishing_ap). The compiled image can be downloaded from http://www.sendspace.com/file/svu19b

The .config file

Eus
on
March 4, 2010 - 8:08am

The .config file that I used to compile the image can be found here: http://www.sendspace.com/file/5tcn5o

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.