From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Berruer Sébastien" <sebastien.berruer@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] RE : RE : RE : Error compiling Xenomai 2.4.8 with I-pipe tracer
Date: Mon, 31 Aug 2009 13:53:28 +0200 [thread overview]
Message-ID: <4A9BB9B8.4030509@domain.hid> (raw)
In-Reply-To: <EB48F2CADC239E44A8598CC0B0571102E4A9D1@domain.hid>
Berruer Sébastien wrote:
> Hello,
>
>>> I downloaded the toolchain from:
>>> http://www.codesourcery.com/sgpp/lite/arm/portal/release316
>>>
>>> It's the free version but it's supposed to have a Newlib library. Why
>>> can't I
>>> find any *.so? I only have *.a files. Must I only statically compile my
>>> software?
>>
>> No. This version is the free-standing version, made to compile code
>> without an OS. This is sufficient for compiling the Linux kernel, not
>> for compiling any Linux user-space applications. What you should
>> download is:
>>
>> http://www.codesourcery.com/sgpp/lite/arm/portal/release313
>
> Thank you for the link. I'll try this.
>
> NOTE: for anyone who's interested
> I applied the patch found in:
> http://marc.info/?l=linux-arm-kernel&m=124946219616111&w=2
> <http://marc.info/?l=linux-arm-kernel&m=124946219616111&w=2>
>
> And try to compile the kernel with the 2008q1 toolchain but it fails with:
> [...]
> LD .tmp_vmlinux1
> init/built-in.o: In function `do_one_initcall':
> calibrate.c:(.text+0x14): undefined reference to `__gnu_mcount_nc'
> init/built-in.o: In function `run_init_process':
> calibrate.c:(.text+0x1b0): undefined reference to `__gnu_mcount_nc'
> init/built-in.o: In function `init_post':
> calibrate.c:(.text+0x1e0): undefined reference to `__gnu_mcount_nc'
> init/built-in.o: In function `name_to_dev_t':
> calibrate.c:(.text+0x2e0): undefined reference to `__gnu_mcount_nc'
> init/built-in.o: In function `rest_init':
> calibrate.c:(.ref.text+0x10): undefined reference to `__gnu_mcount_nc'
> init/built-in.o:calibrate.c:(.cpuinit.text+0x10): more undefined
> references to `__gnu_mcount_nc' follow
> make[3]: *** [.tmp_vmlinux1] Erreur 1
> make[2]: *** [sub-make] Erreur 2
> make[1]: *** [zImage] Erreur 2
> make: *** [sub-make] Erreur 2
>
> Even if the patch permits the export of both symbols.
exporting symbols is only useful for modules. Defining the symbol is
sufficient to avoid such undefined references. So, in a nutshell I
thinkg you screwed up somehow.
--
Gilles
prev parent reply other threads:[~2009-08-31 11:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-28 8:51 [Xenomai-help] Error compiling Xenomai 2.4.8 with I-pipe tracer Berruer Sébastien
2009-08-28 9:06 ` Gilles Chanteperdrix
2009-08-31 8:27 ` [Xenomai-help] RE : " Berruer Sébastien
2009-08-31 8:51 ` Gilles Chanteperdrix
2009-08-31 10:04 ` [Xenomai-help] RE : " Berruer Sébastien
2009-08-31 10:54 ` Gilles Chanteperdrix
2009-08-31 11:47 ` [Xenomai-help] RE : " Berruer Sébastien
2009-08-31 11:53 ` Gilles Chanteperdrix [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=4A9BB9B8.4030509@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=sebastien.berruer@domain.hid \
--cc=xenomai@xenomai.org \
/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.