Subject: Re: perl58 fail on Solaris
To: Takahiro Kambe <taca@back-street.net>
From: Gavan Fantom <gavan@coolfactor.org>
List: tech-pkg
Date: 11/18/2004 11:40:47
On Thu, 18 Nov 2004, Takahiro Kambe wrote:

> 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

I've seen the same problem. It built OK for me on SPARC though, but failed 
on x86. I'm pretty sure I had 5.8.5 on SPARC.

Which version of Solaris are you using?

-- 
Gillette - the best a man can forget