The cross-toolchain is built using the following command: USE="-*" UCLIBC_CPU=ARM920T crossdev -t arm-softfloat-linux-uclibc --g 3.4.6-r2 --k 2.6.17-r2
I am trying to cross-compile openrc, and got the following error message: --- In file included from rc.c:53: /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:23: error: syntax error before "__u32" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:24: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:31: error: syntax error before "__u32" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:32: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:33: error: syntax error before "rootdev" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:33: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:40: error: syntax error before "__u32" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:41: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:48: error: syntax error before "__u8" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:49: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:50: error: syntax error before "video_page" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:50: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:51: error: syntax error before "video_mode" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:51: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:52: error: syntax error before "video_cols" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:52: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:53: error: syntax error before "video_ega_bx" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:53: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:54: error: syntax error before "video_lines" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:54: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:55: error: syntax error before "video_isvga" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:55: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:56: error: syntax error before "video_points" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:56: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:63: error: syntax error before "__u32" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:64: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:65: error: syntax error before "start" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:65: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:79: error: syntax error before "__u32" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:80: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:87: error: syntax error before "__u32" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:88: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:95: error: syntax error before "__u32" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:104: error: syntax error before "__u16" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:105: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:106: error: syntax error before "lfb_depth" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:106: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:107: error: syntax error before "lfb_linelength" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:107: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:108: error: syntax error before "lfb_base" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:108: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:109: error: syntax error before "lfb_size" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:109: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:110: error: syntax error before "red_size" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:110: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:111: error: syntax error before "red_pos" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:111: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:112: error: syntax error before "green_size" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:112: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:113: error: syntax error before "green_pos" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:113: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:114: error: syntax error before "blue_size" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:114: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:115: error: syntax error before "blue_pos" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:115: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:116: error: syntax error before "rsvd_size" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:116: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:117: error: syntax error before "rsvd_pos" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:117: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:131: error: syntax error before "__u32" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:132: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:133: error: syntax error before "sounddefault" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:133: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:134: error: syntax error before "adfsdrives" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:134: error: ISO C forbids data definition with no type or storage class /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:141: error: syntax error before "__u32" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:145: error: field `hdr' has incomplete type /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:147: error: field `core' has incomplete type /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:148: error: field `mem' has incomplete type /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:149: error: field `videotext' has incomplete type /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:150: error: field `ramdisk' has incomplete type /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:151: error: field `initrd' has incomplete type /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:152: error: field `serialnr' has incomplete type /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:153: error: field `revision' has incomplete type /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:154: error: field `videolfb' has incomplete type /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:160: error: field `acorn' has incomplete type /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:165: error: field `memclk' has incomplete type /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:170: error: syntax error before "__u32" /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:172: error: syntax error before '}' token In file included from rc.c:75: ../includes/rc-misc.h:101: warning: declaration of 'size' shadows a global declaration /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:80: warning: shadowed declaration is here ../includes/rc-misc.h:112: warning: declaration of 'size' shadows a global declaration /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:80: warning: shadowed declaration is here make[2]: *** [rc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.2.3/work/openrc-0.2.3/src/rc' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.2.3/work/openrc-0.2.3/src' make: *** [all] Error 2 --- Does somebody have any idea? BTW, if I want to download the obsolete baselayout-lite file and ebuild, where can I find them? Thanks in advance. Siong-Ui
