Quantcast

[Bug 2401] New: sysvinit-2.86 fails to build on MIPS because is missing -lcrypt

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 2401] New: sysvinit-2.86 fails to build on MIPS because is missing -lcrypt

Bugzilla from bugzilla@busybox.net
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: [hidden email]
        ReportedBy: [hidden email]
                CC: [hidden email]
   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

--
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 mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt

Bugzilla from bugzilla@busybox.net
https://bugs.busybox.net/show_bug.cgi?id=2401

--- Comment #1 from Sérgio <[hidden email]>  ---
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

--
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 mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt

Bugzilla from bugzilla@busybox.net
In reply to this post by Bugzilla from bugzilla@busybox.net
https://bugs.busybox.net/show_bug.cgi?id=2401

--- Comment #2 from Thomas Petazzoni <[hidden email]>  ---
Ok, we need to pass LCRYPT=-lcrypt when building sysvinit. I'll cook a patch to
fix this. Thanks!

--
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 mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt

Bugzilla from bugzilla@busybox.net
In reply to this post by Bugzilla from bugzilla@busybox.net
https://bugs.busybox.net/show_bug.cgi?id=2401

--- Comment #3 from Thomas Petazzoni <[hidden email]>  ---
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.

--
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 mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt

Bugzilla from bugzilla@busybox.net
In reply to this post by Bugzilla from bugzilla@busybox.net
https://bugs.busybox.net/show_bug.cgi?id=2401

--- Comment #4 from Sérgio <[hidden email]>  ---
Fedora13.x86_64

--
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 mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt

Bugzilla from bugzilla@busybox.net
In reply to this post by Bugzilla from bugzilla@busybox.net
https://bugs.busybox.net/show_bug.cgi?id=2401

--- Comment #5 from Sérgio <[hidden email]>  ---
(In reply to comment #3)
> Here, even my limited
> x86_64 Debian 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  ?

--
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 mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt

Bugzilla from bugzilla@busybox.net
In reply to this post by Bugzilla from bugzilla@busybox.net
https://bugs.busybox.net/show_bug.cgi?id=2401

Thomas Petazzoni <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Thomas Petazzoni <[hidden email]>  ---
Thanks, fixed in my for-2010.08 branch.

--
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 mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Loading...