At 16 May 2003 15:43:03 -0500,
Jerry James wrote:
This appears to mean that your make does not understand $^. Can you
look in the modules/postgresql subdirectory of your build directory, and
examine the Makefile? There should be a couple of lines that look like
this:
$(MODNAME).ell: $(OBJS) $(MODNAME)_i.o
$(MODCC) --mode=link --mode=verbose --mod-output=$@ $^ $(LDFLAGS)
That's just right :) I've fixed by the patch:
--- modules/common/Makefile.common~ Tue Feb 4 08:33:04 2003
+++ modules/common/Makefile.common Mon May 19 13:41:12 2003
@@ -62,7 +62,7 @@
$(MODCC) $(MODCFLAGS) -c $<
$(MODNAME).ell: $(OBJS) $(MODNAME)_i.o
- $(MODCC) --mode=link --mode=verbose --mod-output=$@ $^ $(LDFLAGS)
+ $(MODCC) --mode=link --mode=verbose --mod-output=$@ ${.ALLSRC} $(LDFLAGS)
$(MODNAME)_i.c: $(SRCS)
ELLMAKEDOC=$(MAKE_DOCFILE) $(MODCC) --mode=init --mod-output=$@ \
Does that match your Makefile? From the FreeBSD documentation, it
appears that $_ has the same meaning. If you change $^ to $_, does the
build progress beyond the building of the postgresql module?
All build were gone in no troubles.
Note to myself: if we just replace "$^" with "$(OBJS)
$(MODNAME)_i.o",
then I won't have to worry about this.
$^ may correspond to ${.ALLSRC}(but not exact
equally). On the FreeBSD ports/packages system, these
problems which caused by userland's differecnces would be
included by ports patches and may not be changed original
sources:)
Thanks.