New: sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
https://bugs.busybox.net/show_bug.cgi?id=2401
Summary: sysvinit-2.86 fails to build on MIPS because is
missing -lcrypt
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: sergio at sergiomb.no-ip.org
CC: buildroot at uclibc.org
Estimated Hours: 0.0
with buildroot git version from today .
same config of bug #635 (https://bugs.busybox.net/attachment.cgi?id=2269)
buildroot/output/staging/usr/bin/mipsel-unknown-linux-uclibc-gcc --sysroot=buildroot/output/staging -o bootlogd bootlogd.o -lutil sulogin.o: In function `main':
sulogin.c:(.text+0xf94): undefined reference to `crypt'
collect2: ld returned 1 exit status
make[1]: *** [sulogin] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `buildroot/output/build/sysvinit-2.86/src'
make: *** [buildroot/output/build/sysvinit-2.86/src/init] Error 2
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
https://bugs.busybox.net/show_bug.cgi?id=2401
--- Comment #1 from S?rgio <[email protected]> --- Created attachment 2335
--> https://bugs.busybox.net/attachment.cgi?id=2335
fix problem on 64-bits host
Hi, with this patch , I could compile successfully sysvinit-2.86
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=2401
--- Comment #2 from Thomas Petazzoni <[email protected]> --- Ok, we need to pass LCRYPT=-lcrypt when building sysvinit. I'll cook a patch to fix this. Thanks!
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=2401
--- Comment #3 from Thomas Petazzoni <[email protected]> --- By the way, Sergio, which distribution are you using ? Here, even my limited x86_64 Debian chroot has /usr/lib/libcrypt.a, so I didn't see the potential problem.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=2401
--- Comment #4 from S?rgio <[email protected]> --- Fedora13.x86_64
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=2401
--- Comment #5 from S?rgio <[email protected]> --- (In reply to comment #3)
Quoted 3 lines
Here, even my limited
x86_64Debian chroot has/usr/lib/libcrypt.a, so I didn't see the potential problem.
yum provides */libcrypt.a
(...)
Repo : fedora
Filename : /usr/lib/dietlibc/lib-x86_64/libcrypt.a
uClibc-devel-0.9.30.1-2.fc12.x86_64 : Header files and libraries for uClibc library
Repo : fedora
Filename : /usr/lib64/uClibc/libcrypt.a
uClibc-devel-0.9.30.1-2.fc12.i686 : Header files and libraries for uClibc library
Repo : fedora
Filename : /usr/lib/uClibc/libcrypt.a
dietlibc-devel-0.32-0.fc12.i686 : dietlibc development files
Repo : fedora
Filename : /usr/lib/dietlibc/lib-i386/libcrypt.a
arm-gp2x-linux-glibc-2.3.6-7.fc12.noarch : Cross Compiled GNU C Library targeted at arm-gp2x-linux
Repo : fedora
Filename : /usr/arm-gp2x-linux/lib/libcrypt.a
glibc-static-2.12-3.x86_64 : C library static libraries for -static linking.
Repo : updates
Filename : /usr/lib64/libcrypt.a
glibc-static-2.12-3.i686 : C library static libraries for -static linking.
Repo : updates
Filename : /usr/lib/libcrypt.a
I have installed /usr/lib64/libcrypt.a,
Should I install also glibc-static-2.12-3.i686 ?
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=2401
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #6 from Thomas Petazzoni <[email protected]> --- Thanks, fixed in my for-2010.08 branch.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.