|
我是在FC1下编译uclinux2.4内核,
我先输入make distclean 删除原来编译的可执行文件
再输入make menuconfig选择要编译的选项;
依次输入:
make dep,
make lib_only,
make user_only,
make romfs,
make image;
make;
分别出现了一些反馈的信息,但是却没有生成uclinux_rom.bin,只有一个uclinux_ram.bin, 和romfs.img,请问一下各位大哥,这是怎么回事;?
以下是分别的反馈信息
在输入make dep命令以后,下面是最后一部分的信息反馈:
arm-elf-gcc -O2 -g -fomit-frame-pointer -fno-builtin -DEMBED -I/usr/uClinux-dist/lib/uClibc/include -I/usr/uClinux-dist -Dlinux -D__linux__ -D__uClinux__ -Dunix -I/usr/uClinux-dist/linux-2.4.x/include -I. -c -o jdmerge.o jdmerge.c
cc1: warning: -g with -fomit-frame-pointer may not give sensible debugging
arm-elf-gcc -O2 -g -fomit-frame-pointer -fno-builtin -DEMBED -I/usr/uClinux-dist/lib/uClibc/include -I/usr/uClinux-dist -Dlinux -D__linux__ -D__uClinux__ -Dunix -I/usr/uClinux-dist/linux-2.4.x/include -I. -c -o jcomapi.o jcomapi.c
cc1: warning: -g with -fomit-frame-pointer may not give sensible debugging
arm-elf-gcc -O2 -g -fomit-frame-pointer -fno-builtin -DEMBED -I/usr/uClinux-dist/lib/uClibc/include -I/usr/uClinux-dist -Dlinux -D__linux__ -D__uClinux__ -Dunix -I/usr/uClinux-dist/linux-2.4.x/include -I. -c -o jutils.o jutils.c
cc1: warning: -g with -fomit-frame-pointer may not give sensible debugging
arm-elf-gcc -O2 -g -fomit-frame-pointer -fno-builtin -DEMBED -I/usr/uClinux-dist/lib/uClibc/include -I/usr/uClinux-dist -Dlinux -D__linux__ -D__uClinux__ -Dunix -I/usr/uClinux-dist/linux-2.4.x/include -I. -c -o jerror.o jerror.c
cc1: warning: -g with -fomit-frame-pointer may not give sensible debugging
arm-elf-gcc -O2 -g -fomit-frame-pointer -fno-builtin -DEMBED -I/usr/uClinux-dist/lib/uClibc/include -I/usr/uClinux-dist -Dlinux -D__linux__ -D__uClinux__ -Dunix -I/usr/uClinux-dist/linux-2.4.x/include -I. -c -o jmemmgr.o jmemmgr.c
cc1: warning: -g with -fomit-frame-pointer may not give sensible debugging
arm-elf-gcc -O2 -g -fomit-frame-pointer -fno-builtin -DEMBED -I/usr/uClinux-dist/lib/uClibc/include -I/usr/uClinux-dist -Dlinux -D__linux__ -D__uClinux__ -Dunix -I/usr/uClinux-dist/linux-2.4.x/include -I. -c -o jmemnobs.o jmemnobs.c
cc1: warning: -g with -fomit-frame-pointer may not give sensible debugging
rm -f libjpeg.a
arm-elf-ar rc libjpeg.a jcapimin.o jcapistd.o jctrans.o jcparam.o jdatadst.o jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o jccoefct.o jccolor.o jcsample.o jchuff.o jcphuff.o jcdctmgr.o jfdctfst.o jfdctflt.o jfdctint.o jdapimin.o jdapistd.o jdtrans.o jdatasrc.o jdmaster.o jdinput.o jdmarker.o jdhuff.o jdphuff.o jdmainct.o jdcoefct.o jdpostct.o jddctmgr.o jidctfst.o jidctflt.o jidctint.o jidctred.o jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o jcomapi.o jutils.o jerror.o jmemmgr.o jmemnobs.o
arm-elf-ranlib libjpeg.a
make[2]: Leaving directory `/usr/uClinux-dist/lib/libjpeg'
make[1]: Leaving directory `/usr/uClinux-dist/lib'
[root@localhost uClinux-dist]#
在输入make lib_only命令后下面是最后一部分编译信息的反馈:
#@rm -f termcap.o tparam.o
make[3]: Leaving directory `/usr/uClinux-dist/lib/libg/gtermcap'
make[2]: Leaving directory `/usr/uClinux-dist/lib/libg'
make[2]: Entering directory `/usr/uClinux-dist/lib/libg'
for i in gtermcap ; do make -C $i || exit gtermcap ; done
make[3]: Entering directory `/usr/uClinux-dist/lib/libg/gtermcap'
#@rm -f termcap.o tparam.o
make[3]: Leaving directory `/usr/uClinux-dist/lib/libg/gtermcap'
make[2]: Leaving directory `/usr/uClinux-dist/lib/libg'
make[2]: Entering directory `/usr/uClinux-dist/lib/libpam'
rm -f security
ln -sf . security
make -C libpam all
make[3]: Entering directory `/usr/uClinux-dist/lib/libpam/libpam'
mkdir -p dynamic
make[3]: Leaving directory `/usr/uClinux-dist/lib/libpam/libpam'
make[2]: Leaving directory `/usr/uClinux-dist/lib/libpam'
make[2]: Entering directory `/usr/uClinux-dist/lib/libpcap'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/uClinux-dist/lib/libpcap'
make[2]: Entering directory `/usr/uClinux-dist/lib/zlib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/uClinux-dist/lib/zlib'
make[2]: Entering directory `/usr/uClinux-dist/lib/libjpeg'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/uClinux-dist/lib/libjpeg'
make[1]: Leaving directory `/usr/uClinux-dist/lib'
[root@localhost uClinux-dist]#
在输入make user_only命令以后,下面是最后一部分编译信息的反馈:
#@rm -f termcap.o tparam.o
make[3]: Leaving directory `/usr/uClinux-dist/lib/libg/gtermcap'
make[2]: Leaving directory `/usr/uClinux-dist/lib/libg'
make[2]: Entering directory `/usr/uClinux-dist/lib/libg'
for i in gtermcap ; do make -C $i || exit gtermcap ; done
make[3]: Entering directory `/usr/uClinux-dist/lib/libg/gtermcap'
#@rm -f termcap.o tparam.o
make[3]: Leaving directory `/usr/uClinux-dist/lib/libg/gtermcap'
make[2]: Leaving directory `/usr/uClinux-dist/lib/libg'
make[2]: Entering directory `/usr/uClinux-dist/lib/libpam'
rm -f security
ln -sf . security
make -C libpam all
make[3]: Entering directory `/usr/uClinux-dist/lib/libpam/libpam'
mkdir -p dynamic
make[3]: Leaving directory `/usr/uClinux-dist/lib/libpam/libpam'
make[2]: Leaving directory `/usr/uClinux-dist/lib/libpam'
make[2]: Entering directory `/usr/uClinux-dist/lib/libpcap'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/uClinux-dist/lib/libpcap'
make[2]: Entering directory `/usr/uClinux-dist/lib/zlib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/uClinux-dist/lib/zlib'
make[2]: Entering directory `/usr/uClinux-dist/lib/libjpeg'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/uClinux-dist/lib/libjpeg'
make[1]: Leaving directory `/usr/uClinux-dist/lib'
[root@localhost uClinux-dist]#
在输入make romfs命令后,下面是最后一部分编译信息的反馈:
#@rm -f termcap.o tparam.o
make[3]: Leaving directory `/usr/uClinux-dist/lib/libg/gtermcap'
make[2]: Leaving directory `/usr/uClinux-dist/lib/libg'
make[2]: Entering directory `/usr/uClinux-dist/lib/libg'
for i in gtermcap ; do make -C $i || exit gtermcap ; done
make[3]: Entering directory `/usr/uClinux-dist/lib/libg/gtermcap'
#@rm -f termcap.o tparam.o
make[3]: Leaving directory `/usr/uClinux-dist/lib/libg/gtermcap'
make[2]: Leaving directory `/usr/uClinux-dist/lib/libg'
make[2]: Entering directory `/usr/uClinux-dist/lib/libpam'
rm -f security
ln -sf . security
make -C libpam all
make[3]: Entering directory `/usr/uClinux-dist/lib/libpam/libpam'
mkdir -p dynamic
make[3]: Leaving directory `/usr/uClinux-dist/lib/libpam/libpam'
make[2]: Leaving directory `/usr/uClinux-dist/lib/libpam'
make[2]: Entering directory `/usr/uClinux-dist/lib/libpcap'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/uClinux-dist/lib/libpcap'
make[2]: Entering directory `/usr/uClinux-dist/lib/zlib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/uClinux-dist/lib/zlib'
make[2]: Entering directory `/usr/uClinux-dist/lib/libjpeg'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/uClinux-dist/lib/libjpeg'
make[1]: Leaving directory `/usr/uClinux-dist/lib'
[root@localhost uClinux-dist]#
在输入make image命令后,下面是最后一部分编译信息的反馈:
arm-elf-ld -r -o /usr/uClinux-dist/linux-2.4.x/romfs.o -b binary /usr/uClinux-dist/images/romfs.img
arm-elf-objcopy -O binary -R .note -R .comment -S /usr/uClinux-dist/linux-2.4.x/linux /usr/uClinux-dist/images/uclinux_ram.bin
arm-elf-objcopy: /usr/uClinux-dist/linux-2.4.x/linux: 没有那个文件或目录
make[1]: *** [image] Error 1
make[1]: Leaving directory `/usr/uClinux-dist/vendors/Samsung/44B0'
make: *** [image] Error 2
[root@localhost uClinux-dist]#
在输入make命令后,下面是最后一部分编译信息的反馈:
acct.c: In function `do_acct_process':
acct.c:320: structure has no member named `mmap'
acct.c:323: structure has no member named `vm_next'
acct.c:318: warning: `vma' might be used uninitialized in this function
make[3]: *** [acct.o] Error 1
make[3]: Leaving directory `/usr/uClinux-dist/linux-2.4.x/kernel'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/uClinux-dist/linux-2.4.x/kernel'
make[1]: *** [_dir_kernel] Error 2
make[1]: Leaving directory `/usr/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1
[root@localhost uClinux-dist]#
望各位高手给小弟指点指点,小弟感激不尽!!! |
|