[Ilugc] busybox compilation error

  • From: sureshkumar.s@xxxxxxxxxx (Suresh Kumar Subramanian)
  • Date: Sat Feb 27 17:48:40 2010

Hi,

I am building the busybox as standalone execuatable using this config line 
CONFIG_STATIC=y in the .config file.

when i build using make command the build failed. The build error is below,

==========
/usr/bin/ld: cannot find -lcrypt
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1

What is the reason for this failure? How do i solve this?

Note: glibc-dev package,openssl packages are installed in my PC.
         But If i remove the   CONFIG_STATIC=y  line from the .config file, 
build succeeds. But i require the standalone busybox executable.

Thanks for helping.

regards
suresh


Other related posts: