The answer was very simple, I was missing the math library. Just specify
-lm
on the gcc line.
Thanks to all that responded ...
----- Begin Included Message -----
Hi there,
I'm trying to compile Perl 5.00 on a sparc 5 running solaris 2.4, but I'm getting a referencing problem
from ld when the final make is run. I'm no great shakes with compiling, so sorry if this is an easy one !
gcc -o miniperl miniperlmain.o libperl.a
Undefined first referenced
symbol in file
log libperl.a(pp.o)
pow libperl.a(pp.o)
sqrt libperl.a(pp.o)
atan2 libperl.a(pp.o)
exp libperl.a(pp.o)
sin libperl.a(pp.o)
cos libperl.a(pp.o)
ld: fatal: Symbol referencing errors. No output written to miniperl
----- End Included Message -----
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:27 CDT