* [Buildroot] for target toolchain to be compiled
@ 2009-11-09 20:52 Jonathan dumaresq
2009-11-09 21:02 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Jonathan dumaresq @ 2009-11-09 20:52 UTC (permalink / raw)
To: buildroot
Hi,
I just installed a fresh kubuntu 9.10 and try to build my .config file that
I was able to do in 9.04.
From What I see, the target toolchain is not compiled and failed to
>compile
uclibc.
Here a sample of the output.
/buildroot/PROJECTS/buildroot/atngw100/toolchain/bin/sed -i -e
's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g'
/buildroot/PROJECTS/buildroot/atngw100/toolchain/uClibc-0.9.30-avr32-2.1.5/.
oldconfig
/buildroot/PROJECTS/buildroot/atngw100/toolchain/bin/sed -i -e
's,^.*UCLIBC_HAS_PROGRAM_INVOCATION_NAME.*,UCLIBC_HAS_PROGRAM_INVOCATION_NAM
E=n,g'
/buildroot/PROJECTS/buildroot/atngw100/toolchain/uClibc-0.9.30-avr32-2.1.5/.
oldconfig
cp -f
/buildroot/PROJECTS/buildroot/atngw100/toolchain/uClibc-0.9.30-avr32-2.1.5/.
oldconfig
/buildroot/PROJECTS/buildroot/atngw100/toolchain/uClibc-0.9.30-avr32-2.1.5/.
config
mkdir -p
/buildroot/PROJECTS/buildroot/atngw100/toolchain/uClibc_dev/usr/include
mkdir -p /buildroot/PROJECTS/buildroot/atngw100/toolchain/uClibc_dev/usr/lib
mkdir -p /buildroot/PROJECTS/buildroot/atngw100/toolchain/uClibc_dev/lib
/usr/bin/make -j1 -C
/buildroot/PROJECTS/buildroot/atngw100/toolchain/uClibc-0.9.30-avr32-2.1.5 \
ARCH="avr32" \
PREFIX=/buildroot/PROJECTS/buildroot/atngw100/toolchain/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/buildroot/PROJECTS/buildroot/atngw100/toolchain/uClibc_dev/
\
HOSTCC="/usr/bin/gcc" \
oldconfig
make[1]: Entering directory
`/buildroot/PROJECTS/buildroot/atngw100/toolchain/uClibc-0.9.30-avr32-2.1.5'
MKDIR include/config
/bin/sh:
/buildroot/PROJECTS/buildroot/atngw100/build/staging_dir/usr/bin/avr32-linux
-uclibc-gcc: not found
make[2]:
/buildroot/PROJECTS/buildroot/atngw100/build/staging_dir/usr/bin/avr32-linux
-uclibc-gcc: Command not found
make[2]:
/buildroot/PROJECTS/buildroot/atngw100/build/staging_dir/usr/bin/avr32-linux
-uclibc-gcc: Command not found
/bin/sh:
/buildroot/PROJECTS/buildroot/atngw100/build/staging_dir/usr/bin/avr32-linux
-uclibc-gcc: not found
make[2]:
/buildroot/PROJECTS/buildroot/atngw100/build/staging_dir/usr/bin/avr32-linux
-uclibc-gcc: Command not found
make[2]:
/buildroot/PROJECTS/buildroot/atngw100/build/staging_dir/usr/bin/avr32-linux
-uclibc-gcc: Command not found
What File I should play with to get the toolchain compiled in ?
Jonathan
^ permalink raw reply [flat|nested] 5+ messages in thread* [Buildroot] for target toolchain to be compiled
2009-11-09 20:52 [Buildroot] for target toolchain to be compiled Jonathan dumaresq
@ 2009-11-09 21:02 ` Peter Korsgaard
2009-11-09 21:17 ` Jonathan dumaresq
0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2009-11-09 21:02 UTC (permalink / raw)
To: buildroot
>>>>> "Jonathan" == Jonathan dumaresq <jdumaresq@cimeq.qc.ca> writes:
Jonathan> Hi,
Jonathan> I just installed a fresh kubuntu 9.10 and try to build my .config file that
Jonathan> I was able to do in 9.04.
>> From What I see, the target toolchain is not compiled and failed to
>> compile
Jonathan> uclibc.
Jonathan> Here a sample of the output.
There's no error from make in the quoted output. Please provide the full
log (or atleast the final lines).
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] for target toolchain to be compiled
2009-11-09 21:02 ` Peter Korsgaard
@ 2009-11-09 21:17 ` Jonathan dumaresq
2009-11-09 21:41 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Jonathan dumaresq @ 2009-11-09 21:17 UTC (permalink / raw)
To: buildroot
Hi Peter,
See the log file attached
Jonathan
-----Message d'origine-----
De?: Peter Korsgaard [mailto:jacmet at gmail.com] De la part de Peter Korsgaard
Envoy??: 9 novembre 2009 16:02
??: Jonathan dumaresq
Cc?: buildroot at busybox.net
Objet?: Re: [Buildroot] for target toolchain to be compiled
>>>>> "Jonathan" == Jonathan dumaresq <jdumaresq@cimeq.qc.ca> writes:
Jonathan> Hi,
Jonathan> I just installed a fresh kubuntu 9.10 and try to build my .config
file that
Jonathan> I was able to do in 9.04.
>> From What I see, the target toolchain is not compiled and failed to
>> compile
Jonathan> uclibc.
Jonathan> Here a sample of the output.
There's no error from make in the quoted output. Please provide the full
log (or atleast the final lines).
--
Bye, Peter Korsgaard
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Ce message entrant est certifi? sans virus connu.
Analyse effectu?e par AVG - www.avg.fr
Version: 9.0.698 / Base de donn?es virale: 270.14.57/2492 - Date: 11/09/09
07:11:00
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error log.txt
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091109/d563ea43/attachment-0001.txt>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] for target toolchain to be compiled
2009-11-09 21:17 ` Jonathan dumaresq
@ 2009-11-09 21:41 ` Peter Korsgaard
2009-11-09 21:46 ` Jonathan dumaresq
0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2009-11-09 21:41 UTC (permalink / raw)
To: buildroot
>>>>> "Jonathan" == Jonathan dumaresq <jdumaresq@cimeq.qc.ca> writes:
Jonathan> Hi Peter,
Jonathan> See the log file attached
Jonathan> HOSTCC extra/scripts/unifdef
Jonathan> extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
Jonathan> /usr/include/stdio.h:651: note: previous declaration of 'getline' was here
Ok, so that's the problem with unifdef defining a getline function which
conflicts with a function in the C library in never versions of glibc
with the same name.
You need to ensure that the
toolchain/uClibc/uClibc-0.9.30.1-unifdef-getline.patch gets applied to
your toolchain build - presumably by moving it to
toolchain/uClibc/ext_source/Atmel/avr32/0.9.30-avr32-2.1.5 and renaming
it to uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch
Let me know if that works for you, then I'll fix it in git.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] for target toolchain to be compiled
2009-11-09 21:41 ` Peter Korsgaard
@ 2009-11-09 21:46 ` Jonathan dumaresq
0 siblings, 0 replies; 5+ messages in thread
From: Jonathan dumaresq @ 2009-11-09 21:46 UTC (permalink / raw)
To: buildroot
Hi Peter,
-----Message d'origine-----
De?: Peter Korsgaard [mailto:jacmet at gmail.com] De la part de Peter Korsgaard
Envoy??: 9 novembre 2009 16:42
??: Jonathan dumaresq
Cc?: 'Peter Korsgaard'; buildroot at busybox.net
Objet?: Re: [Buildroot] for target toolchain to be compiled
>>>>> "Jonathan" == Jonathan dumaresq <jdumaresq@cimeq.qc.ca> writes:
Jonathan> Hi Peter,
Jonathan> See the log file attached
Jonathan> HOSTCC extra/scripts/unifdef
Jonathan> extra/scripts/unifdef.c:209: error: conflicting types for
'getline'
Jonathan> /usr/include/stdio.h:651: note: previous declaration of 'getline'
was here
Ok, so that's the problem with unifdef defining a getline function which
conflicts with a function in the C library in never versions of glibc
with the same name.
You need to ensure that the
toolchain/uClibc/uClibc-0.9.30.1-unifdef-getline.patch gets applied to
your toolchain build - presumably by moving it to
toolchain/uClibc/ext_source/Atmel/avr32/0.9.30-avr32-2.1.5 and renaming
it to uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch
Let me know if that works for you, then I'll fix it in git.
--
Bye, Peter Korsgaard
You rock... That fixed it.
Jonathan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-11-09 21:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09 20:52 [Buildroot] for target toolchain to be compiled Jonathan dumaresq
2009-11-09 21:02 ` Peter Korsgaard
2009-11-09 21:17 ` Jonathan dumaresq
2009-11-09 21:41 ` Peter Korsgaard
2009-11-09 21:46 ` Jonathan dumaresq
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox