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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: OpenMacNews
Ημερομηνία:  
Προς: exim-dev LIST
Αντικείμενο: [exim-dev] v4.51+libspf2 'make' failing w/ "conflicting types for 'ns_type'"
hi all,

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

with some tweaking, libspf2-v1.2.5 seemingly builds OK:

% otool -L /usr/local/lib/libspf2.dylib
/usr/local/lib/libspf2.2.dylib (compatibility version 3.0.0, current version
3.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
88.0.0)
/usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version
365.0.0)
/usr/local/lib/libintl.3.dylib (compatibility version 8.0.0, current version
8.3.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0)

as does libsrs_alt-v1.0rc1:

% otool -L /usr/local/lib/libsrs_alt.dylib
/usr/local/lib/libsrs_alt.1.dylib (compatibility version 2.0.0, current
version 2.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
88.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0)

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>


that, alas, per the author, has not been resolved/responded to on the libspf2
list ...

i have a suspicion that this has to do with BIND_8_COMPAT on OSX, but dunno for
sure as yet ... AND it seems to be a prob on RH, where that's NOT relevant ...

thoughts?

thx,

richard