QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1845|回复: 4

按照user guide 1.4操作,出错

[复制链接]
发表于 2005-9-9 16:48:01 | 显示全部楼层 |阅读模式
操作到make user_only时,发生
make[2]: Entering directory `/home/xx/CrossBuildTools/uClinux-dist/user/boa'
for i in src ; do make -C $i all || exit ; done
make[3]: 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[3]: *** [boa] Error 1
make[3]: Leaving directory `/home/xx/CrossBuildTools/uClinux-dist/user/boa/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/xx/CrossBuildTools/uClinux-dist/user/boa'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/xx/CrossBuildTools/uClinux-dist/user'
make: *** [user_only] Error 2

错误
是啥意思啊
发表于 2005-9-10 21:49:46 | 显示全部楼层
我还没到楼主这儿就出问题了,我的是make menuconfig的步骤
[root@192 uClinux-dist]# make menuconfig
config/mkconfig > config.in
make -C /home/rock/skyeye/uClinux-dist/config/scripts/lxdialog all
make[1]: 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[1]: *** [ncurses] Error 1
make[1]: Leaving directory `/home/rock/skyeye/uClinux-dist/config/scripts/lxdialog'
make: *** [menuconfig] Error 2
我把前面地步检查了好几遍,没发现不对的地方
苦恼中~~~~~~~~
回复

使用道具 举报

发表于 2005-9-11 16:37:37 | 显示全部楼层
看看这个http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=130742
回复

使用道具 举报

发表于 2005-9-12 10:19:48 | 显示全部楼层
楼上的兄台,我就是按照user  guide 1。4的步骤一步一步来的,就是到了交叉编译uclinux内核的第六步,也就是make  menuconfig的时候出现这个问题的,我把前面的步骤都检查了好几遍,还是查不出来,郁闷中~~~
回复

使用道具 举报

发表于 2005-9-12 13:05:42 | 显示全部楼层
你重新解压在试试看吧,我没有遇到过这样的错误!
不好意思!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 15:17 , Processed in 0.068201 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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