On Mar 2 07:20, Jerry D. Hedden wrote: > Jerry D. Hedden wrote: > > Using cygwin-inst-20060301.tar.bz2 (dll, exes, libs, headers, etc) from > > the 2006-03-01 (23:10 GMT) snapshot, I'm still getting these errors when > > building Perl: > > > > /c/perl_tmp/perl-5.8.8/libperl.a(pp.o):pp.c:(.text+0x643b): undefined > > reference to `___isnand' > > /c/perl_tmp/perl-5.8.8/libperl.a(pp.o):pp.c:(.text+0x64f2): undefined > > reference to `___isnand' > > /c/perl_tmp/perl-5.8.8/libperl.a(pp.o):pp.c:(.text+0x6506): undefined > > reference to `___isnand' > > Corinna Vinschen replied: > > The libraries libcygwin.a and libm.a *do* contain the symbols ___isnand > > and __imp____isnand, though. > > I don't think this is correct. I checked and found isnan and isnanf in > both, but isnand is not in either. In fact, I check all the libs using: > > for file in /usr/lib/*.a; do strings $file | grep isnand; done > > And got no hits.
Well, I did this: $ nm libcygwin.a | grep isnan 00000000 T ___isnand 00000000 I __imp____isnand 00000000 T ___isnanf 00000000 I __imp____isnanf 00000000 I __imp___isnan 00000000 T __isnan 00000000 I __imp___isnanf 00000000 T __isnanf 00000000 I __imp__isnan 00000000 T _isnan 00000000 I __imp__isnanf 00000000 T _isnanf $ nm libm.a | grep isnan 00000000 T ___isnand 00000000 I __imp____isnand 00000000 T ___isnanf 00000000 I __imp____isnanf 00000000 I __imp__isnan 00000000 T _isnan 00000000 I __imp__isnanf 00000000 T _isnanf I don't see what would be wrong here. Do you have older libs from Cygwin in a path which might happen to be searched before the path with the real files? Did you try the --verbose optin to gcc? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/