On Son 18.06.2006 18:29, William Ahern wrote:
>
>Is it just me or are others unable to build adig or ahost from a
>snapshot?
No.
>ahost has a compile error (seems like HAVE_STRUCT_IN6_ADDR is not
>properly set) trying to redefine struct in6_addr. And both ahost and
>adig can't find the symbol ares_inet_ntop() in the compiled library (nm
>shows that symbol isn't there at all).
I have changed the makefile but the problem is that this files are only
examples and shouldn't be installed.
Here my patch but be warned if you 'make install' both programs would be
installed.
--- diff -ru curl_cvs_20060421_1/ares/Makefile.am curl_cvs_20060421/ares/Makefile.am --- curl_cvs_20060421_1/ares/Makefile.am 2005-11-12 01:01:50.000000000 +0100 +++ curl_cvs_20060421/ares/Makefile.am 2006-04-21 15:30:23.000000000 +0200 @@ -1,7 +1,12 @@ AUTOMAKE_OPTIONS = foreign +bin_PROGRAMS = adig ahost +adig_SOURCES = adig.c +ahost_SOURCES = ahost.c lib_LTLIBRARIES = libcares.la +LDADD = $(LTLIBRARIES) + man_MANS = $(MANPAGES) MSVCFILES = vc/adig/adig.dep vc/adig/adig.dsp vc/vc.dsw vc/ahost/ahost.dep \ --- Hth && regards AlexReceived on Mon Jun 19 08:22:55 2006