-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT is not being passed in make to
your object compiles...

I'll try to duplicate this here.

-Shane

On Fri, Oct 17, 2008 at 5:40 PM, John Belli <[EMAIL PROTECTED]> wrote:
> OK, I should have all the required utils, and configure apparently
> worked properly, but make barfs (log below):
> MinGW-5.1.4
> MSYS-1.0.10
> ActiveTcl8.5.4.0.286921-win32-ix86-threaded (after install, linked
> bin/tclsh85.exe to tclsh.exe)
>
> Any idea?
>
>
> JAB
> --
> John A. Belli
> Software Engineer
> Refrigerated Transport Electronics, Inc.
> http://www.rtelectronics.com
>
>
> [EMAIL PROTECTED] ~/bld $ ../sqlite/configure --with-tcl=/c/Tcl/lib
> --enable-load-extension OPTS="-DSQLITE_ENABLE_IOTRACE
> -DSQLITE_THREADSAFE=1
>  -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3
> -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_RTREE -DSQLITE_
> DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT"
>
> checking build system type... i686-pc-mingw32
> checking host system type... i686-pc-mingw32
> checking for gcc... gcc
> checking for C compiler default output file name... a.exe
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... .exe
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for a sed that does not truncate output... /bin/sed
> checking for egrep... grep -E
> checking for fgrep... grep -F
> checking for ld used by gcc... c:/MinGW/mingw32/bin/ld.exe
> checking if the linker (c:/MinGW/mingw32/bin/ld.exe) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm
> checking the name lister (/mingw/bin/nm) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 8192
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... no
> checking for c:/MinGW/mingw32/bin/ld.exe option to reload object
> files... -r
> checking how to recognize dependent libraries... file_magic file
> format pei*-i386(.*architecture: i386)?
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /mingw/bin/nm output from gcc object... ok
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... no
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
> checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (c:/MinGW/mingw32/bin/ld.exe) supports
> shared libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking dynamic linker characteristics... Win32 ld.exe
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for a BSD-compatible install... /bin/install -c
> checking for gawk... gawk
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for _LARGE_FILES value needed for large files... no
> checking for int8_t... yes
> checking for int16_t... yes
> checking for int32_t... yes
> checking for int64_t... yes
> checking for intptr_t... yes
> checking for uint8_t... yes
> checking for uint16_t... yes
> checking for uint32_t... yes
> checking for uint64_t... yes
> checking for uintptr_t... yes
> checking for sys/types.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for stdint.h... (cached) yes
> checking for inttypes.h... (cached) yes
> checking for usleep... no
> checking for fdatasync... no
> checking for localtime_r... no
> checking for gmtime_r... no
> checking for localtime_s... no
> checking for tclsh8.4... no
> checking for tclsh... tclsh
> Version set to 3.6
> Release set to 3.6.4
> Version number set to 3006004
> checking whether to support threadsafe operation... yes
> checking for library containing pthread_create... no
> checking whether to allow connections to be shared across threads...
> no
> checking whether threads can override each others locks... no
> checking whether to support shared library linked as release mode or
> not... no
> checking whether to use an in-ram database for temporary tables... no
> checking if executables have the .exe suffix... unknown
> checking for Tcl configuration... found /c/Tcl/lib/tclConfig.sh
> checking for existence of /c/Tcl/lib/tclConfig.sh... loading
> checking for library containing tgetent... no
> checking for readline in -lreadline... no
> checking readline.h usability... no
> checking readline.h presence... no
> checking for readline.h... no
> checking for /usr/include/readline.h... no
> checking for /usr/include/readline/readline.h... no
> checking for /usr/local/include/readline.h... no
> checking for /usr/local/include/readline/readline.h... no
> checking for /usr/local/readline/include/readline.h... no
> checking for /usr/local/readline/include/readline/readline.h... no
> checking for /usr/contrib/include/readline.h... no
> checking for /usr/contrib/include/readline/readline.h... no
> checking for /mingw/include/readline.h... no
> checking for /mingw/include/readline/readline.h... no
> checking for library containing fdatasync... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating sqlite3.pc
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing libtool commands
>
> [EMAIL PROTECTED] ~/bld $ make OPTS="-DSQLITE_ENABLE_IOTRACE
> -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_COLUMN_METADATA
> -DSQLITE_ENABLE_FTS3 -DSQLIT
> E_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_RTREE
> -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT"
> sed -e s/--VERS--/3.6.4/ ../sqlite/src/sqlite.h.in | \
> sed -e s/--VERSION-NUMBER--/3006004/ >sqlite3.h
> gcc  -g -O2 -o mkkeywordhash.exe -DSQLITE_ENABLE_IOTRACE
> -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_COLUMN_METADATA
> -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_MEMORY_MANAGEMENT
> -DSQLITE_ENABLE_RTREE -DSQLITE_DEFAULT_FILE_FORMAT=4
> -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT  ../sqlite/tool/mkkeywordhash.c
> ./mkkeywordhash.exe >keywordhash.h
> gcc  -g -O2 -o lemon.exe ../sqlite/tool/lemon.c
> cp ../sqlite/tool/lempar.c .
> cp ../sqlite/src/parse.y .
> ./lemon.exe -DSQLITE_ENABLE_IOTRACE -DSQLITE_THREADSAFE=1
> -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3
> -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_RTREE
> -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
> parse.y
> mv parse.h parse.h.temp
> gawk -f ../sqlite/addopcodes.awk parse.h.temp >parse.h
> cat parse.h ../sqlite/src/vdbe.c | gawk -f ../sqlite/mkopcodeh.awk
>>opcodes.h
> sort -n -b -k 3 opcodes.h | gawk -f ../sqlite/mkopcodec.awk >opcodes.c
> rm -rf tsrc
> mkdir -p tsrc
> cp ../sqlite/src/alter.c ../sqlite/src/analyze.c
> ../sqlite/src/attach.c ../sqlite/src/auth.c ../sqlite/src/bitvec.c
> ../sqlite/src/btmutex.c ../sqlite/src/btree.c ../sqlite/src/btree.h
> ../sqlite/src/btreeInt.h ../sqlite/src/build.c
> ../sqlite/src/callback.c ../sqlite/src/complete.c ../sqlite/src/date.c
> ../sqlite/src/delete.c ../sqlite/src/expr.c ../sqlite/src/fault.c
> ../sqlite/src/func.c ../sqlite/src/global.c ../sqlite/src/hash.c
> ../sqlite/src/hash.h ../sqlite/src/hwtime.h ../sqlite/src/insert.c
> ../sqlite/src/journal.c ../sqlite/src/legacy.c ../sqlite/src/loadext.c
> ../sqlite/src/main.c ../sqlite/src/malloc.c ../sqlite/src/mem1.c
> ../sqlite/src/mem2.c ../sqlite/src/mem3.c ../sqlite/src/mem4.c
> ../sqlite/src/mem5.c ../sqlite/src/mem6.c ../sqlite/src/mutex.c
> ../sqlite/src/mutex.h ../sqlite/src/mutex_noop.c
> ../sqlite/src/mutex_os2.c ../sqlite/src/mutex_unix.c
> ../sqlite/src/mutex_w32.c ../sqlite/src/os.c ../sqlite/src/os.h
> ../sqlite/src/os_common.h ../sqlite/src/os_unix.c
> ../sqlite/src/os_win.c ../sqlite/src/os_os2.c ../sqlite/src/pager.c
> ../sqlite/src/pager.h ../sqlite/src/parse.y ../sqlite/src/pcache.c
> ../sqlite/src/pcache.h ../sqlite/src/pragma.c ../sqlite/src/prepare.c
> ../sqlite/src/printf.c ../sqlite/src/random.c ../sqlite/src/resolve.c
> ../sqlite/src/select.c ../sqlite/src/status.c ../sqlite/src/shell.c
> ../sqlite/src/sqlite.h.in ../sqlite/src/sqlite3ext.h
> ../sqlite/src/sqliteInt.h ../sqlite/src/sqliteLimit.h
> ../sqlite/src/table.c ../sqlite/src/tclsqlite.c
> ../sqlite/src/tokenize.c ../sqlite/src/trigger.c ../sqlite/src/utf.c
> ../sqlite/src/update.c ../sqlite/src/util.c ../sqlite/src/vacuum.c
> ../sqlite/src/vdbe.c ../sqlite/src/vdbe.h ../sqlite/src/vdbeapi.c
> ../sqlite/src/vdbeaux.c ../sqlite/src/vdbeblob.c
> ../sqlite/src/vdbefifo.c ../sqlite/src/vdbemem.c
> ../sqlite/src/vdbeInt.h ../sqlite/src/vtab.c ../sqlite/src/walker.c
> ../sqlite/src/where.c keywordhash.h opcodes.c opcodes.h parse.c
> parse.h config.h sqlite3.h ../sqlite/ext/fts1/fts1.c
> ../sqlite/ext/fts1/fts1.h ../sqlite/ext/fts1/fts1_hash.c
> ../sqlite/ext/fts1/fts1_hash.h ../sqlite/ext/fts1/fts1_porter.c
> ../sqlite/ext/fts1/fts1_tokenizer.h
> ../sqlite/ext/fts1/fts1_tokenizer1.c ../sqlite/ext/fts2/fts2.c
> ../sqlite/ext/fts2/fts2.h ../sqlite/ext/fts2/fts2_hash.c
> ../sqlite/ext/fts2/fts2_hash.h ../sqlite/ext/fts2/fts2_icu.c
> ../sqlite/ext/fts2/fts2_porter.c ../sqlite/ext/fts2/fts2_tokenizer.h
> ../sqlite/ext/fts2/fts2_tokenizer.c
> ../sqlite/ext/fts2/fts2_tokenizer1.c ../sqlite/ext/fts3/fts3.c
> ../sqlite/ext/fts3/fts3.h ../sqlite/ext/fts3/fts3_hash.c
> ../sqlite/ext/fts3/fts3_hash.h ../sqlite/ext/fts3/fts3_icu.c
> ../sqlite/ext/fts3/fts3_porter.c ../sqlite/ext/fts3/fts3_tokenizer.h
> ../sqlite/ext/fts3/fts3_tokenizer.c
> ../sqlite/ext/fts3/fts3_tokenizer1.c ../sqlite/ext/icu/sqliteicu.h
> ../sqlite/ext/icu/icu.c ../sqlite/ext/rtree/rtree.h
> ../sqlite/ext/rtree/rtree.c tsrc
> rm tsrc/sqlite.h.in tsrc/parse.y
> touch .target_source
> tclsh ../sqlite/tool/mksqlite3c.tcl
> ./libtool --mode=compile --tag=CC gcc   -g -O2 -DSQLITE_OS_WIN=1 -I.
> -I../sqlite/src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG  -IC:/Tcl/include
> -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1   -c sqlite3.c
> libtool: compile:  gcc -g -O2 -DSQLITE_OS_WIN=1 -I. -I../sqlite/src
> -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -IC:/Tcl/include
> -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -c sqlite3.c
> -DDLL_EXPORT -DPIC -o .libs/sqlite3.o
> sqlite3.c: In function `yy_reduce':
> sqlite3.c:81238: warning: assignment makes pointer from integer
> without a cast
> sqlite3.c:81246: warning: assignment makes pointer from integer
> without a cast
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s: Assembler messages:
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:4588: Warning: .stabs:
> description field '100f0' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:4590: Warning: .stabs:
> description field '10424' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:4595: Warning: .stabs:
> description field '11d53' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:4596: Warning: .stabs:
> description field '12897' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:4597: Warning: .stabs:
> description field '12898' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:4598: Warning: .stabs:
> description field '128bb' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:4606: Warning: .stabs:
> description field '1344f' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:4608: Warning: .stabs:
> description field '136e8' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:4610: Warning: .stabs:
> description field '136fa' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:4611: Warning: .stabs:
> description field '14c5c' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:14563: Warning: .stabs:
> description field '14520' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:14564: Warning: .stabs:
> description field '14520' too big, try a different debug format
> C:/DOCUME~1/johnb/LOCALS~1/Temp/ccZboVjo.s:14568: Warning: .stabn:
> description field '14520' too big, try a different debug format
>  ... continues for 11,993 more lines
> libtool: compile:  gcc -g -O2 -DSQLITE_OS_WIN=1 -I. -I../sqlite/src
> -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -IC:/Tcl/include
> -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -c sqlite3.c -o
> sqlite3.o >/dev/null 2>&1
> ./libtool --mode=link gcc   -g -O2 -DSQLITE_OS_WIN=1 -I.
> -I../sqlite/src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG  -IC:/Tcl/include
> -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1     -o
> libsqlite3.la sqlite3.lo  \
>  -rpath "/usr/local/lib" -version-info "8:6:8"
> libtool: link: warning: undefined symbols not allowed in Sphinx shared
> libraries
> libtool: link: ar cru .libs/libsqlite3.a  sqlite3.o
> libtool: link: ranlib .libs/libsqlite3.a
> libtool: link: ( cd ".libs" && rm -f "libsqlite3.la" && ln -s
> "../libsqlite3.la" "libsqlite3.la" )
> ./libtool --mode=link gcc   -g -O2 -DSQLITE_OS_WIN=1 -I.
> -I../sqlite/src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG  -IC:/Tcl/include
> -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1
> -DHAVE_READLINE=0  \
> -o sqlite3.exe ../sqlite/src/shell.c libsqlite3.la \
>  -rpath "/usr/local/lib"
> libtool: link: gcc -g -O2 -DSQLITE_OS_WIN=1 -I. -I../sqlite/src
> -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -IC:/Tcl/include
> -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1
> -DHAVE_READLINE=0 -o sqlite3.exe ../sqlite/src/shell.c
> ./.libs/libsqlite3.a -L/usr/local/lib
> ./.libs/libsqlite3.a(sqlite3.o): In function `sqlite3Parser':
> c:/msys/1.0/home/johnb/bld/sqlite3.c:15710: undefined reference to
> `sqlite3LimitWhere'
> c:/msys/1.0/home/johnb/bld/sqlite3.c:15702: undefined reference to
> `sqlite3LimitWhere'
> collect2: ld returned 1 exit status
> make: *** [sqlite3.exe] Error 1
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to