This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
undefined reference to signgam
- To: cygwin at sourceware dot cygnus dot com
- Subject: undefined reference to signgam
- From: Mike Seymour <seymour at ece dot ubc dot ca>
- Date: Thu, 2 Nov 2000 02:34:57 -0800 (PST)
Hi:
I am trying to make a version of PDL (pdl.perl.org) under cygwin 1.1.4
using gcc 2.95.2. I get the following error during the make:
LD_RUN_PATH="/usr/lib" ld2 -o ../../blib/arch/auto/PDL/Math/Math.dll
-L/usr/local/lib Math.o blas.o eigens.o ndtri.o quiet_nan.o simq.o svd.o
const.o mtherr.o polevl.o
/usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a -L/usr/lib -lm
dllwrap --dllname Math.dll --driver-name gcc --dlltool dlltool
--export-all-symbols --as as --output-def libMath.def --output-lib
libMath.a \
-L/usr/local/lib Math.o blas.o eigens.o ndtri.o quiet_nan.o simq.o svd.o
const.o mtherr.o polevl.o
/usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a -L/usr/lib -lm
dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
Math.o(.text+0xc467):Math.c: undefined reference to `signgam'
Math.o(.text+0xc68b):Math.c: undefined reference to `signgam'
Math.o(.text+0xc8fe):Math.c: undefined reference to `signgam'
Math.o(.text+0xcbb1):Math.c: undefined reference to `signgam'
Math.o(.text+0xce61):Math.c: undefined reference to `signgam'
Math.o(.text+0xd111):Math.c: more undefined references to `signgam' follow
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
perlld: *** system() failed to execute
dllwrap --dllname Math.dll --driver-name gcc --dlltool dlltool
--export-all-symbols --as as --output-def libMath.def --output-lib
libMath.a \
-L/usr/local/lib Math.o blas.o eigens.o ndtri.o quiet_nan.o simq.o svd.o
const.o mtherr.o polevl.o
/usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a -L/usr/lib -lm
It looks like int signgam is not specified in one of the other libraries.
Although I have found several reports of the same type of bug in various
discussion boards, I haven't been able to find the solution. Any ideas out
there ?
Thanks in advance.
mike
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com