QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1317|回复: 0

请教关于uclinux编译内核的问题,谢谢!

[复制链接]
发表于 2006-1-13 12:18:33 | 显示全部楼层 |阅读模式
我用的版本是20030522
make xconfig过程中
vendor/product选的GDB/ARMulator
kernel Version中选择linux-2.4.x
Libc Version中选择 uC-lib
执行make dep没有问题
执行make linux正常
执行make romfs出错 信息如下:

make[2]: Leaving directory `/home/vpn/uClinux-dist/vendors/GDB/ARMulator'
make[2]: Entering directory `/home/vpn/uClinux-dist/user/boa'
for i in src ; do make -C $i romfs || exit ; done
make[3]: Entering directory `/home/vpn/uClinux-dist/user/boa/src'
romfs-inst.sh /bin/boa
cp: stat‘boa’失败: 没有那个文件或目录
make[3]: Leaving directory `/home/vpn/uClinux-dist/user/boa/src'
make[2]: Leaving directory `/home/vpn/uClinux-dist/user/boa'
make[2]: Entering directory `/home/vpn/uClinux-dist/user/busybox'
if [ -f "$ROMFSDIR/bin/busybox" ]; then \
        inode=`ls -i $ROMFSDIR/bin/busybox | awk '{print $1}'`; \
        ls -i "$ROMFSDIR/bin" | grep "^ *$inode" | awk '{print $2}' | \
                sed "s:^:$ROMFSDIR/bin/:" | env -i xargs rm -f; \
fi
awk -f build-config.awk Config.h >Config.temp
if cmp -s Config.temp config.h          ;       \
then                                            \
        rm -f Config.temp               ;       \
else                                            \
        mv -f config.h config.h-        ;       \
        mv -f Config.temp config.h      ;       \
        rm -f applet_source_list        ;       \
        make applet_source_list         ;       \
fi
mv: can't stat source config.h
make[3]: Entering directory `/home/vpn/uClinux-dist/user/busybox'
(echo -n "APPLET_SOURCES := "; BB_SRC_DIR= /bin/sh busybox.sh config.h) > applet
make[3]: Leaving directory `/home/vpn/uClinux-dist/user/busybox'
make[3]: Entering directory `/home/vpn/uClinux-dist/user/busybox'
make[3]: `applet_source_list' is up to date.
make[3]: Leaving directory `/home/vpn/uClinux-dist/user/busybox'
(echo -n "APPLET_SOURCES := "; BB_SRC_DIR= /bin/sh busybox.sh config.h) > applet
make[2]: Leaving directory `/home/vpn/uClinux-dist/user/busybox'
make[2]: Entering directory `/home/vpn/uClinux-dist/user/busybox'
/bin/sh busybox.mkll config.h applets.h >busybox.links
romfs-inst.sh -e CONFIG_USER_BUSYBOX_SYSLOGD -s /var/tmp/log /dev/log
cp busybox /home/vpn/uClinux-dist/romfs/bin/busybox
cp: stat‘busybox’失败: 没有那个文件或目录
make[2]: *** [romfs] Error 1
make[2]: Leaving directory `/home/vpn/uClinux-dist/user/busybox'
make[1]: *** [romfs] Error 2
make[1]: Leaving directory `/home/vpn/uClinux-dist/user'
make: *** [romfs] Error 1

实在不知是什么原因~ 刚刚开始接触,还望各位帮忙! 谢谢!
btw: 如果make dep之后 直接make
则不提示有错误
但运行skyeye
target sim
load后提示
No executable file specified.
Use the "file" or "exec-file" command.
再run之后 程序就 飞了 显示如下的东东
0,I 0,P 0,T 0,L 0,D 0,NumInstr 245960, io_read_word unknown addr(0xffffffff) = 0xffffffff
R ffffffff,1,1,dd36c01,0,d3,1,10dd36c,200000d3,10dd5e8,10e55e0,10dbf54,10dbf58,10dbf28,1015688,1012584,C 200000d3,S 0,0,0,0,0,0,0,M 13,B 3,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 245977, io_read_word unknown addr(0xfffffffc) = 0xffffffff
R ffffffff,1,0,dd36c01,0,d3,1,10dd36c,200000d3,10dd5e8,10e55e0,10dbf54,10dbf58,10dbf28,1015688,101257c,C 200000d3,S 0,0,0,0,0,0,0,M 13,B 3,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 245979, io_read_word unknown addr(0xffffffff) = 0xffffffff
R ffffffff,1,1,dd36c01,0,d3,1,10dd36c,200000d3,10dd5e8,10e55e0,10dbf54,10dbf58,10dbf28,1015688,1012584,C 200000d3,S 0,0,0,0,0,0,0,M 13,B 3,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 245996, io_read_word unknown addr(0xfffffffc) = 0xffffffff
R ffffffff,1,0,dd36c01,0,d3,1,10dd36c,200000d3,10dd5e8,10e55e0,10dbf54,10dbf58,10dbf28,1015688,101257c,C 200000d3,S 0,0,0,0,0,0,0,M 13,B 3,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 245998, io_read_word unknown addr(0xffffffff) = 0xffffffff
R ffffffff,1,1,dd36c01,0,d3,1,10dd36c,200000d3,10dd5e8,10e55e0,10dbf54,10dbf58,10dbf28,1015688,1012584,C 200000d3,S 0,0,0,0,0,0,0,M 13,B 3,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 246015, io_read_word unknown addr(0xfffffffc) = 0xffffffff
R ffffffff,1,0,dd36c01,0,d3,1,10dd36c,200000d3,10dd5e8,10e55e0,10dbf54,10dbf58,10dbf28,1015688,101257c,C 200000d3,S 0,0,0,0,0,0,0,M 13,B 3,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 246017, io_read_word unknown addr(0xffffffff) = 0xffffffff
R ffffffff,1,1,dd36c01,0,d3,1,10dd36c,200000d3,10dd5e8,10e55e0,10dbf54,10dbf58,10dbf28,1015688,1012584,C 200000d3,S 0,0,0,0,0,0,0,M 13,B 3,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 246034, io_read_word unknown addr(0xfffffffc) = 0xffffffff
R ffffffff,1,0,dd36c01,0,d3,1,10dd36c,200000d3,10dd5e8,10e55e0,10dbf54,10dbf58,10dbf28,1015688,101257c,C 200000d3,S 0,0,0,0,0,0,0,M 13,B 3,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 246036, io_read_word unknown addr(0xffffffff) = 0xffffffff
R
............................................................................................
我实在不知道怎么办~ 大家帮帮忙啊..........
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-27 05:37 , Processed in 0.038851 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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