I added `-DUINTPTR_TYPE=u64' to the TCC line of the Makefile but it does not help either!
[EMAIL PROTECTED]:/project/amphioxus/src/sqlite-3.0.3/build> gmake clean all rm -f *.lo *.la *.o sqlite3 libsqlite3.la rm -f sqlite3.h opcodes.* rm -rf .libs .deps rm -f lemon lempar.c parse.* sqlite*.tar.gz rm -f rm -f *.da *.bb *.bbg gmon.out rm -f testfixture test.db rm -rf doc rm -f common.tcl rm -f sqlite3.dll sqlite3.lib sed -e s/--VERS--/`cat ../sqlite/VERSION`/ \ ../sqlite/src/sqlite.h.in >sqlite3.h echo '/* Automatically generated file. Do not edit */' >opcodes.h grep '^case OP_' ../sqlite/src/vdbe.c | \ sed -e 's/://' | \ awk '{printf "#define %-30s %3d\n", $2, ++cnt}' >>opcodes.h gcc -g -O2 -o lemon ../sqlite/tool/lemon.c cp ../sqlite/tool/lempar.c . cp ../sqlite/src/parse.y . ./lemon parse.y ./libtool --mode=compile gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -DUINTPTR_TYPE=u64 -I. -I../sqlite/src -DNDEBUG -c ../sqlite/src/attach.c gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -DUINTPTR_TYPE=u64 -I. -I../sqlite/src -DNDEBUG -c ../sqlite/src/attach.c -o attach.o In file included from ../sqlite/src/attach.c:16: ../sqlite/src/sqliteInt.h:129: parse error before "uptr" ../sqlite/src/sqliteInt.h:129: warning: data definition has no type or storage class gmake: *** [attach.lo] Error 1 >Detlef Groth wrote: >> Hello, >> >> I could recently compile the sqlite2.x code without problems but now I can't >> compile the the 3.0.3 branch. >> >> The main problem is in: >> sqliteInt.h:129: parse error before "uptr" >> sqliteInt.h:129: warning: data definition has no type or storage class >> >Try adding '-DUINTPTR_TYPE=u64' to the compiler command line. Please let me know if that helps. >-- >D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565 -- Dr. Detlef Groth dgroth at gmx.de