[ldns-users] Missing rule for realloc.o

Alexander Gall gall at switch.ch
Fri Oct 26 14:17:11 UTC 2007


Never mind, I just noticed that this is already fixed in the svn
trunk.

-- 
Alex

On Fri, 26 Oct 2007 15:05:47 +0200, Alexander Gall <gall at switch.ch> said:

> On systems without a suitable realloc(), the built-in realloc can't be
> compiled because a rule is missing in the makefile

> make: *** No rule to make target `realloc.o', needed by `libldns.la'.  Stop.

> The attached patch fixes this (I noticed this by accident, my system
> actually has a usable realloc).  I wonder what the $U is for.  It
> doesn't seem to be defined anywhere, i.e. evaluates to an empty
> string.

> -- 
> Alex

> diff -Naur ldns-1.2.1.orig/Makefile.in ldns-1.2.1/Makefile.in
> --- ldns-1.2.1.orig/Makefile.in 2007-08-09 10:52:04.000000000 +0200
> +++ ldns-1.2.1/Makefile.in      2007-10-26 14:43:16.287294000 +0200
> @@ -196,6 +196,9 @@
>  tags:  $(srcdir)/*.c ldns/*.[ch]
>         ctags  -f $(srcdir)/tags $(srcdir)/*.[ch] ldns/*.[ch]
 
> +realloc$U.o:   $(srcdir)/compat/realloc.c
> +       $(COMP_LIB) -c $(srcdir)/compat/realloc.c -o $@
> +
>  b64_pton$U.o:  $(srcdir)/compat/b64_pton.c
>         $(COMP_LIB) -c $(srcdir)/compat/b64_pton.c -o $@
 

> _______________________________________________
> ldns-users mailing list
> ldns-users at open.nlnetlabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users




More information about the ldns-users mailing list