Re: [EXIM] Problem compiling Exim 3.00 on SunOS 4

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dr Andrew C Aitchison
Dátum:  
Címzett: Harald Meland
CC: exim-users
Tárgy: Re: [EXIM] Problem compiling Exim 3.00 on SunOS 4
On 18 May 1999, Harald Meland wrote:

> Trying to compile Exim 3.00 using gcc-2.7.2.1 on SunOS 4.1.4 produces
> this:
>
>   gcc -c -O    -I. globals.c
>   globals.c:46: `getc' undeclared here (not in a function)
>   globals.c:47: `ungetc' undeclared here (not in a function)
>   globals.c:48: `feof' undeclared here (not in a function)
>   globals.c:49: `ferror' undeclared here (not in a function)
>   make[1]: *** [globals.o] Error 1

>
> I don't understand what's going on -- at first I thought it was a libc
> function vs. includefile macro issue, but #undef-ing the names
> immediately before line 46 in globals.c didn't help. If anyone have
> any hints, I'd much appreciate them.


I have this problem on a similar setup (SunOS 4.1.3_U1, gcc 2.7.2.)
Phil has sent me a patch which allows exim 3 to compile.
I haven't rushed to test the binary since I have around 50 machines
and switching from v2 to v3 needs to be done carefully.

Dr. Andrew C. Aitchison        Computer Officer, DPMMS, Cambridge
A.C.Aitchison@???    http://www.dpmms.cam.ac.uk/~werdna



--
*** Exim information can be found at http://www.exim.org/ ***