This is the mail archive of the
cygwin
mailing list for the Cygwin project.
64bit cygwin: undefined reference to `cygwin_conv_to_full_win32_path'
- From: vzell at volkerzell dot de (Dr. Volker Zell)
- To: Cygwin List <cygwin at cygwin dot com>
- Date: Mon, 09 Feb 2015 20:16:25 +0100
- Subject: 64bit cygwin: undefined reference to `cygwin_conv_to_full_win32_path'
- Authentication-results: sourceware.org; auth=none
Hi Yaakov
How did you manage to compile db-5.3.21-1 for cygwin64 ? When I retry
with your db-5.3.21-1-src.tar.bz2 I get:
libtool: compile: gcc -c -I. -I/cygdrive/d/misc/src/release64/db-5.3.21-1.x86_64/src/db-5.3.21/src -D_GNU_SOURCE -D_REENTRANT -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/cygdrive/d/misc/src/release64/db-5.3.21-1.x86_64/build=/usr/src/debug/db-5.3.21-1 -fdebug-prefix-map=/cygdrive/d/misc/src/release64/db-5.3.21-1.x86_64/src/db-5.3.21=/usr/src/debug/db-5.3.21-1 -I. -I./sql -I/cygdrive/d/misc/src/release64/db-5.3.21-1.x86_64/src/db-5.3.21/lang/sql/generated -D_HAVE_SQLITE_CONFIG_H -DSQLITE_HAS_CODEC=1 /cygdrive/d/misc/src/release64/db-5.3.21-1.x86_64/src/db-5.3.21/lang/sql/generated/sqlite3.c -o sqlite3.o >/dev/null 2>&1
./libtool --mode=link gcc -avoid-version -no-undefined -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/cygdrive/d/misc/src/release64/db-5.3.21-1.x86_64/build=/usr/src/debug/db-5.3.21-1 -fdebug-prefix-map=/cygdrive/d/misc/src/release64/db-5.3.21-1.x86_64/src/db-5.3.21=/usr/src/debug/db-5.3.21-1 -rpath /usr/lib -o libdb_sql-5.3.la sqlite3.lo libdb-5.3.la -lpthread
libtool: link: gcc -shared .libs/sqlite3.o ./.libs/libdb-5.3.dll.a -lpthread -ggdb -O2 -o .libs/cygdb_sql-5.3.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libdb_sql-5.3.dll.a
.libs/sqlite3.o: In function `winFullPathname':
/usr/src/debug/db-5.3.21-1/lang/sql/generated/sqlite3.c:33205: undefined reference to `cygwin_conv_to_full_win32_path'
/usr/src/debug/db-5.3.21-1/lang/sql/generated/sqlite3.c:33205:(.text+0x434b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `cygwin_conv_to_full_win32_path'
/usr/src/debug/db-5.3.21-1/lang/sql/generated/sqlite3.c:33205: undefined reference to `cygwin_conv_to_full_win32_path'
/usr/src/debug/db-5.3.21-1/lang/sql/generated/sqlite3.c:33205:(.text+0x18313): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `cygwin_conv_to_full_win32_path'
collect2: error: ld returned 1 exit status
Makefile:894: recipe for target 'libdb_sql-5.3.la' failed
make: *** [libdb_sql-5.3.la] Error 1
[1;31m*** ERROR:[0;0m make failed
Ciao
Volker
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple