tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Robert M. Lang" <lang () isis ! mit ! edu>
To: tru64-unix-managers
Subject: Problems building apop
Date: Fri, 27 Apr 2001 18:13:27 +0000	[thread overview]
Message-ID: <102653646721782.tru64-unix-managers.marc@archive.invalid> (raw)

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        |
------------------------------------------------------------------------------

                 reply	other threads:[~2001-04-27 18:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox