
Hi; I am using eldk-4.0 mips_4KC to build linux-2.4.31 and stumbled at this error:
/opt/eldk/usr/bin/mips_4KC-gcc -D__KERNEL__ -I/vobs/project/comac/comac_amazon_l xdb1.1/source/kernel/opensource/linux-2.4.31/include -Wall -Wstrict-prototypes - Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I /vob s/project/comac/comac_amazon_lxdb1.1/source/kernel/opensource/linux-2.4. 31/inclu de/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -ma rch=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -DKBUILD_BASENAME= do_mounts -c -o init/do_mounts.o init/do_mounts.c In file included from /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/ope nsource/linux-2.4.31/include/linux/byteorder/big_endian.h:11, from /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/ope nsource/linux-2.4.31/include/asm/byteorder.h:23, from /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/ope nsource/linux-2.4.31/include/linux/kernel.h:15, from /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/ope nsource/linux-2.4.31/include/linux/wait.h:13, from /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/ope nsource/linux-2.4.31/include/linux/fs.h:12, from /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/ope nsource/linux-2.4.31/include/linux/capability.h:17, from /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/ope nsource/linux-2.4.31/include/linux/binfmts.h:5, from /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/ope nsource/linux-2.4.31/include/linux/sched.h:10, from /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/ope nsource/linux-2.4.31/include/linux/mm.h:4, from /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/ope nsource/linux-2.4.31/include/linux/slab.h:14, from init/do_mounts.c:3: /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/opensource/linux- 2.4.31/i nclude/linux/byteorder/swab.h:160: warning: type qualifiers ignored on function return type /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/opensource/linux- 2.4.31/i nclude/linux/byteorder/swab.h:173: warning: type qualifiers ignored on function return type /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/opensource/linux- 2.4.31/i nclude/linux/byteorder/swab.h:186: warning: type qualifiers ignored on function return type /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/opensource/linux- 2.4.31/i nclude/linux/byteorder/swab.h:200: warning: type qualifiers ignored on function return type init/do_mounts.c:55: error: static declaration of 'root_device_name' follows non -static declaration /vobs/project/comac/comac_amazon_lxdb1.1/source/kernel/opensource/linux- 2.4.31/i nclude/linux/fs.h:1566: error: previous declaration of 'root_device_name' was he re init/do_mounts.c: In function 'identify_ramdisk_image': init/do_mounts.c:511: warning: pointer targets in passing argument 2 of 'read' d iffer in signedness init/do_mounts.c:555: warning: pointer targets in passing argument 2 of 'read' d iffer in signedness init/do_mounts.c: In function 'fill_inbuf': init/do_mounts.c:1019: warning: pointer targets in passing argument 2 of 'read' differ in signedness init/do_mounts.c: In function 'flush_window': init/do_mounts.c:1037: warning: pointer targets in passing argument 2 of 'write' differ in signedness make: *** [init/do_mounts.o] Error 1 [tehkok@linux01 linux-2.4.31 229]$
Any advice and insight is appreciated. Thanks!
Regards, KH