public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 64bit cygwin: undefined reference to `cygwin_conv_to_full_win32_path'
@ 2015-02-09 19:16 Dr. Volker Zell
  2015-02-09 20:04 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Dr. Volker Zell @ 2015-02-09 19:16 UTC (permalink / raw)
  To: Cygwin List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 64bit cygwin: undefined reference to `cygwin_conv_to_full_win32_path'
  2015-02-09 19:16 64bit cygwin: undefined reference to `cygwin_conv_to_full_win32_path' Dr. Volker Zell
@ 2015-02-09 20:04 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2015-02-09 20:04 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2790 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-09 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-09 19:16 64bit cygwin: undefined reference to `cygwin_conv_to_full_win32_path' Dr. Volker Zell
2015-02-09 20:04 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).