trying to compile kdelibs snapshot , I get: /home/test/kde-sources/kdelibs4_snapshot/kdecore/netsupp.h:176: error: redefinition of 'struct addrinfo' /usr/include/netdb.h:539: error: previous definition of 'struct addrinfo'
the kdecore/netsupp.h is checking for : #if !defined(HAVE_GETADDRINFO) || defined(HAVE_BROKEN_GETADDRINFO) # ifndef HAVE_STRUCT_ADDRINF ... but none of these is defined here on my system: [EMAIL PROTECTED]:$ grep -i addrinf /usr/include/netdb.h /* Scope delimiter for getaddrinfo(), getnameinfo(). */ struct addrinfo struct addrinfo *ai_next; /* Pointer to next in list. */ const struct addrinfo *ar_request; /* Additional request specification. */ struct addrinfo *ar_result; /* Pointer to result. */ /* Possible values for `ai_flags' field in `addrinfo' structure. */ /* Error values for `getaddrinfo' function. */ extern int getaddrinfo (__const char *__restrict __name, __const struct addrinfo *__restrict __req, struct addrinfo **__restrict __pai); /* Free `addrinfo' structure AI including associated storage. */ extern void freeaddrinfo (struct addrinfo *__ai) __THROW; /* Convert error return from getaddrinfo() to a string. */ extern int getaddrinfo_a (int __mode, struct gaicb *__list[__restrict_arr], *********** I don't think it is wise to declare stuff in kdelibs , that should be declared in the system. _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
