[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Linux-PAM compile error 0.65



Hi all,

While trying to compile Linux-PAM under Solaris v2.5.1 I get the
following errors. I am using CC=gcc in the default solaris.defs file.

gmake[1]: Entering directory `/usr/local/src/Linux-PAM-0.65/libpam'
mkdir -p dynamic
gcc -g -D__EXTENSIONS__ -Dsolaris -DLINUX_PAM  -D_POSIX_SOURCE 
-I/usr/local/src/Linux-PAM-0.65/include -KPIC -Dsolaris -Dsun
-DPAM_DYNAMIC  -D"DEFAULT_MODULE_PATH=\"/usr/lib/security/\""
-DPAM_DYNAMIC   -c pam_item.c -o dynamic/pam_item.o
gcc: unrecognized option `-KPIC'
In file included from
/usr/local/src/Linux-PAM-0.65/include/security/pam_appl.h:62,
                 from pam_private.h:24,
                 from pam_item.c:14:
/usr/local/src/Linux-PAM-0.65/include/security/_pam_compat.h:36:
warning: `PAM_REFRESH_CRED' redefined
/usr/local/src/Linux-PAM-0.65/include/security/_pam_types.h:119:
warning: this is the location of the previous definition
In file included from pam_private.h:25,
                 from pam_item.c:14:
/usr/local/src/Linux-PAM-0.65/include/security/pam_modules.h:132:
warning: `PAM_PRELIM_CHECK' redefined
/usr/local/src/Linux-PAM-0.65/include/security/_pam_compat.h:21:
warning: this is the location of the previous definition
/usr/local/src/Linux-PAM-0.65/include/security/pam_modules.h:136:
warning: `PAM_UPDATE_AUTHTOK' redefined
/usr/local/src/Linux-PAM-0.65/include/security/_pam_compat.h:24:
warning: this is the location of the previous definition
pam_item.c: In function `pam_set_item':
pam_item.c:133: `LOG_AUTHPRIV' undeclared (first use this function)
pam_item.c:133: (Each undeclared identifier is reported only once
pam_item.c:133: for each function it appears in.)
gmake[1]: *** [dynamic/pam_item.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/Linux-PAM-0.65/libpam'

Any ideas?

Regards,
Graham
-- 
-----------------------------------------
graham@vwv.com			"There's a moon
VWV Interactive				over Bourbon Street
						tonight...

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []