Re: [Exim] Exim 4.30 on IRIX 6.5.19m: conflicting types for …

Pàgina inicial
Delete this message
Reply to this message
Autor: Giolla Decair
Data:  
A: exim-users
Assumpte: Re: [Exim] Exim 4.30 on IRIX 6.5.19m: conflicting types for `inet_ntoa'
Philip Hazel may one day have said:
> On Mon, 22 Dec 2003, Bernhard Erdmann wrote:
> > compiling Exim 4.30 on IRIX 6.5.19m using gcc 3.3 (SGI Freeware) I get
> > an error message:
> >
> >
> > [...]
> > gcc -c -O2 -DUSE_INET_NTOA_FIX -I.    header.c
> > gcc -c -O2 -DUSE_INET_NTOA_FIX -I.    host.c
> > host.c:46: error: conflicting types for `inet_ntoa'
> > /usr/include/arpa/inet.h:74: error: previous declaration of `inet_ntoa'
> > gmake[1]: *** [host.o] Error 1
> > gmake[1]: Leaving directory `/usr/local/src/exim-4.30/build-IRIX6-mips'
> > gmake: *** [go] Error 2
> I did a test compile on IRIX without any problems, but the release was
> 6.5.21m. Maybe something changed?


I had the same problem on 6.5.17m, but tended to get round it by
commenting out the decleration of inet_ntoa in
/usr/include/arpa/inet.h
for the duration of the compile.

I wonder if it's dependent on the version of make/gcc being used?

I'm using:
gcc version 3.3
GNU Make 3.80

On a clean install of IRIX 6.5.19m using IRIX make I get the same
error.

--
Giolla Decair
              "Missed it
               the moment to join in the laugh" - George Marsh