[Buildroot] Updated status on the compilation of busybox on Mac OS X
Peter Korsgaard
jacmet at uclibc.org
Thu Dec 3 08:30:04 UTC 2009
>>>>> "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.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list