Opened 13 years ago

Closed 9 years ago

#32554 closed defect (wontfix)

perl5.12: pp.c:(.text+0x2f3a): undefined reference to `pow'

Reported by: rudloff@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: linux Cc: ghosthound, mojca (Mojca Miklavec)
Port: perl5.12

Description

I cannot build perl5.12 on Ubuntu:

/usr/bin/cc -L/opt/local/lib -fstack-protector -o miniperl \
	      gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.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 globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o   \
	    miniperlmain.o opmini.o perlmini.o -lgdbm 
pp.o: In function `Perl_pp_pow':
pp.c:(.text+0x2f3a): undefined reference to `pow'
pp.o: In function `Perl_pp_modulo':
pp.c:(.text+0x3a50): undefined reference to `floor'
pp.c:(.text+0x3a77): undefined reference to `floor'
pp.c:(.text+0x3dbe): undefined reference to `fmod'
pp.o: In function `Perl_pp_atan2':
pp.c:(.text+0x88f0): undefined reference to `atan2'
pp.o: In function `Perl_pp_sin':
pp.c:(.text+0x8a64): undefined reference to `sin'
pp.o: In function `Perl_pp_int':
pp.c:(.text+0x8e34): undefined reference to `floor'
pp.c:(.text+0x8f4c): undefined reference to `ceil'
pp.o:(.rodata+0x1c4): undefined reference to `cos'
pp.o:(.rodata+0x1c8): undefined reference to `sin'
pp.o:(.rodata+0x1cc): undefined reference to `sin'
pp.o:(.rodata+0x1d0): undefined reference to `exp'
pp.o:(.rodata+0x1d4): undefined reference to `log'
pp.o:(.rodata+0x1d8): undefined reference to `sqrt'
pp_sys.o: In function `S_gmtime64_r.isra.3':
pp_sys.c:(.text+0x1ca): undefined reference to `ceil'
pp_sys.c:(.text+0x223): undefined reference to `ceil'
pp_sys.c:(.text+0x27c): undefined reference to `ceil'
pp_sys.c:(.text+0x34e): undefined reference to `floor'
pp_sys.c:(.text+0x530): undefined reference to `ceil'
pp_sys.c:(.text+0x699): undefined reference to `floor'
pp_sys.c:(.text+0x6f1): undefined reference to `floor'
pp_sys.c:(.text+0x701): undefined reference to `floor'
pp_sys.c:(.text+0x789): undefined reference to `fmod'
pp_sys.c:(.text+0x7c2): undefined reference to `fmod'
pp_sys.c:(.text+0x7f9): undefined reference to `fmod'
pp_sys.c:(.text+0x826): undefined reference to `fmod'
pp_sys.o: In function `Perl_pp_gmtime':
pp_sys.c:(.text+0xd110): undefined reference to `floor'
pp_pack.o: In function `S_pack_rec':
pp_pack.c:(.text+0x327a): undefined reference to `floor'
pp_pack.c:(.text+0x329e): undefined reference to `floor'
pp_pack.c:(.text+0x32b8): undefined reference to `floor'
collect2: ld returned 1 exit status

Attachments (1)

main.log (78.3 KB) - added by rudloff@… 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by rudloff@…

Attachment: main.log added

comment:1 Changed 9 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added
Resolution: wontfix
Status: newclosed
Version: 2.0.3

Upstream no longer maintains perl5.12 and MacPorts no longer ships it. Not that MacPorts really support Linux, but if you would still like to compile perl5.22 from MacPorts on Linux, at least open a new ticket as this log is certainly no longer relevant after so many years.

Note: See TracTickets for help on using tickets.