From: Rafal Kustra (rafal@utstat.uucp)
Date: 08/08/92


From: rafal@utstat.uucp (Rafal Kustra (summer student))
Subject: Re: Problems compiling Elm and mail
Date: Sat, 8 Aug 1992 19:51:37 GMT

In article <1992Aug7.002749.11212@constellation.ecn.uoknor.edu> callison@uokmax.ecn.uoknor.edu (James P. Callison) writes:
>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?)
>
No, you are not the lonely/only one with that. But for
all those hackers (thanks to whom we have Linux) it's too
trivial to report.-;) I'm C/**nix newbie but what I did was
to temporally comment out relevant parts in /usr/include
relevant .h files to get it to compile. Local mail works
fine now (you may need to symlink /usr to /var) and I
dunno how to check uucp.
As far as the warnings go - if it doesn't stop
compilling - why bother? ;)
>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

                                Rafal
                                g1krakow@cdf.toronto.edu
                                or above ...

-- 
/|| Numbers exist only in our minds. There is no physical entity that
 ||_is_ number 1. If there were, 1 would be in a place of honor in 
 || some great museum of science, and past it would file a steady
==== stream of mathematicians gazing at 1 in wonder and awe.