X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=bfW3uRejwfNxmiuyQSAVKWID1rN6c+3Pvf5NTFPzowJrIIkM6BObA a19iHO++65Sh51DeyudCk5FurZct0uF/8oclTvjZkyhIoAW/RXjvoi7qjnWYC50N QdNJ4u4vtjLWIyNjgcOTu3X1iwtlBEJ3x9BgpphbGM4mah0yECFrFg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=fNVfbCX5lkI/zG0h0BcMjt0i5Rk=; b=XG3gffM35URdt0tkFMfxhgYI10Jf T74sn1q3U5ICMfn2pUmToYmMvikZ+hBkzKumsRm77lFDTygzxdeczZBQgtmeYLpm YXCEg9ZN5CIrGnA4Py7WIq4/v6M9E5qVIKFzZ6DbWaFCin0kWAk8d92YYJfe3cmr 1wlQMM1GRu1+nQo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 9 Feb 2015 21:04:42 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 64bit cygwin: undefined reference to `cygwin_conv_to_full_win32_path' Message-ID: <20150209200442.GA2878@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <87twyu6gl2 DOT fsf AT leila DOT volkerzell DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <87twyu6gl2.fsf@leila.volkerzell.de> User-Agent: Mutt/1.5.23 (2014-03-12) --ibTvN161/egqYuK8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Volker, On Feb 9 20:16, Dr. Volker Zell wrote: > Hi Yaakov >=20 > 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: >=20 > 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 -Wimp= licit-function-declaration -fdebug-prefix-map=3D/cygdrive/d/misc/src/releas= e64/db-5.3.21-1.x86_64/build=3D/usr/src/debug/db-5.3.21-1 -fdebug-prefix-ma= p=3D/cygdrive/d/misc/src/release64/db-5.3.21-1.x86_64/src/db-5.3.21=3D/usr/= src/debug/db-5.3.21-1 -I. -I./sql -I/cygdrive/d/misc/src/release64/db-5.3.2= 1-1.x86_64/src/db-5.3.21/lang/sql/generated -D_HAVE_SQLITE_CONFIG_H -DSQLIT= E_HAS_CODEC=3D1 /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=3Dlink gcc -avoid-version -no-undefined -ggdb -O2 -pipe = -Wimplicit-function-declaration -fdebug-prefix-map=3D/cygdrive/d/misc/src/r= elease64/db-5.3.21-1.x86_64/build=3D/usr/src/debug/db-5.3.21-1 -fdebug-pref= ix-map=3D/cygdrive/d/misc/src/release64/db-5.3.21-1.x86_64/src/db-5.3.21=3D= /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 -lp= thread -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+0x43= 4b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `c= ygwin_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+0x18= 313): 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 --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --ibTvN161/egqYuK8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU2RLaAAoJEPU2Bp2uRE+guLwP/iitiSwuJLxOLpD8mSaN81/N 7/SD4E8cGv9yiClGWdw67gIYUdENUzHPN2fdwX+aOgOuGtu/w4UUjQNGYLvrJkYy k5ZTLCuqAIPI1FCj3y6SWOlmjr6YsZGA23GWMDaRLDkdvqUV1oC/LzuTzo/oy0HT IKfe/3mPeAs04hC85RiNSK2VIhJ+XXB2UW6wh4y7sY37pFL888c0+vJhhVIYxGKT dVDV+JPF9pMiOvctjt4ES4w3SRkgyKmnz0qbmfObXeC7NycCytMOkTldmaR1oO54 YuLd3GxvIDTPy2rKsEYTVhCyQApQBLg3O019JG5xYD/Imo+kgJYQDmynp8j3qX8F tYMWD+KEhgNuRVkCLbhQ9bO6FtI834RiEcbRg00DLvd/gt53BuVnRCE9zceLP2ok W72EhNeVFdj+UovHNlEsqyW8Pjl+IUs7vNrfwUTPuDzQkTYSnEEvs3CTEvOemW/q mZtI95N92F7aqOZacYM8fZVAuXzZ2E4yLSrPNk69cdrLfLgvXHSQ2v2DhahfXNUn nxh683ApvdGVD/6nMdOi+f4mKy91jvSna+eMergy85SQzLz7/klo0c31MLxqb/5L RzPEVtRjZ4lZ6uG26I7K7kb11BSvYgLdSIg8F9LvzPp/iZaoFcanNsJh2lnpWLwk dqoEVQNQznyqFNlop5di =bHvN -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--