QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2740|回复: 0

编译uClinux内核问题

[复制链接]
发表于 2007-11-21 14:38:25 | 显示全部楼层 |阅读模式
Windows  Cygwin环境下,编译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[3]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/fs'
make[2]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/fs'
make[1]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1

[ 本帖最后由 snowman2008 于 2007-11-21 14:40 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-21 21:17 , Processed in 0.054770 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表