develooper Front page | perl.perl5.porters | Postings from March 2001

[ID 20010307.002] perl linking problem

Thread Next
March 7, 2001 12:08
[ID 20010307.002] perl linking problem
Message ID:
Dear Sir,

I am building perl5.6 version in my unix "SunOS 5.7 Generic_106541-11
sun4u sparc SUNW,Ultra-5_10" and it fails in linking process as shown

rm -f libperl.a
/usr/local/bin/ar rcu libperl.a perl.o malloc.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 utf8.o taint.o deb.o
universal.o xsutils.o globals.o perlio.o perlapi.o
cc  -L/nsm/pine/lib -L/usr/local/lib
-L/nsm/pine/thirdparty/CC5.0/SUNWspro/SC5.0/lib -o miniperl \
    miniperlmain.o opmini.o libperl.a -lsocket -lnsl -ldl -lm -lc
-lcrypt -lsec /lib/libcrypt.a
ld: warning: file libperl.a ignored: unable to locate archive symbol
Undefined                       first referenced
 symbol                             in file
PL_in_eval                          opmini.o
PL_Xpv                              opmini.o
PL_savestack                        opmini.o
PL_debstash                         opmini.o
PL_markstack_max                    opmini.o
PL_sub_generation                   opmini.o
Perl_newAV                          opmini.o
Perl_av_fill                        opmini.o
PL_perl_destruct_level              miniperlmain.o

ld: fatal: Symbol referencing errors. No output written to miniperl
*** Error code 1
make: Fatal error: Command failed for target `miniperl'

Looks like the problem probably is in libperl.a. But don't know why. By
the way, I am using default installation.

Thanks a lot for the possible helps from you!


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About