sys-devel/gcc-4.5.4 sys-libs/glibc-2.15-r2 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Os -march=pentium3 -mtune=core2 -mfpmath=sse -fomit-frame-pointer -pipe -Wp,-MD,.deps/libproxychains.pp -c libproxychains.c -fPIC -DPIC -o .libs/libproxychains.o libproxychains.c:291:5: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:679:12: note: previous declaration of 'getnameinfo' was here make[3]: *** [libproxychains.lo] Error 1 In libproxychains.c: int getnameinfo (const struct sockaddr * sa, socklen_t salen, char * host, socklen_t hostlen, char * serv, socklen_t servlen, unsigned int flags) In netdb.h: extern int getnameinfo (__const struct sockaddr *__restrict __sa, socklen_t __salen, char *__restrict __host, socklen_t __hostlen, char *__restrict __serv, socklen_t __servlen, int __flags); Changing flags type to int makes the compilation succeed (the internal variable is an int anyway).
Err... ignore the comment about the internal variable.
See also the patch agains glibc-2.15 in bug #408427.
Fixed in proxychains-3.1_p20110225-r1 in CVS.
*** Bug 447174 has been marked as a duplicate of this bug. ***