Gheheheh :D
[email protected] wrote: > Send openwrt-devel mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of openwrt-devel digest..." > > > Today's Topics: > > 1. Re: Compiling simple app using sqlite library: FIXED > (Jonathan Hunter) > 2. Re: Compiling simple app using sqlite library: FIXED > (Jonathan Hunter) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 1 May 2009 00:03:57 +0100 > From: Jonathan Hunter <[email protected]> > To: OpenWrt Development List <[email protected]> > Subject: Re: [OpenWrt-Devel] Compiling simple app using sqlite > library: FIXED > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > 2009/4/28 Gustavo Andr?s Angulo <[email protected]> >>> Hi, view this bug https://bugs.busybox.net/show_bug.cgi?id=193 >>> compile with uclibc 0.9.28 and test this, or you can test with >>> eglibc and test this aplication. >> > I have now tested with uclibc 0.9.28 and the app does not hang when it > starts up - thank you very much! (I have not yet managed to set up eglibc) > > Now, all I need to do is actually finish writing the app :-) > > For the benefit of the archives, to switch to uclibc 0.9.28 I used a hint > from the forum post here: > http://forum.openwrt.org/viewtopic.php?id=19207 > > In my case it was "Advanced configuration options (for developers)" --> > "Toolchain Options" --> "uClibc Version" --> "uClibc 0.9.28". I didn't have > the option to switch to eglibc. > > Thanks for all your help. From the looks of things, this may not be fixed in > the current uclibc, so I might be best off sticking with 0.9.28 ? > Best Regards, > > Jonathan > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20090501/8495ce27/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Fri, 1 May 2009 08:41:25 +0100 > From: Jonathan Hunter <[email protected]> > To: OpenWrt Development List <[email protected]> > Subject: Re: [OpenWrt-Devel] Compiling simple app using sqlite > library: FIXED > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > 2009/5/1 Jonathan Hunter <[email protected]> > > 2009/4/28 Gustavo Andr?s Angulo <[email protected]> >>>> compile with uclibc 0.9.28 and test this, or you can test with eglibc and >>>> test this aplication. >>> >> I have now tested with uclibc 0.9.28 and the app does not hang when it >> starts up - thank you very much! (I have not yet managed to set up eglibc) >> > > An update for anybody searching for sqlite / pthread issues on OpenWRT. > > Switching to uclib 0.9.28 solved the 'hang on startup' problem, but > introduced another - namely, my sqlite app no longer hangs but instead > aborts when opening the database. > > strace here for those who are interested: > http://pastebin.ca/1409237 > > To fix this, I modified the Makefile for sqlite and disabled multithreading > support. > > The makefile in question was package/feeds/packages/sqlite3/Makefile, and > the change required was to add "--disable-threadsafe" to CONFIGURE_ARGS. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20090501/bd730d22/attachment-0001.html> > > ------------------------------ > > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > > > End of openwrt-devel Digest, Vol 41, Issue 1 > ******************************************** _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
