Subject: perl58 fail on Solaris
To: None <tech-pkg@netbsd.org>
From: Takahiro Kambe <taca@back-street.net>
List: tech-pkg
Date: 11/18/2004 18:33:18
Hi.
perl58 (perl 5.8.5) compile fail with error and PERL5_USE_THREADS
didn't affect this error. perl 5.8.4 has no problem.
...
gcc -o libperl.so -Wl,-R/usr/pkg/lib -L/usr/pkg/lib perl.o gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o -lm -ldl -lsocket -lnsl
Undefined first referenced
symbol in file
main /data/pkg/gcc3/bin/../lib/gcc-lib/sparc-sun-solaris2/3.3.4/crt1.o
ld: fatal: Symbol referencing errors. No output written to libperl.so
collect2: ld returned 1 exit status
*** Error code 1
--
Takahiro Kambe <taca@back-street.net>