royor 发表于 2005-9-9 16:48:01

按照user guide 1.4操作,出错

操作到make user_only时,发生
make: Entering directory `/home/xx/CrossBuildTools/uClinux-dist/user/boa'
for i in src ; do make -C $i all || exit ; done
make: Entering directory `/home/xx/CrossBuildTools/uClinux-dist/user/boa/src'
arm-elf-gcc-O2 -g -fomit-frame-pointer   -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -I/home/xx/CrossBuildTools/uClinux-dist/lib/uClibc/include -I/home/xx/CrossBuildTools/uClinux-dist/lib/libm -I/home/xx/CrossBuildTools/uClinux-dist/lib/libcrypt_old -I/home/xx/CrossBuildTools/uClinux-dist -fno-builtin -nostartfiles -I/home/xx/CrossBuildTools/uClinux-dist/linux-2.4.x/include -Wl,-elf2flt /home/xx/CrossBuildTools/uClinux-dist/lib/uClibc/lib/crt0.o /home/xx/CrossBuildTools/uClinux-dist/lib/uClibc/lib/crti.o /home/xx/CrossBuildTools/uClinux-dist/lib/uClibc/lib/crtn.o -L/home/xx/CrossBuildTools/uClinux-dist/lib/uClibc/. -L/home/xx/CrossBuildTools/uClinux-dist/lib/uClibc/lib -L/home/xx/CrossBuildTools/uClinux-dist/lib/libm -L/home/xx/CrossBuildTools/uClinux-dist/lib/libnet -L/home/xx/CrossBuildTools/uClinux-dist/lib/libdes -L/home/xx/CrossBuildTools/uClinux-dist/lib/libaes -L/home/xx/CrossBuildTools/uClinux-dist/lib/libpcap -L/home/xx/CrossBuildTools/uClinux-dist/lib/libcrypt_old -L/home/xx/CrossBuildTools/uClinux-dist/lib/libssl -L/home/xx/CrossBuildTools/uClinux-dist/lib/zlib -o boa alias.o auth.o boa.o cgi.o cgi_header.o config.o get.o hash.o globals.o log.o nls.o pipe.o queue.o read.o request.o response.o signals.o timestamp.o util.o -lcrypt -lc
/opt/uClinux/bin/arm-elf-ld.real: cannot find -lg
collect2: ld returned 1 exit status
make: *** Error 1
make: Leaving directory `/home/xx/CrossBuildTools/uClinux-dist/user/boa/src'
make: *** Error 2
make: Leaving directory `/home/xx/CrossBuildTools/uClinux-dist/user/boa'
make: *** Error 2
make: Leaving directory `/home/xx/CrossBuildTools/uClinux-dist/user'
make: *** Error 2

错误
是啥意思啊

lanair04 发表于 2005-9-10 21:49:46

我还没到楼主这儿就出问题了,我的是make menuconfig的步骤
# make menuconfig
config/mkconfig > config.in
make -C /home/rock/skyeye/uClinux-dist/config/scripts/lxdialog all
make: Entering directory `/home/rock/skyeye/uClinux-dist/config/scripts/lxdialog'
/bin/sh: line 1: cc: command not found

>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

make: *** Error 1
make: Leaving directory `/home/rock/skyeye/uClinux-dist/config/scripts/lxdialog'
make: *** Error 2
我把前面地步检查了好几遍,没发现不对的地方
苦恼中~~~~~~~~

haosf 发表于 2005-9-11 16:37:37

看看这个http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=130742

lanair04 发表于 2005-9-12 10:19:48

楼上的兄台,我就是按照userguide 1。4的步骤一步一步来的,就是到了交叉编译uclinux内核的第六步,也就是makemenuconfig的时候出现这个问题的,我把前面的步骤都检查了好几遍,还是查不出来,郁闷中~~~

haosf 发表于 2005-9-12 13:05:42

你重新解压在试试看吧,我没有遇到过这样的错误!
不好意思!
页: [1]
查看完整版本: 按照user guide 1.4操作,出错