Subject: Re: perl58 fail on Solaris
To: None <tech-pkg@NetBSD.org>
From: Ossi Herrala <oherrala@ee.oulu.fi>
List: tech-pkg
Date: 11/21/2004 14:35:09
On Sun, Nov 21, 2004 at 01:25:03AM +0200, Ossi Herrala wrote:

> With up to date sources it also fails on Solaris 9.
> 

Error message is:

gcc -o libperl.so -Wl,-R/opt/pkg/lib   -L/opt/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 -lpthread
Undefined                       first referenced
 symbol                             in file
main                                /opt/pkg/gcc3/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

The system is:

# uname -rsv
SunOS 5.9 Generic_117171-12

And gcc3-3.3.4 from pkgsrc.

Any ideas?


-- 
Ossi Herrala, OH8HUB
PGP: 0x78CD0337 / D343 F9C4 C739 DFFF F619  6170 8D28 8189 78CD 0337 

Hi! I am a .signature virus.  Copy me into your .signature to join in!