Re: [exim-dev] v4.51+libspf2 'make' failing w/ "conflicting …

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Markus Mayer
Data:  
Para: exim-dev
Asunto: Re: [exim-dev] v4.51+libspf2 'make' failing w/ "conflicting types for 'ns_type'"
On Tuesday, 21 Jun 2005 15:39 -0700, OpenMacNews wrote:

> i'm bldg Exim 4.51 on OSX 10.4.1 w/ spf & srs.

[...]

> however exim 'make' fails with:
>
>     cc -c -DSPF -I/usr/local/include/spf2 
>     -I/usr/local/berkeley-db/include -I/usr/local/include/spf2 
> -DCOMPILE_UTILITY -o util-spool_in.o spool_in.c
>     In file included from /usr/local/include/spf2/spf_server.h:22,
>                      from 
>                      /usr/local/include/spf2/spf.h:27,
>                      from spf.h:13,
>                      from exim.h:402,
>                      from spool_in.c:14:
>     /usr/local/include/spf2/spf_dns.h:82: error: conflicting types for 
>     'ns_type'
>     /usr/include/arpa/nameser.h:320: error: previous declaration of 
>     'ns_type' was here
>     make[1]: *** [util-spool_in.o] Error 1
>     make: *** [go] Error 2

>
> this, apparently, is a known issue:
>
>     <http://www.gossamer-threads.com/lists/engine?post=19019;list=spf>


Yes, it is. libspf2 changed its API (without documenting any of it as
it seems).

Please check the previous thread under
http://www.exim.org/mail-archives/exim-dev/2005-May/msg00027.html

-Markus