From: callison@uokmax.ecn.uoknor.edu (James P. Callison) Subject: Problems compiling Elm and mail Date: 7 Aug 1992 00:27:49 GMT
I'm having problems compiling Elm2.3 and mail from Mailpak1.2 (dated 18 July, I
think). On elm, it gets to the point where it trys to compile opt_utils, then
crashes with the following messages:
opt_utils.c:287: conflicting types for 'strspn'
/usr/include/string.h:42: previous declaration of 'strspn'
opt_utils.c:313: conflicting types for 'strcspn'
/usr/include/string.h:33: previous declaration of 'strcspn'
make[1]: *** [opt_utils.o] Error 1
make: *** [all] Error 1
mail has many more warnings, almost all about "assignment makes integer from
pointer without a cast". There's also ther following message:
main.c:118:'SIGCLD' undeclared (first use this function)
in the function "main"
There was also the following message from function 'setsig'
main.c:151: warning: assignment from incompatible pointer type
main.c:151: warning: comparison of distinct pointer types lacks a cast
main.c:152: warning: passing arg 2 of 'signal' from incompatible pointer
type
Can someone give me an idea of how to get around this? (And how I seem to be
the only one who is having troubles like this?)
I'm running 0.97 (compiled w/out SCSI support; it's running just fine,
thankyouverymuch!) on a Northgate AMD386DX-33, 8M RAM, 130M Seagate ST3144A
IDE HD, 5M swap, GCC 2.2.2 with both lib fixes applied, symlinks btn
/usr/include and /usr/src/linux/include. The UUCP stuff compiled just fine
(I read all the Readmes and notes, and did what they said, BTW).
Any help would be appreciated....
James
James P. Callison Microcomputer Coordinator OU Law Library
Callison@aardvark.ucs.uoknor.edu /\ Callison@uokmax.ecn.uoknor
constellation!biglaw!callison@mailhost.ecn.uoknor.edu
DISCLAIMER: I'm not an engineer, but I play one at work...
Lawyers get you out'n the kind of trouble you'd never get in
if there was no lawyers. -- Cowboy logic