Hmmm... I am seeing some strangeness trying to get trunk to
build on FreeBSD 10.1... I get to ./server/ and then the
build dies w/

   -DCROSS_COMPILE -o gen_test_char 
   make[2]: exec(-DCROSS_COMPILE) failed (No such file or directory)
   *** Error code 1

It looks like the Makefile.in->Makefile process is causing issues.
This is what I get in the Makefile:


   .include "$(top_builddir)/build/rules.mk"
   .include "$(top_srcdir)/build/library.mk"

   .ifdef CC_FOR_BUILD
   gen_test_char: gen_test_char.c
        $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -DCROSS_COMPILE -o $@ $<
   .else
   gen_test_char_OBJECTS = gen_test_char.lo
   gen_test_char: $(gen_test_char_OBJECTS)
        $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS)
   .endif

So we can see where the error is... those shell vars aren't
defined/found. But why?

Reply via email to