Skip Menu |

This queue is for tickets about the Net-LibIDN CPAN distribution.

Report information
The Basics
Id: 8191
Status: resolved
Priority: 0/
Queue: Net-LibIDN

People
Owner: Nobody in particular
Requestors: ews [...] market.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.07
Fixed in: (no value)



Subject: Problem building makefile when testing for libidn
Under suse 9.0, gcc-3.3.1-29, "perl Makefile.PL" fails with "undefined reference to `idna_to_ascii_8z'" although libidn is installed. The line in Makefile.PL system "cc $cflags $ldflags -o __test1 __test1.c"; works if reordered as system "cc $cflags -o __test1 __test1.c $ldflags";
On Sat Oct 30 18:23:44 2004, guest wrote: Show quoted text
> Under suse 9.0, gcc-3.3.1-29, "perl Makefile.PL" fails with > "undefined reference to `idna_to_ascii_8z'" although libidn is
installed. Show quoted text
> The line in Makefile.PL > > system "cc $cflags $ldflags -o __test1 __test1.c"; > > works if reordered as > > system "cc $cflags -o __test1 __test1.c $ldflags";
This looks like a gcc bug and would specifically violate the order of options suggested in the gcc man page. With gcc's 3.4 and 4.0 it seems to work, don't have a gcc 3.3 anywhere...