Problems building apop

From: Robert M. Lang <lang_at_isis.mit.edu>
Date: Fri, 27 Apr 2001 14:13:27 -0400 (EDT)

Hi,

I'm admittedly clueless when using makefiles etc. (due mostly to the ones
that I've used in the past just plain working okay), but have come up
against a wall when trying to build apop into the qpopper application.

In 50 words or less, the command:

./configure --enable-apop=/etc/pop.auth --with-popuid=pop

runs without error, but the subsequent make terminates with errors:


=================================

[some stuff deleted]

cc: Error: popauth.c, line 120: In this declaration, the type of "srandom"
is not compatible with the type of a previous declaration of "srandom" at
line number 298 in file /usr/include/stdlib.h. (notcompat)
   extern void srandom();
---------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
=================================

Could somebody point me in the right direction. Obviously, the source
code is having problems with the definition of srandom... but having
taken "c" 15 years ago - well, let's say I need a refresher.

Thanks in advance.
rml

p.s. apologies for initially having sent this to the wrong address! Doh!
------------------------------------------------------------------------------
Bob Lang Room N42-140Q | This space for rent
Consultant MIT unix-vms-help |
Voice:617-253-7438 FAX: 617-258-9535 |
------------------------------------------------------------------------------
Received on Fri Apr 27 2001 - 18:19:07 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT