| Summary: | Microperl fails build on MIPSel or with Fedora13.x86_64 | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Sérgio <sergio> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2009.08 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: |
dot config
this little patch fix compile problem |
||
Same problem has been reported on http://lists.busybox.net/pipermail/buildroot/2009-October/029989.html but no conclusion. Looking for thread, found this: /usr/lib64/ccache/gcc -L/usr/local/lib -o miniperl \ miniperlmain.o opmini.o libperl.a libperl.a(pp.o): In function `Perl_pp_int': pp.c:(.text+0x9d41): undefined reference to `floor' pp.c:(.text+0x9d61): undefined reference to `ceil' libperl.a(pp.o): In function `Perl_pp_sqrt': pp.c:(.text+0x9ec1): undefined reference to `sqrt' libperl.a(pp.o): In function `Perl_pp_log': pp.c:(.text+0x9fc9): undefined reference to `log' libperl.a(pp.o): In function `Perl_pp_exp': pp.c:(.text+0xa153): undefined reference to `exp' libperl.a(pp.o): In function `Perl_pp_cos': pp.c:(.text+0xa493): undefined reference to `cos' libperl.a(pp.o): In function `Perl_pp_sin': pp.c:(.text+0xa5f3): undefined reference to `sin' libperl.a(pp.o): In function `Perl_pp_atan2': pp.c:(.text+0xa7cd): undefined reference to `atan2' libperl.a(pp.o): In function `Perl_pp_modulo': pp.c:(.text+0xccb4): undefined reference to `floor' pp.c:(.text+0xccea): undefined reference to `floor' pp.c:(.text+0xcd4e): undefined reference to `fmod' libperl.a(pp.o): In function `Perl_pp_pow': pp.c:(.text+0xd35a): undefined reference to `pow' libperl.a(pp_pack.o): In function `S_pack_rec': pp_pack.c:(.text+0x21bc): undefined reference to `floor' pp_pack.c:(.text+0x21ef): undefined reference to `floor' collect2: ld returned 1 exit status make[1]: *** [miniperl] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8' which is solved by add -lm /usr/lib64/ccache/gcc -L/usr/local/lib -o miniperl miniperlmain.o opmini.o libperl.a Created attachment 2557 [details]
this little patch fix compile problem
I hope that patch helps find out the real solution
Most likely fixed by cb9a5877b88787f176215c5addb8c1be225a39d0. (In reply to comment #3) > Most likely fixed by cb9a5877b88787f176215c5addb8c1be225a39d0. Hi, I'm glade that this bug have a fix, this fix only be on next stable ..., which should got out in the end of the month , isn't it ? I give up of upgrade my EMTEC Movie cube, because EMTEC have done a very custom kernel to support his hardware. Somebody said to me, that in early kernels will have support for those hardware, but was a big work, so my project is stopped. And buy a 65 dollars player :) Anyway many thanks for your support and all the best for the project. |
Created attachment 2431 [details] dot config with buildroot 2010.08 version, I add some new packages to my .config , make # we need to build a perl for the host just for Errno.pm (cd /home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8; \ chmod a+x ext/util/make_ext; \ ext/util/make_ext nonxs Errno MAKE="/usr/bin/make" \ ) Making Errno (nonxs) ext/util/make_ext: line 122: ../../miniperl: No such file or directory Warning: No Makefile! make[1]: Entering directory `/home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8/ext/Errno' make[1]: *** No rule to make target `config'. Stop. make[1]: Leaving directory `/home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8/ext/Errno' /usr/bin/make config failed, continuing anyway... make[1]: Entering directory `/home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8/ext/Errno' make[1]: *** No rule to make target `all'. Stop. make[1]: Leaving directory `/home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8/ext/Errno' make: *** [/home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8/.configured] Error 2