(on sparc-solaris9): pbm: make on 5.8.4. Suggestions?

D

David Combs

I haven't a clue ("C" isn't "my language"), so I'll just
show the whole thing -- as it isn't all that long:


358 ==/big5/david3/from_netcom-dir2/sources-stuff/perl-5.8.4==>
358 ==/big5/david3/from_netcom-dir2/sources-stuff/perl-5.8.4==> make
`sh cflags "optimize='-O'" miniperlmain.o` miniperlmain.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perl.o` perl.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" gv.o` gv.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" toke.o` toke.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perly.o` perly.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" op.o` op.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pad.o` pad.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" regcomp.o` regcomp.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" dump.o` dump.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" util.o` util.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" mg.o` mg.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" reentr.o` reentr.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" hv.o` hv.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" av.o` av.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" run.o` run.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_hot.o` pp_hot.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" sv.o` sv.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp.o` pp.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" scope.o` scope.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_ctl.o` pp_ctl.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_sys.o` pp_sys.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" doop.o` doop.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" doio.o` doio.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" regexec.o` regexec.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" utf8.o` utf8.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" taint.o` taint.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" deb.o` deb.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" universal.o` universal.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" xsutils.o` xsutils.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" globals.o` globals.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perlio.o` perlio.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perlapi.o` perlapi.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" numeric.o` numeric.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" locale.o` locale.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_pack.o` pp_pack.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_sort.o` pp_sort.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
rm -f libperl.a
/usr/ccs/bin/ar rcu libperl.a 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
rm -f opmini.c
cp op.c opmini.c
`sh cflags "optimize='-O'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
rm -f opmini.c
gcc -o miniperl \
miniperlmain.o opmini.o libperl.a
Undefined first referenced
symbol in file
cos libperl.a(pp.o)
exp libperl.a(pp.o)
log libperl.a(pp.o)
pow libperl.a(pp.o)
sin libperl.a(pp.o)
bind libperl.a(pp_sys.o)
ceil libperl.a(pp.o)
fmod libperl.a(pp.o)
send libperl.a(pp_sys.o)
sqrt libperl.a(pp.o)
atan2 libperl.a(pp.o)
floor libperl.a(pp.o)
getservbyname libperl.a(pp_sys.o)
getservbyport libperl.a(pp_sys.o)
socketpair libperl.a(util.o)
getsockname libperl.a(pp_sys.o)
accept libperl.a(pp_sys.o)
listen libperl.a(pp_sys.o)
sendto libperl.a(pp_sys.o)
socket libperl.a(pp_sys.o)
endprotoent libperl.a(pp_sys.o)
getprotoent libperl.a(pp_sys.o)
setprotoent libperl.a(pp_sys.o)
getprotobyname libperl.a(pp_sys.o)
getprotobynumber libperl.a(pp_sys.o)
setservent libperl.a(pp_sys.o)
endservent libperl.a(pp_sys.o)
getservent libperl.a(pp_sys.o)
setsockopt libperl.a(pp_sys.o)
getsockopt libperl.a(pp_sys.o)
connect libperl.a(pp_sys.o)
getnetent libperl.a(pp_sys.o)
endnetent libperl.a(pp_sys.o)
setnetent libperl.a(pp_sys.o)
getpeername libperl.a(pp_sys.o)
recvfrom libperl.a(pp_sys.o)
getnetbyaddr libperl.a(pp_sys.o)
getnetbyname libperl.a(pp_sys.o)
h_errno libperl.a(pp_sys.o)
shutdown 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
120.0 sys= 8.0 95% || mem=0 in=0
359 ==/big5/david3/from_netcom-dir2/sources-stuff/perl-5.8.4==>


Any ideas?

THANKS!

David
 
N

noident

gcc -o miniperl \
miniperlmain.o opmini.o libperl.a

Your linker on Solaris will need -lmath -lsocket -lnsl
maybe others. These should have been automatically detected by the
configure script (if there is one), and added to the Makefile.
Running ./configure --help might help.
 
B

Ben Morrow

Quoth (e-mail address removed) (noident):
Your linker on Solaris will need -lmath -lsocket -lnsl
maybe others. These should have been automatically detected by the
configure script (if there is one), and added to the Makefile.
Running ./configure --help might help.

../Configure --help

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top