Mailing List Archive

More problem compiling perl 5
Hi:
I am trying to compile perl 5 on my Sun Sparc 10 running
SunOS 4.1.3 and I got the following:

.
.
.
ar rcu libperl.a perl.o gv.o toke.o perly.o op.o regcomp.o dump.o util.o mg.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 taint.o deb.o globals.o
gcc -o miniperl miniperlmain.o libperl.a -lnsl -ldbm -ldl -lm -lc -lposix
collect2: ld returned 1 exit status
perl.o(.text+0xd70): undefined reference to `strerror'
perl.o(.text+0x305c): undefined reference to `strerror'
doio.o(.text+0xe4c): undefined reference to `strerror'
doio.o(.text+0xe8c): undefined reference to `strerror'
doio.o(.text+0xf00): undefined reference to `strerror'
doio.o(.text+0xff4): more undefined references to `strerror' follow
make: *** [miniperl] Error 1

Please advise on how to get perl to compile successfully.

Thanks,
Mona Wong