Dne pondělí 26 únor 2007 12:25 Gunnar Roth napsal(a): > Jakub Ladman schrieb: > >> 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 Yes, i am idiot!!!!!!
but after correction of this i get: libsqlite3.a -lpthread libsqlite3.a(os_unix.o): In function `sqlite3UnixDlopen': os_unix.c:(.text+0x848): undefined reference to `dlopen' libsqlite3.a(os_unix.o): In function `sqlite3UnixDlsym': os_unix.c:(.text+0x85c): undefined reference to `dlsym' libsqlite3.a(os_unix.o): In function `sqlite3UnixDlclose': os_unix.c:(.text+0x870): undefined reference to `dlclose' collect2: ld returned 1 exit status make: *** [sqlite3] Error 1 [EMAIL PROTECTED] ~/src/sqlite-3.3.13 $ > >> > >> > >> > >> Dan. > >> > > :-( > > > > This i get when i use makefile which is attached to this mail. > > > > 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 > > NOTCL != NO_TCL > > you see? > > regards, > gunnar > > > --------------------------------------------------------------------------- >-- To unsubscribe, send email to [EMAIL PROTECTED] > --------------------------------------------------------------------------- >-- ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------