[Buildroot] Updated status on the compilation of busybox on Mac OS X

Nicholas Kinar n.kinar at usask.ca
Thu Dec 3 14:54:12 UTC 2009


Peter Korsgaard wrote:
>>>>>> "Nicholas" == Nicholas Kinar <n.kinar at usask.ca> writes:
>>>>>>             
>
>  Nicholas> Hello--
>  Nicholas> I've now added these entries to the Buildroot .config file:
>
>  Nicholas> BR2_ENABLE_LOCALE=no
>  Nicholas> BR2_BUILD_SUFFIX=apple-darwin9
>  Nicholas> BR2_EXTRA_GCC_CONFIG_OPTIONS="--host=i686-apple-darwin9
>  Nicholas> --build=i686-apple-darwin9"
>
> BR2_BUILD_SUFFIX should be enough (it's used to set --host / --build).
>
>  Nicholas> lsmod.c:28:24: error: asm/unistd.h: No such file or directory
>  Nicholas> insmod.c:29:24: error: asm/unistd.h: No such file or directory
>  Nicholas> make[1]: *** [lsmod.o] Error 1
>  Nicholas> make[1]: *** Waiting for unfinished jobs....
>  Nicholas> modprobe.c:35:17: error: elf.h: No such file or directory
>  Nicholas> modprobe.c:38:24: error: asm/unistd.h: No such file or directory
>
> That looks to me like a bug. It should look or headers in
> STAGING_DIR/usr/include and not on your host.
>
> I don't normally use module-init-tools, but I'll take a look.
>
>   
Thanks, Peter.   This is greatly appreciated.


Nicholas



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091203/9d2e0800/attachment.html>


More information about the buildroot mailing list