Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] 2013.02: sysvinit-2.88 build failure undefined reference to -lcrypt
@ 2013-03-12  9:37 Roland Uuesoo
  2013-03-13  0:04 ` Arnout Vandecappelle
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Uuesoo @ 2013-03-12  9:37 UTC (permalink / raw)
  To: buildroot

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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-14 21:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12  9:37 [Buildroot] 2013.02: sysvinit-2.88 build failure undefined reference to -lcrypt Roland Uuesoo
2013-03-13  0:04 ` Arnout Vandecappelle
2013-03-13  0:05   ` [Buildroot] [PATCH] sysvinit: fix linking of sulogin with -lcrypt Arnout Vandecappelle
2013-04-14 21:22     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox