Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] compiling microperl
@ 2012-03-15 17:31 Charles Krinke
  2012-03-15 17:49 ` Thomas Petazzoni
  2012-03-15 17:50 ` Markus Königshaus
  0 siblings, 2 replies; 3+ messages in thread
From: Charles Krinke @ 2012-03-15 17:31 UTC (permalink / raw)
  To: buildroot

I am trying to add microperl to an MPC8321 project and having a
compilation error. I have been using buildroot-2011.03 for the last
year and am nearing the end of this project and today we need to add
perl.

We are using the CodeSourcery external glibc toolchain and it has been
working fine for a long time. This is the first package we are unable
to build.

Here are the errors I am seeing:
make[1]: Entering directory
`/home/ckrinke/asvn/trunk/buildroot-glibc/output/build/perl-5.8.8'
/usr/bin/gcc -L/usr/local/lib -o miniperl \
	    miniperlmain.o opmini.o libperl.a
libperl.a(pp.o): In function `Perl_pp_pow':
pp.c:(.text+0x283a): undefined reference to `pow'
libperl.a(pp.o): In function `Perl_pp_modulo':
pp.c:(.text+0x361f): undefined reference to `fmod'
libperl.a(pp.o): In function `Perl_pp_atan2':
pp.c:(.text+0x7e49): undefined reference to `atan2'
libperl.a(pp.o): In function `Perl_pp_sin':
pp.c:(.text+0x7f2a): undefined reference to `sin'
libperl.a(pp.o): In function `Perl_pp_cos':
pp.c:(.text+0x806a): undefined reference to `cos'
libperl.a(pp.o): In function `Perl_pp_exp':
pp.c:(.text+0x834a): undefined reference to `exp'
libperl.a(pp.o): In function `Perl_pp_log':
pp.c:(.text+0x8490): undefined reference to `log'
libperl.a(pp.o): In function `Perl_pp_sqrt':
pp.c:(.text+0x8768): undefined reference to `sqrt'

I wonder if someone would be so kind as to offer a clue, or at least a
bread crumb to figuring this out.

-- 
Charles "Noob for the Day" Krinke

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-15 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 17:31 [Buildroot] compiling microperl Charles Krinke
2012-03-15 17:49 ` Thomas Petazzoni
2012-03-15 17:50 ` Markus Königshaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox