snowman2008 发表于 2007-11-21 14:38:25

编译uClinux内核问题

WindowsCygwin环境下,编译uClinux-disk-20070130
内核选择2.4
at91可以make成功
生成linux文件
但是选择lpc2200的时候就有莫明其妙的错误
请大家给分析分析,有没有人做过?要改什么文件吗?


arm-linux-gcc -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include -Wall -Ws
trict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common
-pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdm
i-msoft-float   -nostdinc -iwithprefix include -DKBUILD_BASENAME=xattr-c -o
xattr.o xattr.c
arm-linux-gcc -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include -Wall -Ws
trict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common
-pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdm
i-msoft-float   -nostdinc -iwithprefix include -DKBUILD_BASENAME=binfmt_script
-c -o binfmt_script.o binfmt_script.c
arm-linux-gcc -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include -Wall -Ws
trict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common
-pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdm
i-msoft-float   -nostdinc -iwithprefix include -DKBUILD_BASENAME=open-DEXPOR
T_SYMTAB -o open.o -c open.c
arm-linux-gcc -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include -Wall -Ws
trict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common
-pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdm
i-msoft-float   -nostdinc -iwithprefix include -DKBUILD_BASENAME=quota-c -o
quota.o quota.c
arm-linux-gcc -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include -Wall -Ws
trict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common
-pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdm
i-msoft-float   -nostdinc -iwithprefix include -DKBUILD_BASENAME=binfmt_flat
-c -o binfmt_flat.o binfmt_flat.c
binfmt_flat.c: In function `decompress_exec':
binfmt_flat.c:294: warning: label `out' defined but not used
binfmt_flat.c: In function `calc_v5_reloc':
binfmt_flat.c:384: warning: unused variable `usptr'
binfmt_flat.c:385: warning: unused variable `offset'
binfmt_flat.c:385: warning: unused variable `opcode'
rm -f fs.o
arm-linux-ld   -r -o fs.o open.o read_write.o devices.o file_table.o buffer.o su
per.o block_dev.o char_dev.o stat.o exec.o pipe.o namei.o fcntl.o ioctl.o readdi
r.o select.o fifo.o locks.o dcache.o inode.o attr.o bad_inode.o file.o iobuf.o d
notify.o filesystems.o namespace.o seq_file.o xattr.o quota.o binfmt_script.o bi
nfmt_flat.o proc/proc.o partitions/partitions.o ext2/ext2.o ramfs/ramfs.o fat/fa
t.o vfat/vfat.o nfs/nfs.o lockd/lockd.o nls/nls.o autofs/autofs.o autofs4/autofs
4.o
make: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/fs'
make: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/fs'
make: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
make: *** Error 1

[ 本帖最后由 snowman2008 于 2007-11-21 14:40 编辑 ]
页: [1]
查看完整版本: 编译uClinux内核问题