[okl4-developer] busybox compile error on 2.1
Geoff White
netengadmin at gmail.com
Thu May 8 17:04:53 EST 2008
On Wed, May 7, 2008 at 10:46 PM, Geoffrey Lee <glee at ok-labs.com> wrote:
> On Wed, May 07, 2008 at 10:36:02PM -0700, Subcommander l0r3zz wrote:
> > >
> > > Here it is trying to invoke the host gcc. Your host environment is
> > > missing ctype.h (Check ls -al /usr/include/ctype.h). Can you
> > > ensure you have the glibc header files and its dependencies installed?
> > >
> > > Please let us know how you go.
> > >
> > > -gl
> >
>
> Hi Geoff
>
> >
> > Um, this is the command that I used with 1.5.2 without any problems. For
> > that treee it couldn't be using the host gcc because the host was a 64
> bit
> > processor and I had no problems running my built images in Qemu.
>
>
> When I said it uses the host gcc I really meant it uses the host
> gcc. The conf.c is an application which gets run on the build host, not
> the
> target.
>
>
> >
> > Also ctypes.h definitely appears in /usr/include on my host system
> wihich
> > is Ubuntu 8.04;)
> > But I think I had to change some files in the 1.5.2 treee to get it to
> > compile properly, I just can't remember what I changed ;)
> > I'll try specifying toolprefix
> >
> >
>
> This is the compile command which failed to find ctype.h:
>
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I. -c
>
> /home/okl4user/okl4_2.1/oklinux_2.6.23.21/apps/busybox/scripts/config/conf.c
> -o conf.o
>
> You can try invoking that directly to try and work out why it might
> be causing this problem.
>
> -gl
>
>
> specifying the full path to the toolchain with toolprefix= worked!
I reran the original command that I was using on my 1.5.2 tree and it does
work on that tree as well :) Life is full of little mysteries :)
so the successful compilation command that I was using is...
l0r3zz at ubuntu-nc6400:~/Desktop/okl4_2.1$ ./tools/build.py project=iguana
linux_apps=pciutils machine="ia32_pc99" wombat=yes
toolprefix="/opt/okl/Linux-i386/stow/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-"
simulate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080508/ce7f0093/attachment.htm
More information about the Developer
mailing list