login
Header Space

 
 

Re: Problems compiling Elm and mail

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Sunday, August 9, 1992 - 5:24 pm

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?)
: 
: 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

You must be using the new gcc (2.2.2d).  That's the problem, and H. J.
has a patch out for that.  Please try the public release of gcc, instead
of the alpha versions.

If you are using a different version of gcc than 2.2.2 from the mcc-interim
release, please make sure the problem is not in the compiler before posting.
-- 
Ed Carp, N7EKG     erc@apple.com                801/538-0177
"This is the final task I will ever give you, and it  goes  on  forever.   Act
happy, feel happy, be happy, without a reason in the world. Then you can love,
and do what you will."           -- Dan Millman, "Way Of The Peaceful Warrior"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Problems compiling Elm and mail, Ed Carp, (Sun Aug 9, 5:24 pm)
speck-geostationary