在Fedora12下编译busybox 时,出现一点错误,搞了好长时间,这一步解决了。上传一下,也许能给有相同问题的有一些提示吧。顺便说一下,google里面搜专业技术方面的问题会好一点的。英文的东西读一下,也许能找到答案的。我搜到这样一个网页帮我解决的http://forums.fedoraforum.org/showthread.php?t=231184
其实这个是库的问题,要加入一个静态库,在fedora下:
# yum install glibc-static
安装后就可以了,下面是我在网上搜到的资料:
libcrypt problem
Hi,
I'm having a problem with libcrypt. I'm trying to build busybox, but get the following error: "/usr/bin/ld: cannot find -lcrypt".
I know that this worked on my F10 installation (before upgrading to F11).
"rpm -q --list glibc |grep crypt" gives this:
/lib/libcrypt-2.10.1.so
/lib/libcrypt.so.1
and "ldconfig -p | grep libcrypt" gives this:
libcrypt.so.1 (libc6, OS ABI: Linux 2.6.18) => /lib/libcrypt.so.1
libcrypt.so (libc6, OS ABI: Linux 2.6.18) => /usr/lib/libcrypt.so
Some help with this would be appreciated.
Thanks
I suspect you're trying to compile a static version of busybox.
gcc -static requires glibc-static
# yum install glibc-static