D
David Bear
I am using Suse Linux 9.3. Perl 5.8.6 is the version of perl installed.
However, I have some perl code that a vender gave me that they insist only
works with perl 5.8.8. So i went to install a separate instance of perl. I
changed the prefix to be /work/servers/webenv and ran make. Make bombed
with the error:
`sh cflags "optimize='-O2'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall
cc -L/usr/local/lib -o miniperl \
miniperlmain.o opmini.o libperl.a
libperl.a(pp.o)(.text+0x9033): In function `Perl_pp_int':
pp.c: undefined reference to `floor'
libperl.a(pp.o)(.text+0x9049)p.c: undefined reference to `ceil'
libperl.a(pp.o)(.text+0x91ea): In function `Perl_pp_sqrt':
pp.c: undefined reference to `sqrt'
libperl.a(pp.o)(.text+0x929b): In function `Perl_pp_log':
pp.c: undefined reference to `log'
libperl.a(pp.o)(.text+0x93d9): In function `Perl_pp_exp':
pp.c: undefined reference to `exp'
libperl.a(pp.o)(.text+0x9439)p.c: undefined reference to `exp'
libperl.a(pp.o)(.text+0x9799): In function `Perl_pp_cos':
pp.c: undefined reference to `cos'
libperl.a(pp.o)(.text+0x97f9)p.c: undefined reference to `cos'
libperl.a(pp.o)(.text+0x98f9): In function `Perl_pp_sin':
pp.c: undefined reference to `sin'
libperl.a(pp.o)(.text+0x9959)p.c: undefined reference to `sin'
libperl.a(pp.o)(.text+0x9b03): In function `Perl_pp_atan2':
pp.c: undefined reference to `atan2'
libperl.a(pp.o)(.text+0xbc60): In function `Perl_pp_modulo':
pp.c: undefined reference to `floor'
libperl.a(pp.o)(.text+0xbc94)p.c: undefined reference to `floor'
libperl.a(pp.o)(.text+0xbd42)p.c: undefined reference to `fmod'
libperl.a(pp.o)(.text+0xc2fc): In function `Perl_pp_pow':
pp.c: undefined reference to `pow'
libperl.a(pp_pack.o)(.text+0x207b): In function `S_pack_rec':
pp_pack.c: undefined reference to `floor'
libperl.a(pp_pack.o)(.text+0x20a6)p_pack.c: undefined reference to `floor'
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1
googling for this yeilds about 65000 hits, so I am hoping someone here might
have seen this and can tell me what might be the issue.
Any pointers? (I mean advice)
However, I have some perl code that a vender gave me that they insist only
works with perl 5.8.8. So i went to install a separate instance of perl. I
changed the prefix to be /work/servers/webenv and ran make. Make bombed
with the error:
`sh cflags "optimize='-O2'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall
cc -L/usr/local/lib -o miniperl \
miniperlmain.o opmini.o libperl.a
libperl.a(pp.o)(.text+0x9033): In function `Perl_pp_int':
pp.c: undefined reference to `floor'
libperl.a(pp.o)(.text+0x9049)p.c: undefined reference to `ceil'
libperl.a(pp.o)(.text+0x91ea): In function `Perl_pp_sqrt':
pp.c: undefined reference to `sqrt'
libperl.a(pp.o)(.text+0x929b): In function `Perl_pp_log':
pp.c: undefined reference to `log'
libperl.a(pp.o)(.text+0x93d9): In function `Perl_pp_exp':
pp.c: undefined reference to `exp'
libperl.a(pp.o)(.text+0x9439)p.c: undefined reference to `exp'
libperl.a(pp.o)(.text+0x9799): In function `Perl_pp_cos':
pp.c: undefined reference to `cos'
libperl.a(pp.o)(.text+0x97f9)p.c: undefined reference to `cos'
libperl.a(pp.o)(.text+0x98f9): In function `Perl_pp_sin':
pp.c: undefined reference to `sin'
libperl.a(pp.o)(.text+0x9959)p.c: undefined reference to `sin'
libperl.a(pp.o)(.text+0x9b03): In function `Perl_pp_atan2':
pp.c: undefined reference to `atan2'
libperl.a(pp.o)(.text+0xbc60): In function `Perl_pp_modulo':
pp.c: undefined reference to `floor'
libperl.a(pp.o)(.text+0xbc94)p.c: undefined reference to `floor'
libperl.a(pp.o)(.text+0xbd42)p.c: undefined reference to `fmod'
libperl.a(pp.o)(.text+0xc2fc): In function `Perl_pp_pow':
pp.c: undefined reference to `pow'
libperl.a(pp_pack.o)(.text+0x207b): In function `S_pack_rec':
pp_pack.c: undefined reference to `floor'
libperl.a(pp_pack.o)(.text+0x20a6)p_pack.c: undefined reference to `floor'
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1
googling for this yeilds about 65000 hits, so I am hoping someone here might
have seen this and can tell me what might be the issue.
Any pointers? (I mean advice)