[Buildroot] 2013.02: sysvinit-2.88 build failure undefined reference to -lcrypt
Roland Uuesoo
rolandu at gmail.com
Tue Mar 12 09:37:43 UTC 2013
Hi.
Sysvinit doesn't build on the following system:
Buildroot: 2013.02
OS: Ubuntu 12.10 x64
The problem looks very similar to this....
http://buildroot-busybox.2317881.n4.nabble.com/Bug-2401-New-sysvinit-2-86-fails-to-build-on-MIPS-because-is-missing-lcrypt-td6901.html
Compile output is basically the same as the link above:
sulogin.c:(.text+0xf94): undefined reference to `crypt'
As I understand the problem is this...
sysvinit's makefile can't find libcrypt.a and doesn't add -lcrypt to
sulogin.c linker options.
On 64bit ubuntu the libcrypt.a is located at
/usr/lib/x86_64-linux-gnu/libcrypt.a
Best regards,
Roland Uuesoo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130312/3a36e8f5/attachment-0001.html>
More information about the buildroot
mailing list