On Wed, 2010-03-03 at 09:29 -0800, Dan Brown wrote: > > and it works. But when I compile the same program with the sqlite librarie > > it hangs. I use this command: > > > > /usr/src/openwrt/fon/openwrt/build_dir/mipsel/OpenWrt-SDK-fonera2n-for-Linux-x86_64/staging_dir/toolchain-mipsel_gcc4.1.2/bin/mipsel-linux-uclibc-gcc-4.1.2 > > -L staging_dir/mipsel/usr/lib/ -lsqlite3 hello.c -o hello > > About a year ago I tried unsuccessfully to link dynamically the > sqlite3 libraries to a program for OpenWRT. The program just hung - no > errors, no activity. I don't know whether it is related or not, but we had an issue with running sqlite with gcc 3.4.3 on Motorola A1200 (linux, arm). Is that application performing some kind of select from database?
In our case the compiler optimizations broke sqlite so badly that it returned one row with 1 for the following statement: SELECT 1 WHERE 1 == 0; Some other statements/tables caused it to return infinite amount of repetitive data for the table with 16 records (making the application hang). We could make it work only when all optimizations were turned off. Just my five cents.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
