All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Markus Königshaus" <m.koenigshaus@wut.de>
To: buildroot@busybox.net
Subject: [Buildroot] compiling microperl
Date: Thu, 15 Mar 2012 18:50:44 +0100	[thread overview]
Message-ID: <4F622BF4.5020702@wut.de> (raw)
In-Reply-To: <CALo-6+gEPp06RGrwt-0dYPJY+-q7-CX3vF8R-duaYVe4XBup+Q@mail.gmail.com>

I'm not sure, but try to
/usr/bin/gcc -L/usr/local/lib -lm  -o miniperl miniperlmain.o opmini.o
libperl.a
I think, the mathlib is missing. My colleague recently had a similar
problem.

your private supporter, Markus ;-)

Am 15.03.2012 18:31, schrieb Charles Krinke:
> 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.
>
-- Unsere Aussagen koennen Irrtuemer und Missverstaendnisse enthalten.
Bitte pruefen Sie die Aussagen fuer Ihren Fall, bevor Sie Entscheidungen 
auf Grundlage dieser Aussagen treffen.
Wiesemann & Theis GmbH, Porschestr. 12, D-42279 Wuppertal
Geschaeftsfuehrer: Dipl.-Ing. Ruediger Theis
Registergericht: Amtsgericht Wuppertal, HRB 6377 
Tel. +49-202/2680-0, Fax +49-202/2680-265, http://www.wut.de

      parent reply	other threads:[~2012-03-15 17:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F622BF4.5020702@wut.de \
    --to=m.koenigshaus@wut.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.