64bit cygwin: undefined reference to `cygwin_conv_to_full_win32_path'
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Feb 9 20:04:00 GMT 2015
Hi Volker,
On Feb 9 20:16, Dr. Volker Zell wrote:
> 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
The old conversion functions, which only handle paths up to 260 chars,
are already deprecated for years, starting with the first Cygwin 1.7
release. They were never available on 64 bit Cygwin.
Please use the cygwin_conv_path and/or cygwin_create_path functions.
See https://cygwin.com/cygwin-api/cygwin-functions.html
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150209/3de2180f/attachment.sig>
More information about the Cygwin
mailing list