编译uClinux我遇到的问题

内核编译和嵌入式产品的设计与开发
回复
htjgdw
帖子: 7
注册时间: 2008-03-14 23:09
送出感谢: 0
接收感谢: 0

编译uClinux我遇到的问题

#1

帖子 htjgdw » 2008-03-15 23:55

我在编译的前几步都通过了:make dep , make lib_only, make user_only, make romfs, make image
就是进行到make linux时出错了,大家帮忙看看可能是什么原因,谢谢了
hw@hw-desktop:/usr/tmp/uClinux-dist$ make linux
make ARCH=armnommu CROSS_COMPILE=arm-elf- -C linux-2.4.x || exit 1
make[1]: Entering directory `/usr/tmp/uClinux-dist/linux-2.4.x'
arm-elf-gcc -D__KERNEL__ -I/usr/tmp/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -DNO_MM -mapcs-32 -mtune=arm7tdmi -mshort-load-bytes -msoft-float -gdwarf-2 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
. scripts/mkversion > .tmpversion
arm-elf-gcc -D__KERNEL__ -I/usr/tmp/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -DNO_MM -mapcs-32 -mtune=arm7tdmi -mshort-load-bytes -msoft-float -gdwarf-2 -DUTS_MACHINE='"armnommu"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
arm-elf-gcc -D__KERNEL__ -I/usr/tmp/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -DNO_MM -mapcs-32 -mtune=arm7tdmi -mshort-load-bytes -msoft-float -gdwarf-2 -DKBUILD_BASENAME=do_mounts -c -o init/do_mounts.o init/do_mounts.c
init/do_mounts.c: In function `rd_load_image':
init/do_mounts.c:616: warning: int format, long int arg (arg 3)
init/do_mounts.c:643: warning: int format, long int arg (arg 3)
init/do_mounts.c:646: warning: int format, long int arg (arg 2)
init/do_mounts.c:658: warning: int format, long int arg (arg 2)
make[2]: Entering directory `/usr/tmp/uClinux-dist/linux-2.4.x/arch/armnommu/tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/tmp/uClinux-dist/linux-2.4.x/arch/armnommu/tools'
make CFLAGS="-D__KERNEL__ -I/usr/tmp/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -DNO_MM -mapcs-32 -mtune=arm7tdmi -mshort-load-bytes -msoft-float -gdwarf-2" -C kernel
make[2]: Entering directory `/usr/tmp/uClinux-dist/linux-2.4.x/kernel'
make all_targets
make[3]: Entering directory `/usr/tmp/uClinux-dist/linux-2.4.x/kernel'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/tmp/uClinux-dist/linux-2.4.x/kernel'
make[2]: Leaving directory `/usr/tmp/uClinux-dist/linux-2.4.x/kernel'
make CFLAGS="-D__KERNEL__ -I/usr/tmp/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -DNO_MM -mapcs-32 -mtune=arm7tdmi -mshort-load-bytes -msoft-float -gdwarf-2" -C drivers
make[2]: Entering directory `/usr/tmp/uClinux-dist/linux-2.4.x/drivers'
make -C block
make[3]: Entering directory `/usr/tmp/uClinux-dist/linux-2.4.x/drivers/block'
make all_targets
make[4]: Entering directory `/usr/tmp/uClinux-dist/linux-2.4.x/drivers/block'
make[4]: *** 没有规则可以创建“ll_rw_blk.o”需要的目标“DAC960.c”。 停止。
make[4]: Leaving directory `/usr/tmp/uClinux-dist/linux-2.4.x/drivers/block'
make[3]: *** [first_rule] 错误 2
make[3]: Leaving directory `/usr/tmp/uClinux-dist/linux-2.4.x/drivers/block'
make[2]: *** [_subdir_block] 错误 2
make[2]: Leaving directory `/usr/tmp/uClinux-dist/linux-2.4.x/drivers'
make[1]: *** [_dir_drivers] 错误 2
make[1]: Leaving directory `/usr/tmp/uClinux-dist/linux-2.4.x'
make: *** [linux] 错误 1
htjgdw
帖子: 7
注册时间: 2008-03-14 23:09
送出感谢: 0
接收感谢: 0

自己顶

#2

帖子 htjgdw » 2008-03-16 10:17

先自己顶起来
回复

回到 “内核及嵌入式开发”