LFS 6.0 Cp 6: perl 5.8.5 make failes

Klaus Dimde klaus at dimde.info
Sat Feb 26 10:38:48 PST 2005


Hi again,

after a successful build till chapter 6.33 on an AMD64 machine, perl make 
failes with:
cc -L/usr/local/lib -o miniperl \
    miniperlmain.o opmini.o libperl.a
libperl.a(pp.o)(.text+0x2803): In function `Perl_pp_pow':
: undefined reference to `pow'
libperl.a(pp.o)(.text+0x357d): In function `Perl_pp_modulo':
: undefined reference to `floor'
[... some more undefined references to math functions...]
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1

I even tried to modify the patch for chapter 5 to point to /lib64 instead 
of /lib and symlinked /lib to /lib64. But still the same error. Any ideas? 

More infos:
Host-System: Suse 9.1
gcc, binutils were compiled with --without-multilib and --disable-multilib in 
difference to the book and I used /lib64 wherever the boot said /lib.

Need more infos?

Greetings

Klaus



More information about the lfs-support mailing list