On Mon, 2007-02-26 at 11:37 +0100, Jakub Ladman wrote: > > It's seems a bit strange to me that Makefile.linux-gcc includes tcl in > > the build by default, but it does. Maybe that should change... > > > > If you add "-DNO_TCL" to the OPTS variable in Makefile.linux-gcc this > > error should go away. i.e. add the following line somewhere after the > > "OPTS = -DNDEBUG" bit: > > > > OPTS += -DNO_TCL > > > > > > > > Dan. > > :-( > > This i get when i use makefile which is attached to this mail.
I think you accidentally typed "OPTS += -DNOTCL" instead of "OPTS += -DNO_TCL". Have another shot ;) Dan. > Jakub Ladman > > [EMAIL PROTECTED] ~/src/sqlite-3.3.13 $ make -f mymakefile > sed -e s/--VERS--/`cat ../sqlite-3.3.13/VERSION`/ \ > -e s/--VERSION-NUMBER--/`cat ../sqlite-3.3.13/VERSION | > sed 's/[^0-9]/ /g' | awk '{printf "%d%03d%03d",$1,$2,$3}'`/ \ > ../sqlite-3.3.13/src/sqlite.h.in >sqlite3.h > gcc -g -O2 -o lemon ../sqlite-3.3.13/tool/lemon.c > cp ../sqlite-3.3.13/tool/lempar.c . > cp ../sqlite-3.3.13/src/parse.y . > ./lemon -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL parse.y > mv parse.h parse.h.temp > awk -f ../sqlite-3.3.13/addopcodes.awk parse.h.temp >parse.h > cat parse.h ../sqlite-3.3.13/src/vdbe.c | > awk -f ../sqlite-3.3.13/mkopcodeh.awk >opcodes.h > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/alter.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/analyze.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/attach.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/auth.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/btree.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/build.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/callback.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/complete.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/date.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/delete.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/expr.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/func.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/hash.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/insert.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/loadext.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/main.c > sort -n -b -k 3 opcodes.h | awk -f ../sqlite-3.3.13/mkopcodec.awk >opcodes.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > opcodes.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/os.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/os_os2.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/os_unix.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/os_win.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/pager.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > parse.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src > -I/home/drh/tcltk/8.4linux -c ../sqlite-3.3.13/src/pragma.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src > -I/home/drh/tcltk/8.4linux -c ../sqlite-3.3.13/src/prepare.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src > -I/home/drh/tcltk/8.4linux -c ../sqlite-3.3.13/src/printf.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/random.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/select.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src -c > ../sqlite-3.3.13/src/table.c > sh4-pc-linux-uclibc-gcc -Os -DNDEBUG=1 -DHAVE_FDATASYNC=1 -DNOTCL > -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.3.13/src > -I/home/drh/tcltk/8.4linux -c ../sqlite-3.3.13/src/tclsqlite.c > ../sqlite-3.3.13/src/tclsqlite.c:20:17: tcl.h: není souborem ani adresářem > ../sqlite-3.3.13/src/tclsqlite.c:54: error: syntax error before "Tcl_Interp" > ../sqlite-3.3.13/src/tclsqlite.c:54: warning: no semicolon at end of struct > or > union > ../sqlite-3.3.13/src/tclsqlite.c:55: warning: data definition has no type or > storage class > ../sqlite-3.3.13/src/tclsqlite.c:59: error: syntax error before '}' token > ../sqlite-3.3.13/src/tclsqlite.c:67: error: syntax error before "Tcl_Interp" > ../sqlite-3.3.13/src/tclsqlite.c:67: warning: no semicolon at end of struct > or > union > ../sqlite-3.3.13/src/tclsqlite.c:69: error: conflicting types for 'pNext' > ../sqlite-3.3.13/src/tclsqlite.c:58: error: previous declaration of 'pNext' > was here > ../sqlite-3.3.13/src/tclsqlite.c:70: error: syntax error before '}' token > ../sqlite-3.3.13/src/tclsqlite.c:92: error: syntax error before "Tcl_Interp" > ../sqlite-3.3.13/src/tclsqlite.c:92: warning: no semicolon at end of struct > or > union > ../sqlite-3.3.13/src/tclsqlite.c:101: error: syntax error before '*' token > ../sqlite-3.3.13/src/tclsqlite.c:101: warning: data definition has no type or > storage class > ... > ... > ../sqlite-3.3.13/src/tclsqlite.c: At top level: > ../sqlite-3.3.13/src/tclsqlite.c:2143: error: syntax error before "int" > ../sqlite-3.3.13/src/tclsqlite.c:2143: error: syntax error before '*' token > ../sqlite-3.3.13/src/tclsqlite.c: In function `Sqlite_SafeInit': > ../sqlite-3.3.13/src/tclsqlite.c:2143: error: `TCL_OK' undeclared (first use > in this function) > ../sqlite-3.3.13/src/tclsqlite.c: At top level: > ../sqlite-3.3.13/src/tclsqlite.c:2144: error: syntax error before "int" > ../sqlite-3.3.13/src/tclsqlite.c:2144: error: syntax error before '*' token > ../sqlite-3.3.13/src/tclsqlite.c: In function `Tclsqlite_SafeInit': > ../sqlite-3.3.13/src/tclsqlite.c:2144: error: `TCL_OK' undeclared (first use > in this function) > make: *** [tclsqlite.o] Error 1 > [EMAIL PROTECTED] ~/src/sqlite-3.3.13 $ > ----------------------------------------------------------------------------- > To unsubscribe, send email to [EMAIL PROTECTED] > ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------