Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Originating-IP: [207.61.234.66] From: "Dominique Pasquier" To: Subject: Problem building (all) Perl Modules Date: Thu, 24 May 2001 12:34:16 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: X-OriginalArrivalTime: 24 May 2001 16:34:50.0119 (UTC) FILETIME=[73C55970:01C0E46F] I've checked the archive and found a lot of problem building DLL but that does not fix my issue. I've got some trouble with "ld2" everytime I try to build a Perl Module. I think it could be because of a incorrect configuration of Extutils::Liblist but I`m not fair enought with such compilation. Any advice welcome. Thanks to all. For that particular examples with Math::GMP: ~/.cpan/build/Math-GMP-1.07 # make gcc -c -Igmp -DPERL_USE_SAFE_PUTENV -DHAS_SBRK_PROTO -fno-strict-aliasing -D USEIMPORTLIB -O2 -DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" -I/usr/lib/perl5/5 .6.1/cygwin/CORE GMP.c Running Mkbootstrap for Math::GMP () chmod 644 GMP.bs rm -f blib/arch/auto/Math/GMP/GMP.dll LD_RUN_PATH="" ld2 -o blib/arch/auto/Math/GMP/GMP.dll -s -L/usr/local/lib GMP.o /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a dllwrap --dllname GMP.dll --driver-name gcc --dlltool dlltool --export-all-symbo ls --as as --output-def libGMP.def --output-lib libGMP.a \ -s -L/usr/local/lib GMP.o /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a dllwrap: no export definition file provided dllwrap: creating one, but that may not be what you want GMP.o(.text+0x2b5):GMP.c: undefined reference to `mpz_init_set_str' GMP.o(.text+0x3ed):GMP.c: undefined reference to `mpz_clear' GMP.o(.text+0x4f3):GMP.c: undefined reference to `mpz_sizeinbase' GMP.o(.text+0x510):GMP.c: undefined reference to `mpz_get_str' GMP.o(.text+0x6be):GMP.c: undefined reference to `mpz_sizeinbase' GMP.o(.text+0x6da):GMP.c: undefined reference to `mpz_get_str' GMP.o(.text+0x8a7):GMP.c: undefined reference to `mpz_sizeinbase' GMP.o(.text+0xa02):GMP.c: undefined reference to `mpz_get_ui' GMP.o(.text+0xb57):GMP.c: undefined reference to `mpz_add_ui' GMP.o(.text+0xc7e):GMP.c: undefined reference to `mpz_get_si' GMP.o(.text+0xde9):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0xdfa):GMP.c: undefined reference to `mpz_mul_2exp' GMP.o(.text+0xf69):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0xf7a):GMP.c: undefined reference to `mpz_fdiv_q_2exp' GMP.o(.text+0x11c1):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x11d3):GMP.c: undefined reference to `mpz_powm' GMP.o(.text+0x13b1):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x13c2):GMP.c: undefined reference to `mpz_fdiv_r' GMP.o(.text+0x1545):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x1556):GMP.c: undefined reference to `mpz_fdiv_r_2exp' GMP.o(.text+0x1715):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x1726):GMP.c: undefined reference to `mpz_add' GMP.o(.text+0x18b9):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x18ca):GMP.c: undefined reference to `mpz_sub' GMP.o(.text+0x1a59):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x1a6a):GMP.c: undefined reference to `mpz_mul' GMP.o(.text+0x1bf9):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x1c0a):GMP.c: undefined reference to `mpz_fdiv_q' GMP.o(.text+0x1db8):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x1dc1):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x1dd3):GMP.c: undefined reference to `mpz_tdiv_qr' GMP.o(.text+0x1f79):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x1f8a):GMP.c: undefined reference to `mpz_mod' GMP.o(.text+0x2139):GMP.c: undefined reference to `mpz_cmp' GMP.o(.text+0x22a1):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x22b2):GMP.c: undefined reference to `mpz_pow_ui' GMP.o(.text+0x2459):GMP.c: undefined reference to `mpz_init' GMP.o(.text+0x246a):GMP.c: undefined reference to `mpz_gcd' collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 perlld: *** system() failed to execute dllwrap --dllname GMP.dll --driver-name gcc --dlltool dlltool --export-all-symbo ls --as as --output-def libGMP.def --output-lib libGMP.a \ -s -L/usr/local/lib GMP.o /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a make: *** [blib/arch/auto/Math/GMP/GMP.dll] Error 1 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple