Hello, I built using Dan Kegel's crossbuild tool. The toolchain is gcc-4.1.0-glibc-2.3.6 for i686 targets. Using this toolchain I built busybox 1.14.2 with: make ARCH=x86 defconfig make ARCH=x86 CROSS_COMPILE=i686-unknown-linux-gnu and got the following 2 errors: miscutils/ionice.c: In function 'ioprio_set': miscutils/ionice.c:16: error: 'SYS_ioprio_set' undeclared (first use in this function) miscutils/ionice.c:16: error: (Each undeclared identifier is reported only once miscutils/ionice.c:16: error: for each function it appears in.) miscutils/ionice.c: In function 'ioprio_get': miscutils/ionice.c:21: error: 'SYS_ioprio_get' undeclared (first use in this function) make[1]: *** [miscutils/ionice.o] Error 1 make: *** [miscutils] Error 2 util-linux/acpid.c: In function 'acpid_main': util-linux/acpid.c:145: error: 'EV_SW' undeclared (first use in this function) util-linux/acpid.c:145: error: (Each undeclared identifier is reported only once util-linux/acpid.c:145: error: for each function it appears in.) util-linux/acpid.c:146: error: 'SW_LID' undeclared (first use in this function) make[1]: *** [util-linux/acpid.o] Error 1 make: *** [util-linux] Error 2
I had to lanuch xconfig to unselect ionice and acpid utilities in order to finish the build. Is this a BUG ? With the default gcc installed in my RHEL (for x64) the compilation ended successfully. I can't use this gcc. My target is 32 bits (Pentium-M) Thanks. The information contained in this communication is proprietary to Israel Aerospace Industries Ltd., ELTA Systems Ltd. and/or third parties, may contain classified or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. This message is processed by the PrivaWall Email Security Server.
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
