[Samba] Samba-2.2.7a Compile error --with-pam

Grant Bigham grantb at au1.ibm.com
Fri Jan 10 02:05:01 GMT 2003


Guys, I'm having some problems trying to compile Samba-2.2.7a --with-pam.
The ./configure works fine but the compile fails. I have no problems
--without-pam.

Any help would be greately appreciated.

Linux SuSE SLES7 on S390, Kernel 2.4.19, Samba 2.2.7a, gcc-2.95.3-62,
pam-0.74-34, pam-devel-0.74-34

./configure \
--prefix=/usr \
--sysconfdir=/etc/samba \
--localstatedir=/var/log/samba \
--libdir=/etc/samba \
--with-privatedir=/etc/samba \
--with-libdir=/etc/samba \
--with-lockdir=/var/lock/samba \ --with-piddir=/var/lock/samba \
--with-swatdir=/usr/share/swat \
--with-acl-support \ ; req'd for posix ACL support
--with-winbind \
--with-pam

make 2>errors

errors:
nsswitch/pam_winbind.c:97: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c: In function `winbind_request':
nsswitch/pam_winbind.c:111: `PAM_SERVICE_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:122: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c: In function `winbind_auth_request':
nsswitch/pam_winbind.c:154: `PAM_AUTH_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:158: `PAM_USER_UNKNOWN' undeclared (first use in
this function)
nsswitch/pam_winbind.c:164: `PAM_IGNORE' undeclared (first use in this
function)
nsswitch/pam_winbind.c:167: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:156: warning: unreachable code at beginning of
switch statement
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:236: parse error before `*'
nsswitch/pam_winbind.c: In function `_winbind_read_password':
nsswitch/pam_winbind.c:252: `pass' undeclared (first use in this function)
nsswitch/pam_winbind.c:258: `ctrl' undeclared (first use in this function)
nsswitch/pam_winbind.c:258: `PAM_OLDAUTHTOK' undeclared (first use in this
function)
nsswitch/pam_winbind.c:258: `PAM_AUTHTOK' undeclared (first use in this
function)
nsswitch/pam_winbind.c:265: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:266: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:277: `PAM_AUTHTOK_RECOVER_ERR' undeclared (first use
in this function)
nsswitch/pam_winbind.c:289: storage size of `msg' isn't known
nsswitch/pam_winbind.c:295: `comment' undeclared (first use in this
function)
nsswitch/pam_winbind.c:297: `PAM_TEXT_INFO' undeclared (first use in this
function)
nsswitch/pam_winbind.c:305: `PAM_PROMPT_ECHO_OFF' undeclared (first use in
this function)
nsswitch/pam_winbind.c:306: `prompt1' undeclared (first use in this
function)
nsswitch/pam_winbind.c:309: `prompt2' undeclared (first use in this
function)
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:330: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:330: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:330: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:334: `PAM_ERROR_MSG' undeclared (first use in this
function)
nsswitch/pam_winbind.c:348: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:348: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:348: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:348: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:348: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:348: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:385: syntax error before `int'
nsswitch/pam_winbind.c:385: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_authenticate':
nsswitch/pam_winbind.c:390: `PAM_AUTH_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:393: `argc' undeclared (first use in this function)
nsswitch/pam_winbind.c:393: `argv' undeclared (first use in this function)
nsswitch/pam_winbind.c:396: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:397: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:400: `PAM_SERVICE_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:409: `PAM_AUTHTOK_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:429: syntax error before `int'
nsswitch/pam_winbind.c:429: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_setcred':
nsswitch/pam_winbind.c:432: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:440: syntax error before `int'
nsswitch/pam_winbind.c:440: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt':
nsswitch/pam_winbind.c:444: `PAM_USER_UNKNOWN' undeclared (first use in
this function)
nsswitch/pam_winbind.c:447: `argc' undeclared (first use in this function)
nsswitch/pam_winbind.c:447: `argv' undeclared (first use in this function)
nsswitch/pam_winbind.c:450: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:451: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:454: `PAM_SERVICE_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:469: `PAM_IGNORE' undeclared (first use in this
function)
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:486: syntax error before `int'
nsswitch/pam_winbind.c:486: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_open_session':
nsswitch/pam_winbind.c:490: `argc' undeclared (first use in this function)
nsswitch/pam_winbind.c:490: `argv' undeclared (first use in this function)
nsswitch/pam_winbind.c:493: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:496: syntax error before `int'
nsswitch/pam_winbind.c:496: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_close_session':
nsswitch/pam_winbind.c:500: `argc' undeclared (first use in this function)
nsswitch/pam_winbind.c:500: `argv' undeclared (first use in this function)
nsswitch/pam_winbind.c:503: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:506: syntax error before `int'
nsswitch/pam_winbind.c:506: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_chauthtok':
nsswitch/pam_winbind.c:511: `argc' undeclared (first use in this function)
nsswitch/pam_winbind.c:511: `argv' undeclared (first use in this function)
nsswitch/pam_winbind.c:525: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:526: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:529: `PAM_USER_UNKNOWN' undeclared (first use in
this function)
nsswitch/pam_winbind.c:546: `flags' undeclared (first use in this function)
nsswitch/pam_winbind.c:546: `PAM_PRELIM_CHECK' undeclared (first use in
this function)
nsswitch/pam_winbind.c:554: `PAM_BUF_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:578: `PAM_ACCT_EXPIRED' undeclared (first use in
this function)
nsswitch/pam_winbind.c:579: `PAM_NEW_AUTHTOK_REQD' undeclared (first use in
this function)
nsswitch/pam_winbind.c:584: `PAM_OLDAUTHTOK' undeclared (first use in this
function)
nsswitch/pam_winbind.c:590: `PAM_UPDATE_AUTHTOK' undeclared (first use in
this function)
nsswitch/pam_winbind.c:614: `PAM_AUTHTOK_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:657: `PAM_SERVICE_ERR' undeclared (first use in this
function)
make: *** [nsswitch/pam_winbind.po] Error 1

Cheers, Grant

OS/390 Technical Consultant
IBM Global Services Australia




More information about the samba mailing list