I am attempting to get Qpopper to use the OSXS password server for account authentication. Has anyone succeeded in this; or been able to compile Qpopper 4.0.4 with PAM on Mac OSXS 10.2.4?
My 'make' breaks when it hits 'pop_pass.c' for quite a few issues (output below). thanks in advance for any suggestions.. ---------------------------------------- gcc -c -I.. -I.. -I. \ -I../mmangle -I../common \ -g -O2 -traditional-cpp -DHAVE_CONFIG_H -DDARWIN -DUNIX pop_pass.c -o pop_pass.o pop_pass.c:377: warning: `struct pam_response' declared inside parameter list pop_pass.c:377: warning: its scope is only this definition or declaration, which is probably not what you want pop_pass.c:377: warning: `struct pam_message' declared inside parameter list pop_pass.c: In function `PAM_qpopper_conv': pop_pass.c:385: `PAM_SYSTEM_ERR' undeclared (first use in this function) pop_pass.c:385: (Each undeclared identifier is reported only once pop_pass.c:385: for each function it appears in.) pop_pass.c:389: sizeof applied to an incomplete type pop_pass.c:391: `PAM_CONV_ERR' undeclared (first use in this function) pop_pass.c:396: dereferencing pointer to incomplete type pop_pass.c:398: `PAM_PROMPT_ECHO_ON' undeclared (first use in this function) pop_pass.c:399: invalid use of undefined type `struct pam_response' pop_pass.c:399: dereferencing pointer to incomplete type pop_pass.c:399: `PAM_SUCCESS' undeclared (first use in this function) pop_pass.c:400: invalid use of undefined type `struct pam_response' pop_pass.c:400: dereferencing pointer to incomplete type pop_pass.c:404: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function) pop_pass.c:405: invalid use of undefined type `struct pam_response' pop_pass.c:405: dereferencing pointer to incomplete type pop_pass.c:406: invalid use of undefined type `struct pam_response' pop_pass.c:406: dereferencing pointer to incomplete type pop_pass.c:410: `PAM_TEXT_INFO' undeclared (first use in this function) pop_pass.c:411: `PAM_ERROR_MSG' undeclared (first use in this function) pop_pass.c:412: invalid use of undefined type `struct pam_response' pop_pass.c:412: dereferencing pointer to incomplete type pop_pass.c:413: invalid use of undefined type `struct pam_response' pop_pass.c:413: dereferencing pointer to incomplete type pop_pass.c: At top level: pop_pass.c:428: variable `PAM_conversation' has initializer but incomplete type pop_pass.c:429: warning: excess elements in struct initializer pop_pass.c:429: warning: (near initialization for `PAM_conversation') pop_pass.c:431: warning: excess elements in struct initializer pop_pass.c:431: warning: (near initialization for `PAM_conversation') pop_pass.c: In function `auth_user': pop_pass.c:439: `pam_handle_t' undeclared (first use in this function) pop_pass.c:439: `pamh' undeclared (first use in this function) pop_pass.c:447: invalid use of undefined type `struct pam_conv' pop_pass.c:452: `PAM_SUCCESS' undeclared (first use in this function) pop_pass.c:476: warning: assignment makes pointer from integer without a cast pop_pass.c:485: warning: assignment makes pointer from integer without a cast pop_pass.c:491: `PAM_ESTABLISH_CRED' undeclared (first use in this function) pop_pass.c:494: warning: assignment makes pointer from integer without a cast pop_pass.c:501: `PAM_TTY' undeclared (first use in this function) pop_pass.c:509: `PAM_RHOST' undeclared (first use in this function) /usr/include/stdio.h: At top level: pop_pass.c:428: storage size of `PAM_conversation' isn't known make[1]: *** [pop_pass.o] Error 1 make: *** [popper_server] Error 2 .. . . . . . . . . . . Michael Dunston Music and Technology http://www.music.vt.edu Virginia Tech School of the Arts