develooper Front page | perl.perl5.porters | Postings from July 2003

perl install problem

From:
jsingh
Date:
July 17, 2003 23:25
Subject:
perl install problem
Message ID:
003101c34cb8$97c9e3f0$2a0dee84@FDUJACK
Hi 

 I am building perl-5.6.1 on Solaris9 using gcc3.23 and having linking
issues. This is the specific error I am getting, could anyone please tell me
what I am doing wrong.

Thanks

# make

`sh  cflags libperl.a miniperlmain.o`  miniperlmain.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a perl.o`  perl.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a gv.o`  gv.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a toke.o`  toke.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a perly.o`  perly.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a op.o`  op.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a regcomp.o`  regcomp.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a dump.o`  dump.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a util.o`  util.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a mg.o`  mg.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a hv.o`  hv.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a av.o`  av.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a run.o`  run.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a pp_hot.o`  pp_hot.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a sv.o`  sv.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a pp.o`  pp.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a scope.o`  scope.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a pp_ctl.o`  pp_ctl.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a pp_sys.o`  pp_sys.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a doop.o`  doop.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a doio.o`  doio.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a regexec.o`  regexec.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a utf8.o`  utf8.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a taint.o`  taint.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a deb.o`  deb.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a universal.o`  universal.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a xsutils.o`  xsutils.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a globals.o`  globals.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a perlio.o`  perlio.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

`sh  cflags libperl.a perlapi.o`  perlapi.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

rm -f libperl.a

/usr/ccs/bin/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 utf8.o taint.o deb.o universal.o xsutils.o
globals.o perlio.o perlapi.o 

rm -f opmini.c

cp op.c opmini.c

`sh  cflags libperl.a opmini.o`  -DPERL_EXTERNAL_GLOB opmini.c

          CCCMD =  gcc -DPERL_CORE -c  -O 

rm -f opmini.c

gcc -L/usr/local/lib  -o miniperl \

    miniperlmain.o opmini.o libperl.a -lm 

Undefined                       first referenced

 symbol                             in file

socket                              libperl.a(pp_sys.o)

getpeername                         libperl.a(pp_sys.o)

accept                              libperl.a(pp_sys.o)

setnetent                           libperl.a(pp_sys.o)

send                                libperl.a(pp_sys.o)

bind                                libperl.a(pp_sys.o)

endnetent                           libperl.a(pp_sys.o)

setsockopt                          libperl.a(pp_sys.o)

getsockopt                          libperl.a(pp_sys.o)

none                                libperl.a(pp.o)

sendto                              libperl.a(pp_sys.o)

setservent                          libperl.a(pp_sys.o)

sethostent                          libperl.a(pp_sys.o)

shutdown                            libperl.a(pp_sys.o)

getsockname                         libperl.a(pp_sys.o)

endhostent                          libperl.a(pp_sys.o)

recvfrom                            libperl.a(pp_sys.o)

setprotoent                         libperl.a(pp_sys.o)

listen                              libperl.a(pp_sys.o)

connect                             libperl.a(pp_sys.o)

ld: fatal: Symbol referencing errors. No output written to miniperl

collect2: ld returned 1 exit status

make: *** [miniperl] Error 1

 

Jaskaran Singh

University Systems & Security

Fairleigh Dickinson University

Teaneck, NJ 07666

 




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About