Linda W
2013-Jul-02 01:36 UTC
[Samba] Problems building new 3.6.16: getting symbols from local sys AND "../lib/replace
Shouldn't it use one or the other? In file included from ./../nsswitch/winbind_nss_config.h:46:0, from ../nsswitch/libwbclient/libwbclient.h:31, from ../nsswitch/libwbclient/wbc_guid.c:26: ./../lib/replace/system/network.h:134:8: error: redefinition of ?struct ifaddrs? struct ifaddrs { ^ In file included from ./../lib/replace/system/network.h:130:0, from ./../nsswitch/winbind_nss_config.h:46, from ../nsswitch/libwbclient/libwbclient.h:31, from ../nsswitch/libwbclient/wbc_guid.c:26: /usr/include/ifaddrs.h:29:8: note: originally defined here struct ifaddrs ^ In file included from ./../nsswitch/winbind_nss_config.h:46:0, from ../nsswitch/libwbclient/libwbclient.h:31, from ../nsswitch/libwbclient/wbc_guid.c:26: ./../lib/replace/system/network.h:147:5: error: conflicting types for ?rep_getifaddrs? int rep_getifaddrs(struct ifaddrs **); ^ In file included from ../nsswitch/libwbclient/wbc_guid.c:25:0: ./../lib/replace/replace.h:538:20: note: previous declaration of ?rep_getifaddrs? was here #define getifaddrs rep_getifaddrs ^ In file included from ./../nsswitch/winbind_nss_config.h:46:0, from ../nsswitch/libwbclient/libwbclient.h:31, from ../nsswitch/libwbclient/wbc_guid.c:26: ./../lib/replace/system/network.h:151:6: error: conflicting types for ?rep_freeifaddrs? void rep_freeifaddrs(struct ifaddrs *); ^ In file included from ../nsswitch/libwbclient/wbc_guid.c:25:0: ./../lib/replace/replace.h:543:21: note: previous declaration of ?rep_freeifaddrs? was here #define freeifaddrs rep_freeifaddrs ^ I'm not sure which one is on, in error or which I should turn off? ====================Also configure claims the default for libaddns: --with-libaddns Build the libaddns shared library (default=no (undefined API)) is no. But I see: make: *** [../lib/addns/error.o] Error 1 make: *** [../lib/addns/dnsmarshall.o] Error 1 That sorta looks like it might be building libaddns...or is that just a coincidence?