qpopper-request | 1 Nov 2004 09:01
Favicon

Qpopper Monthly Help File

         M O N T H L Y   Q P O P P E R   L I S T   H E L P

Addresses:
----------

Email addresses for this particular list server:

  List server:           qpopper-request <at> lists.pensive.org
  Everyone on the list:  qpopper <at> lists.pensive.org
  Human in charge:       listmaster <at> lists.pensive.org

Virtually,
The List Server Admin <listmaster <at> lists.pensive.org>

Ken Hohhof | 30 Nov 2004 01:29

make errors in pop_pass.c (on RH Linux ES3)

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)

Ken Hohhof | 1 Dec 2004 05:59

Re: make errors in pop_pass.c (on RH Linux ES3)

Resolution:  My problem was some missing RPMs, I needed to install 
pam-devel and gdbm-devel packages.  Plus a couple symlinks.  Qpopper is now 
compiled and running.

Thanks to Jason Philbrook for putting me on the right track.

qpopper-request | 1 Dec 2004 09:01
Favicon

Qpopper Monthly Help File

         M O N T H L Y   Q P O P P E R   L I S T   H E L P

Addresses:
----------

Email addresses for this particular list server:

  List server:           qpopper-request <at> lists.pensive.org
  Everyone on the list:  qpopper <at> lists.pensive.org
  Human in charge:       listmaster <at> lists.pensive.org

Virtually,
The List Server Admin <listmaster <at> lists.pensive.org>


Gmane