On 6/25/2008 at 4:12 AM, "bert hubert" <[EMAIL PROTECTED]> wrote:
> Available on: > http://downloads.powerdns.com/releases/pdns-recursor-3.1.7.tar.bz2 oddly enough, this built fine on FreeBSD6.2-RELEASE with gmake = GNU Make 3.81 when I tried to compile this on a RH ES3, with gmake = GNU Make version 3.79.1, I'd get: > Testing dependencies and compiler. > Using gmake to build > Makefile:45: Extraneous text after `else' directive > Makefile:48: *** only one `else' per conditional. Stop. Seemingly a missing 'endif' - but I am wondering why the newer gmake just completely ignored this? Fixed with: *** Makefile.dist 2008-06-24 14:23:33.000000000 -0400 --- Makefile 2008-08-10 11:59:50.000000000 -0400 *************** *** 43,52 **** LINKCC=$(CC) LDFLAGS += malloc.o -ldl -lm else ifeq ($(STATIC),full) ! STATICFLAGS=-lstdc++ $(LUALIBS) -ldl -lm -static ! LINKCC=$(CC) ! else ! LDFLAGS += malloc.o $(LUALIBS) endif --- 43,53 ---- LINKCC=$(CC) LDFLAGS += malloc.o -ldl -lm else ifeq ($(STATIC),full) ! STATICFLAGS=-lstdc++ $(LUALIBS) -ldl -lm -static ! LINKCC=$(CC) ! else ! LDFLAGS += malloc.o $(LUALIBS) ! endif endif Thanks, Jamie _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
