[okl4-developer] busybox compile error on 2.1
Geoffrey Lee
glee at ok-labs.com
Thu May 8 15:46:36 EST 2008
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
More information about the Developer
mailing list