For the benefit of the archives, I have now worked around this issue (see
the openwrt-devel list for slightly more discussion).
2009/4/26 Jonathan Hunter <[email protected]>

>
> I am trying to compile the example sqlite C app from
> http://www.sqlite.org/quickstart.html, but it isn't working. The code
> works fine on my local PC, but hangs when I run it on my router.
>

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.

Thanks,

Jonathan
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to