Make or Makefile problem?
Neale Ferguson
neale at sinenomine.net
Fri Apr 3 15:04:41 UTC 2009
I¹m building icedtea6-1.4.1 and am encountering the following error:
/bin/mkdir -p
/home/neale/icedtea6-1.4.1/openjdk-ecj/control/build/linux-s390x/tmp
rm -f
/home/neale/icedtea6-1.4.1/openjdk-ecj/control/build/linux-s390x/tmp/rt-orig
.jar
ifneq (,1)
/bin/sh: -c: line 0: syntax error near unexpected token `,1'
/bin/sh: -c: line 0: `ifneq (,1)'
make[2]: ***
[/home/neale/icedtea6-1.4.1/openjdk-ecj/control/build/linux-s390x/tmp/rt-ori
g.jar] Error 2
make[2]: Leaving directory `/home/neale/icedtea6-1.4.1/openjdk-ecj/jdk/make'
It appears due to this part of the recipe:
$(RT_JAR): $(if $(JAR_KNOWS_ATFILE),$(RT_JAR_FILELIST),$(RT_JAR_ARGLIST)) \
$(JAR_MANIFEST_FILE)
$(prep-target)
ifneq (,$(JAR_KNOWS_ATFILE))
(cd $(CLASSBINDIR) && \
$(BOOT_JAR_CMD) c0mf $(JAR_MANIFEST_FILE) $@ \
$(JAR_JFLAGS) @$(RT_JAR_FILELIST))
else
:
I'm using GNU make 3.81.
Neale
More information about the build-dev
mailing list