problems with util-linux-32

Predrag Ivanovic predivan at
Mon Nov 17 03:11:35 UTC 2014

On Sun, 16 Nov 2014 23:29:26 +0000
Wawrzek Niewodniczanski wrote:

>It might be ;). I can use linux-pam Pkgfile with lib path change to
>lib32, can't I?

Touch .32bit in port dir, so pkgmk will build it as 32bit, and changing lib to lib32 should, in theory, 
do it.
But, it doesn't compile.

pam_conv_l.o: In function `yylex':
pam_conv_l.c:(.text+0x9b8): undefined reference to `yywrap'
collect2: error: ld returned 1 exit status
Makefile:317: recipe for target 'pam_conv1' failed
make[4]: *** [pam_conv1] Error 1
make[4]: Leaving directory '/usr/pkgmk/build/linux-pam/src/Linux-PAM-1.1.8/conf/pam_conv1'
Makefile:268: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/usr/pkgmk/build/linux-pam/src/Linux-PAM-1.1.8/conf/pam_conv1'
Makefile:318: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/usr/pkgmk/build/linux-pam/src/Linux-PAM-1.1.8/conf'
Makefile:368: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/pkgmk/build/linux-pam/src/Linux-PAM-1.1.8'
Makefile:297: recipe for target 'all' failed
make: *** [all] Error 2
=======> ERROR: Building '/usr/pkgmk/package/linux-pam#1.1.8-2.pkg.tar.gz' failed.

Which is a problem PAM build has with flex, it seems, according to this
There are few workarounds there, as well.



More information about the CRUX mailing list