You are not logged in.

#1 2008-10-26 09:36:10

sargon
Member
Registered: 2006-07-05
Posts: 18

Problems building PAM

Hi,

I try to build all the packages for a i486 WRAP and so I wanted to build pam too. But the PAM build process crashes with:

gcc -march=i486 -mtune=generic -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -Wl,--as-needed -Wl,-O1 -o pam_conv1 pam_conv_l.o pam_conv_y.o   
pam_conv_l.o: In function `yylex':
pam_conv_l.c:(.text+0xda6): undefined reference to `yywrap'
collect2: ld returned 1 exit status
make[4]: *** [pam_conv1] Error 1
make[4]: Leaving directory `/home/i486/abs/core/pam/src/Linux-PAM-1.0.2/conf/pam_conv1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/i486/abs/core/pam/src/Linux-PAM-1.0.2/conf/pam_conv1'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/i486/abs/core/pam/src/Linux-PAM-1.0.2/conf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/i486/abs/core/pam/src/Linux-PAM-1.0.2'
make: *** [all] Error 2

the makepkg comes directly from abs, I also tried to deactivate all modification to the build process in the PKGBUILD but
with no success.

Any tips?

Offline

#2 2008-10-26 19:20:50

sargon
Member
Registered: 2006-07-05
Posts: 18

Re: Problems building PAM

Ok, found the problem.
PAM builds when i add flex to the build deps.
Again an not listened build dep.

Offline

#3 2008-10-27 09:55:43

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: Problems building PAM

sargon wrote:

Ok, found the problem.
PAM builds when i add flex to the build deps.
Again an not listened build dep.

That is correct. However, packages that are in the base and base-devel groups are not required and shouldn't be listed as dependencies; they are assumed to be installed (at least the more common ones).

Offline

#4 2008-10-27 16:54:24

sargon
Member
Registered: 2006-07-05
Posts: 18

Re: Problems building PAM

Okay, don't know that this is a auto build system dep, this explains my problems smile

Last edited by sargon (2008-10-27 16:54:45)

Offline

Board footer

Powered by FluxBB