From: Simon Adda-Reyss <simon.addareyss@libertysurf.fr>
To: buildroot@busybox.net
Subject: [Buildroot] gcc on target doesnt find gnu/stubs.h ??!
Date: Sun, 5 Jul 2009 15:05:04 +0200 [thread overview]
Message-ID: <20090705130504.GA21416@toto> (raw)
Hello,
I haven't used buildroot - wonderful piece of software, thank you so
much - in a few years.
I tried it again yesterday, with
i386 and all default options (gcc 4.3.3), +
wchar + libintl (no pregenerated locales)
development files in target
Package selection :
flex
native toolchain
make
(also BR2_GCC_SUPPORTS_SYSROOT=y)
Everything went fine, but when I mount the generated image (I also tried
to make a virtual harddisk so that I can boot it in qemu), I can't use
gcc :
I tried to compile this small program:
#include <stdio.h>
main(){
printf("bonjour\n");
return(0);
}
and I got:
In file included from /usr/include/stdio.h:28,
from hoho.c:1:
/usr/lib/gcc/i686-linux-uclibc/4.3.3/include-fixed/features.h:327:23:
error: gnu/stubs.h: No such file or directory
In file included from /usr/include/stdio.h:72,
from hoho.c:1:
/usr/include/bits/uClibc_stdio.h:33:2:
error: #error config seems to be out
of sync regarding bufsiz options
/usr/include/bits/uClibc_stdio.h:46:2:
error: #error config seems to be out
of sync regarding builtin buffer size
Same problem when I tried to compile the glib1.2 (./configure went fine)
What is wrong?
Please help.
Thanks a lot!
Simon Adda-Reyss
reply other threads:[~2009-07-05 13:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090705130504.GA21416@toto \
--to=simon.addareyss@libertysurf.fr \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox