Mail Archives: cygwin/2006/03/08/14:30:38
--------------enig2D60D7F1138807A0840181CB
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
>>> 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?
>=20
> 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=3Dgnulib. 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*
--------------enig2D60D7F1138807A0840181CB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEDzC/7Ww7FjRBE4ARAlMrAJ425IaqaA43awiuPPNsa5qABKS2nQCeLYD2
G6f/YGqRSWzr7CUt/SCwvy4=
=ZfbW
-----END PGP SIGNATURE-----
--------------enig2D60D7F1138807A0840181CB--
- Raw text -