编译e2fsprogs时出现链接错误
我在编译e2fsprogs时使用
./configure --enable-elf-shlibs --host=arm-linux
--with-cc=/usr/local/arm/2.95.3/bin/arm-linux-gcc
--with-linker=/usr/local/arm/2.95.3/bin/arm-linux-ld
--prefix=/usr/local/arm/2.95.3/arm-linux
make
出现如下错误:
../../lib/libuuid.a:could not read symbols:Archive has no index,run ranlib to add one
collect2:ld returned 1 exit status
请问要怎么解决,为什么会出现这样情况? 信息里面不是说了吗?你先按照信息里说的来做试试看了。 像这一类问题的通用解决方法是:
把出错提示“could not read symbols:Archive has no index,run ranlib to add one”拷贝到google中搜一下。
要相信一点,这些常用的程序,如果你出了某个错误,别人一定也出过,并且讨论过。。。。
原帖由 beiken 于 2008-9-25 16:47 发表 http://linux.chinaunix.net/bbs/images/common/back.gif
我在编译e2fsprogs时
使用
./configure --enable-elf-shlibs --host=arm-linux
--with-cc=/usr/local/arm/2.95.3/bin/arm-linux-gcc
--with-linker=/usr/local/arm/2.95.3/bin/arm-linux-ld
--prefix=/usr ... 二楼和三楼说对了
我之前是搜索过了,但是找不到好的答案
谢谢三位了 这种系统工具也要编译啊?!编译出来敢用吗?
页:
[1]