>>> i'd like to compile cvs 1.12.13 for doing some testing, but it doesn't >>> compile :-( >>> >>> Does somebody have a clue, what the following may mean and how i could >>> work around it? > > It looks like cvs is using an older version of gnulib's getaddrinfo.c > replacement module, which until recently has had some bugs when used on > cygwin (I know, because those same compile errors were present in CVS > coreutils, prompting the fixes in gnulib). As a workaround, you may be > able to just drop in the latest copy of getaddrinfo.[hc] from > http://cvs.savannah.gnu.org/viewcvs/gnulib/lib/?root=gnulib. Otherwise, > ask upstream at the cvs development list for them to pull in newer files > from gnulib and spin cvs 1.12.14.
Well, i've grabbed the latest version of getaddrinfo.* from CVS and added "-DHAVE_NETINET_IN_H" to the CFLAGS, but now i still get those errors: make[3]: Entering directory `/tmp/install/cvs-1.12.13/lib' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Ino/include -DHAVE_NETINET_IN_H -MT getaddrinfo.o -MD -MP -MF ".deps/getaddrinfo.Tpo" -c -o getaddrinfo.o getaddrinfo.c; \ then mv -f ".deps/getaddrinfo.Tpo" ".deps/getaddrinfo.Po"; else rm -f ".deps/getaddrinfo.Tpo"; exit 1; fi getaddrinfo.c: In function `getaddrinfo': getaddrinfo.c:115: warning: assignment makes pointer from integer without a cast getaddrinfo.c:116: error: dereferencing pointer to incomplete type getaddrinfo.c:119: error: dereferencing pointer to incomplete type getaddrinfo.c:141: error: dereferencing pointer to incomplete type getaddrinfo.c:175: error: dereferencing pointer to incomplete type getaddrinfo.c:177: error: dereferencing pointer to incomplete type getaddrinfo.c:183: error: dereferencing pointer to incomplete type getaddrinfo.c:199: error: dereferencing pointer to incomplete type getaddrinfo.c:200: error: dereferencing pointer to incomplete type getaddrinfo.c:214: error: dereferencing pointer to incomplete type make[3]: *** [getaddrinfo.o] Error 1 make[3]: Leaving directory `/tmp/install/cvs-1.12.13/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/install/cvs-1.12.13/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/install/cvs-1.12.13' make: *** [all] Error 2 *sigh*
signature.asc
Description: OpenPGP digital signature