At 4:03 PM +0200 7/2/02, Gennaro Esposito wrote: > Hmmm.... > Is there someone out there? > I've posted the following few days ago but no answer 'til now. > Maybe is out the scope of the list? Is it too much "O.S. dependent"? > Please, help me 'cause is very important for me to change the pop > daemon I'm using on this server. > TIA
My guess is that the problem is popauth.c has a prototype which declares srandom as void, while on your OS it has some other type. Qpopper started including prototypes for some standard system calls because they aren't included in the standard header files on all systems (*sigh*). Can you do two things? First, check how srandom is declared (try 'fgrep srandom /usr/include/*.h'). Also, try commenting out line 130 of popauth.c (the line that says 'extern void srandom()' amd see if that lets Qpopper compile for you. > > Greetings > I'm a newbie to qpopper and then, maybe, my question is already in > the dust from eras....but, anyway... > I'm trying to compile the Qpopper 4.0.4 on my good old Digital > Alpha Server 1000/4 266 w/ DEC Unix 4.0F (and patches ;-) ), using > gcc 2.7.2. > The "configure" process is gone well and here you can take a look > to my parameters: > # ./configure --disable-update-abort --enable-apop > --enable-bulletins --enable-group-bulls > --enable-nonauth-file=/etc/pop-nonauth > --enable-poppassd --enable-popuid=pop --enable-server-mode > --disable-specialauth > As you can see, my intention is to use the APOP authentication alghoritm. > But the "make" phase let me out of any control with the following > error message, compiling popauth: > gcc -c -I.. -I.. -I. -I../mmangle -I../common -O2 -DHAVE_CONFIG_H > -DOSF1 -DUNIX popauth.c -o popauth.o > popauth.c:130: conflicting types for `srandom' > /usr/local/lib/gcc-lib/alpha-dec-osf4.0/2.7.2/include/stdlib.h:321: > previous declaration of `srandom' > *** Exit 1 > Gosh!!! Have you, qpopper gurus, any idea to resolve my problem? > TIA > > ---------- > Gennaro Esposito > (System & Security Engineer) > MARS Center ***************************** > Via E. Gianturco,31 * YES! I SUPPORT * > I-80146 - Napoli - ITALY * * > ph.: +39 081-6042 493 * _/_/ _ _/_/ * > fax...: +39 081-6042 100 * _/_/===x===_/_/ * > mailto:[EMAIL PROTECTED] * _/_/ _/_/ * > http://www.marscenter.it * * > ftp://ftp.marscenter.it *International Space Station* > *****************************
