Hiho, sqliteInt.h: sqlite4_env:
sqlite4_mutex *pFactoryMutex; /* Mutex for pFactory */ is missing from the definition in global.c, line 172. Adding a NULL there resolves "excess initializer" warnings and the follow-up errors such as "braces around scalar initializer" in nowValue[]. Make test fails, but it "might" be related to my local SQLITE4_ replacements. ... -o testfixture -ltcl8.5 -lm -lpthread -ldl -lz -ldl -lpthread libsqlite4.a ../sqlite4/test/test_mutex.c: In function ‘getDbPointer’: ../sqlite4/test/test_mutex.c:369:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /tmp/cc4rUyGN.o: In function `Sqlitetest1_Init': /home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4544: undefined reference to `sqlite4_search_count' /home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4546: undefined reference to `sqlite4_found_count' /home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4548: undefined reference to `sqlite4_sort_count' /home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4550: undefined reference to `sqlite4_max_blobsize' /home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4552: undefined reference to `sqlite4_like_count' /home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4554: undefined reference to `sqlite4_interrupt_count' /home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4563: undefined reference to `sqlite4_xferopt_count' /tmp/cc64DmC7.o: In function `test_translate_selftest': /home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_utf.c:196: undefined reference to `sqlite4UtfSelfTest' /tmp/ccpAUrm8.o: In function `sqlite4test_install_test_functions': /home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_func.c:577: undefined reference to `Md5_Register' /tmp/ccfFgLtO.o: In function `utf8_to_utf8': /home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_hexio.c:311: undefined reference to `sqlite4Utf8To8' collect2: ld returned 1 exit status -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users