wmct 发表于 2006-1-13 12:18:33

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

我用的版本是20030522
make xconfig过程中
vendor/product选的GDB/ARMulator
kernel Version中选择linux-2.4.x
Libc Version中选择 uC-lib
执行make dep没有问题
执行make linux正常
执行make romfs出错 信息如下:

make: Leaving directory `/home/vpn/uClinux-dist/vendors/GDB/ARMulator'
make: Entering directory `/home/vpn/uClinux-dist/user/boa'
for i in src ; do make -C $i romfs || exit ; done
make: Entering directory `/home/vpn/uClinux-dist/user/boa/src'
romfs-inst.sh /bin/boa
cp: stat‘boa’失败: 没有那个文件或目录
make: Leaving directory `/home/vpn/uClinux-dist/user/boa/src'
make: Leaving directory `/home/vpn/uClinux-dist/user/boa'
make: 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: Entering directory `/home/vpn/uClinux-dist/user/busybox'
(echo -n "APPLET_SOURCES := "; BB_SRC_DIR= /bin/sh busybox.sh config.h) > applet
make: Leaving directory `/home/vpn/uClinux-dist/user/busybox'
make: Entering directory `/home/vpn/uClinux-dist/user/busybox'
make: `applet_source_list' is up to date.
make: Leaving directory `/home/vpn/uClinux-dist/user/busybox'
(echo -n "APPLET_SOURCES := "; BB_SRC_DIR= /bin/sh busybox.sh config.h) > applet
make: Leaving directory `/home/vpn/uClinux-dist/user/busybox'
make: 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: *** Error 1
make: Leaving directory `/home/vpn/uClinux-dist/user/busybox'
make: *** Error 2
make: Leaving directory `/home/vpn/uClinux-dist/user'
make: *** 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
............................................................................................
我实在不知道怎么办~ 大家帮帮忙啊..........
页: [1]
查看完整版本: 请教关于uclinux编译内核的问题,谢谢!