Is is busybox's problem or crosscompiler's error?
Rob Landley
rob at landley.net
Fri Jul 14 10:20:53 PDT 2006
On Thursday 13 July 2006 4:51 am, chenggh wrote:
> Hi, everybody:
> I download the busybox 1.2 and use the eldk cross-compiler. In the
> configuration I set the cross-compiler prefix
> is /home/chenggh/eldk/usr/bin/powerpc-linux-. But in the compilation there
> are lots of errors and warnings like this:
>
> /home/chenggh/summerschool2006/busybox-1.2.0/include/platform.h:85:23:
> error: byteswap.h: No such file or directory
> /home/chenggh/summerschool2006/busybox-1.2.0/include/platform.h:86:21:
> error: endian.h: No such file or directory
> /home/chenggh/summerschool2006/busybox-1.2.0/include/platform.h:118:24:
> error: arpa/inet.h: No such file or directory
>
> but when I use the local compiler it is ok( not set the
> cross-compiler) it is ok. I try to cross-compile busybox 1.1 and busybox
> 1.2 and failed.
Sounds like the #include paths aren't working out right when you use the cross
compiler, but work right when you use the native compiler. If the only thing
that changed is which compiler you're using (not the rest of the compiler
command line), I'd guess it's your compiler. But that's just a guess...
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list