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 Message-ID: <779F20BCCE5AD31186A50008C75D9979171774@silldn_mail1.sanwaint.com> From: "Fifer, Eric" To: cygwin AT sources DOT redhat DOT com Subject: RE: __infinity defined twice in libcygwin.a and libm.a (Compiling perl) Date: Tue, 15 Aug 2000 10:51:50 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Michael Ring wrote: >I just tried to compile perl 5.6.0 (and finally succeeded) but on my >way I had to remove all references to libm.a from the makefiles of >perl because the linker complained that __infinity was defined both in >libm and libcygwin. libm.a should be a symlink to libcygwin.a. The -lm that Perl's Configure adds is somewhat of an historic artifact, however at least to date it has never caused any problems. Are you running Cygwin-1.1.4 (with the dll_entry.o fix)? binutils-20000722-1? gcc-2.95.2-2.tar.gz? Also, I have submitted 4 patches to perl5-porters since perl-5.6.0 was released (and they are in the latest perl-current tree): http://www.egroups.com/message/perl5-porters/67725 http://www.egroups.com/message/perl5-porters/69079 http://www.egroups.com/message/perl5-porters/69270 http://www.egroups.com/message/perl5-porters/71082 With what I described above, assuming you accept all the defaults to Configure (run as Configure -de) Perl builds cleanly on my machine (in spite of the unnecessary reference to -lm). Anyway, I have no idea why you are seeing linker errors. Hope this helps. Eric Fifer -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com