problem compiling libPAM under debian 3.1r6 :-S

padre at correo.ugr.es padre at correo.ugr.es
Mon Dec 10 16:26:05 UTC 2007


Hello!

I'm a spanish student.I have some problems with PAM code:

I'm try to compile libPAM on my system,cause i modified the source code
just for fan. My code is OK, but got some problems compiling.

Cause i thought that my code was wrong,I tried to download and recompile
libPAM as it.I did "./configure && make".

I always got the same error (on my modified version & on "normal" version)

This is the output:

---------------------------------------------------------------------------

make[3]: Entering directory
`/root/Linux-PAM-0.79/modules/pam_filter/upperLOWER'
gcc -Wall -Wwrite-strings       -Wpointer-arith -Wcast-qual -Wcast-align
     -Wstrict-prototypes -Wmissing-prototypes        -Wnested-externs
-Winline -Wshadow -Dlinux -g -O2   -I./include
-I/root/Linux-PAM-0.79/libpam/include -I/root/Linux-PAM-0.79
-I/root/Linux-PAM-0.79/libpamc/include  -fPIC -I../include
-I../../pammodutil/include -o upperLOWER upperLOWER.o  -L../../pammodutil
-lpammodutil
/usr/lib/libc_nonshared.a(elf-init.oS)(.text.__i686.get_pc_thunk.bx+0x0):
En la función `__i686.get_pc_thunk.bx':
: definiciones múltiples de `__i686.get_pc_thunk.bx'
upperLOWER.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/root/Linux-PAM-0.79/modules/pam_filter/upperLOWER/upperLOWER.c:35:
primero se definió aquí
collect2: ld devolvió el estado de salida 1
make[3]: *** [upperLOWER] Error 1
make[3]: Leaving directory
`/root/Linux-PAM-0.79/modules/pam_filter/upperLOWER'
make[2]: *** [filters] Error 2
make[2]: Leaving directory `/root/Linux-PAM-0.79/modules/pam_filter'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/Linux-PAM-0.79/modules'
make: *** [modules] Error 2
petalo:~/Linux-PAM-0.79#

---------------------------------------------------------------------

Somebody got the same problem? Maybe i did to pass some "specia option" to
./configure? Maybe the code is wrong?

petalo:~/Linux-PAM-0.79# uname -a
Linux petalo 2.6.8 #1 Fri Dec 7 21:15:40 CET 2007 i686 GNU/Linux
petalo:~/Linux-PAM-0.79#

Thanks for all!
:-)






More information about the Pam-list mailing list