[Persistentperl-users] Build problem on Sharp Zaurus
Brought to you by:
samh
From: Tony G. <to...@be...> - 2005-08-04 16:49:44
|
Hi all, I'm trying to build Persistent Perl on my Sharp Zaurus handheld (very much = a=20 cut-down Linux) and I'm hitting a problem that I'm hoping someone here migh= t=20 be able to help me with. When I run perl Makefile.PL, I get the following warnings: Note (probably harmless): No library found for -lnsl Note (probably harmless): No library found for -ldl Note (probably harmless): No library found for -lm Note (probably harmless): No library found for -lc Note (probably harmless): No library found for -lcrypt Note (probably harmless): No library found for -lutil However, this evidently isn't harmless, as when I run "make", it fails with: =2D------------------------------------------------------------------------= =2D-------------- /mnt/card/.zgcc/bin/gcc -o perperl_backend perperl_backend_main.o=20 perperl_perl.o perperl_util.o perperl_sig.o perperl_frontend.o=20 perperl_backend.o perperl_file.o perperl_slot.o perperl_poll.o perperl_ipc.= o=20 perperl_group.o perperl_script.o perperl_opt.o perperl_optdefs.o xsinit.o = =20 =2Drdynamic /usr/mnt.rom/card/perl/perl5.8.0/lib/5.8.0/linux/auto/DynaLoad= er/DynaLoader.a=20 =2DL/mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux/CORE -lperl /usr/mnt.rom/card/perl/perl5.8.0/lib/5.8.0/linux/auto/DynaLoader/DynaLoader= =2Ea(DynaLoader.o):=20 In function `XS_DynaLoader_dl_load_file': DynaLoader.o(.text+0x16c): undefined reference to `dlopen' DynaLoader.o(.text+0x16c): relocation truncated to fit: R_ARM_PC24 dlopen DynaLoader.o(.text+0x188): undefined reference to `dlerror' DynaLoader.o(.text+0x188): relocation truncated to fit: R_ARM_PC24 dlerror /usr/mnt.rom/card/perl/perl5.8.0/lib/5.8.0/linux/auto/DynaLoader/DynaLoader= =2Ea(DynaLoader.o):=20 In function `XS_DynaLoader_dl_unload_file': DynaLoader.o(.text+0x280): undefined reference to `dlclose' DynaLoader.o(.text+0x280): relocation truncated to fit: R_ARM_PC24 dlclose DynaLoader.o(.text+0x298): undefined reference to `dlerror' DynaLoader.o(.text+0x298): relocation truncated to fit: R_ARM_PC24 dlerror /usr/mnt.rom/card/perl/perl5.8.0/lib/5.8.0/linux/auto/DynaLoader/DynaLoader= =2Ea(DynaLoader.o):=20 In function `XS_DynaLoader_dl_find_symbol': DynaLoader.o(.text+0x3b8): undefined reference to `dlsym' DynaLoader.o(.text+0x3b8): relocation truncated to fit: R_ARM_PC24 dlsym DynaLoader.o(.text+0x3d4): undefined reference to `dlerror' DynaLoader.o(.text+0x3d4): relocation truncated to fit: R_ARM_PC24 dlerror /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux/CORE/libperl.a(pp.o): In function= =20 `Perl_pp_pow': pp.o(.text+0x2374): undefined reference to `pow' pp.o(.text+0x2374): relocatiopp_pack.o(.text+0x594c): undefined reference t= o=20 `floor' pp_pack.o(.text+0x594c): relocation truncated to fit: R_ARM_PC24 floor pp_pack.o(.text+0x5974): undefined reference to `floor' pp_pack.o(.text+0x5974): relocation truncated to fit: R_ARM_PC24 floor collect2: ld returned 1 exit status make[1]: *** [perperl_backend] Error 1 make[1]: Leaving directory=20 `/usr/mnt.rom/card/.zaurus-documents/Install_Files/PersistentPerl-2.22/perp= erl_backend' make: *** [subdirs] Error 2 n truncated to fit: R_ARM_PC24 pow /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux/CORE/libperl.a(pp.o): In function= =20 `Perl_pp_modulo': pp.o(.text+0x2bc0): undefined reference to `floor' pp.o(.text+0x2bc0): relocation truncated to fit: R_ARM_PC24 floor pp.o(.text+0x2be4): undefined reference to `floor' pp.o(.text+0x2be4): relocation truncated to fit: R_ARM_PC24 floor pp.o(.text+0x2c1c): undefined reference to `fmod' pp.o(.text+0x2c1c): relocation truncated to fit: R_ARM_PC24 fmod /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux/CORE/libperl.a(pp.o): In function= =20 `Perl_pp_atan2': pp.o(.text+0x6f74): undefined reference to `atan2' pp.o(.text+0x6f74): relocation truncated to fit: R_ARM_PC24 atan2 /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux/CORE/libperl.a(pp.o): In function= =20 `Perl_pp_sin': pp.o(.text+0x70a4): undefined reference to `sin' pp.o(.text+0x70a4): relocation truncated to fit: R_ARM_PC24 sin /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux/CORE/libperl.a(pp.o): In function= =20 `Perl_pp_cos': pp.o(.text+0x7208): undefined reference to `cos' pp.o(.text+0x7208): relocation truncated to fit: R_ARM_PC24 cos /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux/CORE/libperl.a(pp.o): In function= =20 `Perl_pp_exp': pp.o(.text+0x7584): undefined reference to `exp' pp.o(.text+0x7584): relocation truncated to fit: R_ARM_PC24 exp /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux/CORE/libperl.a(pp.o): In function= =20 `Perl_pp_log': pp.o(.text+0x7720): undefined reference to `log' pp.o(.text+0x7720): relocation truncated to fit: R_ARM_PC24 log /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux/CORE/libperl.a(pp.o): In function= =20 `Perl_pp_sqrt': pp.o(.text+0x78c4): undefined reference to `sqrt' pp.o(.text+0x78c4): relocation truncated to fit: R_ARM_PC24 sqrt /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux/CORE/libperl.a(pp.o): In function= =20 `Perl_pp_crypt': pp.o(.text+0x9384): undefined reference to `crypt' pp.o(.text+0x9384): relocation truncated to fit: R_ARM_PC24 crypt /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux/CORE/libperl.a(pp_pack.o): In=20 function `Perl_pack_cat': pp_pack.o(.text+0x594c): undefined reference to `floor' pp_pack.o(.text+0x594c): relocation truncated to fit: R_ARM_PC24 floor pp_pack.o(.text+0x5974): undefined reference to `floor' pp_pack.o(.text+0x5974): relocation truncated to fit: R_ARM_PC24 floor collect2: ld returned 1 exit status make[1]: *** [perperl_backend] Error 1 make[1]: Leaving directory=20 `/usr/mnt.rom/card/.zaurus-documents/Install_Files/PersistentPerl-2.22/perp= erl_backend' make: *** [subdirs] Error 2 =2D------------------------------------------------------------------------= =2D-------------- The fact that it's ld that's complaining at the end makes me suspect that t= he=20 "probably harmless" diagnosis is possibly wrong and I may need to install=20 some more libraries in order to get this to build. Unfortunately, having=20 trawled through the sources, I've failed to pick out what should be=20 happening. If anybody can point me in the right direction, I'd appreciate it. Apart fr= om=20 the fact that Persistent Perl will make the personal project I'm working on= =20 more efficient on a slow machine, I'd like to make it available for anybody= =20 else developing on the Zaurus, as I'm sure it will be useful elsewhere. Thanks in advance. =2D-=20 Tony Green Ipswich, Suffolk, England ** This message is digitally signed. If your email client is unable to read= =20 digital signatures, you may see an attachment that you cannot open. See=20 http://www.gnupg.org/(en)/documentation/faqs.html for more information. You can validate my PGP key from my website: http://www.beermad.org.uk/ * No Micro$oft products were used in the generation of this communication |