make errors in pop_pass.c (on RH Linux ES3)
Ken Hohhof <ken <at> mixedsignal.com>
2004-11-30 00:29:07 GMT
I have previously used Qpopper 4.0.4 on RH Linux 7 with no problems. Now I
am trying to build another server using Qpopper 4.0.5 on RH Enterprise
Server 3 and am getting make errors due to pop_pass.c even though the code
seems the same.
I am not a C programmer, but on casual inspection it does look like in line
432, a structure PAM_conversation is being initialized using a type pam_conv
that is never defined.
Is this a problem that previous gcc compilers have ignored but now are
flagging as a potential buffer overflow problem or something like that?
Please, does anyone know a fix for this problem? A Google search shows
someone with the same problem on Mac OSX but no resolution.
-g -O2 -DHAVE_CONFIG_H -DLINUX -DUNIX pop_pass.c -o pop_pass.o
pop_pass.c:381: warning: `struct pam_response' declared inside parameter
list
pop_pass.c:381: warning: its scope is only this definition or declaration,
which
is probably not what you want
pop_pass.c:381: warning: `struct pam_message' declared inside parameter list
pop_pass.c: In function `PAM_qpopper_conv':
pop_pass.c:389: `PAM_SYSTEM_ERR' undeclared (first use in this function)
pop_pass.c:389: (Each undeclared identifier is reported only once
pop_pass.c:389: for each function it appears in.)
pop_pass.c:393: sizeof applied to an incomplete type
pop_pass.c:395: `PAM_CONV_ERR' undeclared (first use in this function)
pop_pass.c:400: dereferencing pointer to incomplete type
pop_pass.c:402: `PAM_PROMPT_ECHO_ON' undeclared (first use in this function)
(Continue reading)