[Buildroot] add pam to busybox

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Sep 1 08:08:00 UTC 2011


Le Sun, 28 Aug 2011 22:34:09 -0700 (PDT),
brro1 <rotembr at gmail.com> a écrit :

> hi all
> i tryed to add pam tp busybox. 
> i make pam with build=i386-linux --host=arm-none-linux-gnueabi  and enable
> pam at busybox config file
> when i build the busybox i see this error
> LINK    busybox_unstripped
> Trying libraries: crypt m pam pam_misc
> Failed: -Wl,--start-group -lcrypt -lm -lpam -lpam_misc -Wl,--end-group
> .....
> skipping incompatible /Linux-PAM-0.80/libpam/libpam.a when searching for
> -lpam
> /CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/./../../../arm-none-linux-gnueabi/bin/ld:
> cannot find -lpam
> skipping incompatible /Linux-PAM-0.80/libpam/libpam.so when searching for
> -lpam
> /CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/./../../../arm-none-linux-gnueabi/bin/ld:
> cannot find -lpam
> collect2: ld returned 1 exit status
> make[1]: *** [busybox_unstripped] Error 1
> make[1]: Leaving directory
> how can i fixed this error?

I guess your pam is improperly configured, compiled or installed.

I would recommend to add the necessary pam packages to the Buildroot
packages and then make Busybox depend on it.


Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list