Andreas Jaeger <[EMAIL PROTECTED]> writes: > I know have a problem building gcc mainline with a parallel build on > Linux/x86-64: > > /usr/include/java/net/URL.h:25: error: global qualification of class name is > inva > lid before ':' token > /usr/include/java/security/ProtectionDomain.h:24: error: global qualification > of > class name is invalid before ':' token > make[5]: *** [gij.lo] Error 1 > > Are there some missing dependendencies?
It's missing target directories, fixed by this patch. Bootstrapped on ia64-suse-linux and checked in as obvious. Andreas. 2005-07-16 Andreas Schwab <[EMAIL PROTECTED]> * scripts/makemake.tcl (emit_package_rule): Emit command to create target directory. * Makefile.am (%.lo): Don't create it here. * sources.am, Makefile.in: Regenerated. --- gcc/libjava/Makefile.am.~1.494.~ 2005-07-16 18:19:40.000000000 +0200 +++ gcc/libjava/Makefile.am 2005-07-16 18:33:15.000000000 +0200 @@ -345,7 +345,6 @@ lib-gnu-awt-xlib.la: $(lib_gnu_awt_xlib_ ## Compiling a list of java sources to a single .o. %.lo: %.list - -mkdir $(dir $@) > /dev/null 2>&1 $(LTGCJCOMPILE) -c -o $@ -MT $@ -MD -MP -MF $(basename $@).deps @$< ## ################################################################ --- gcc/libjava/scripts/makemake.tcl.~1.1.~ 2005-07-16 03:27:13.000000000 +0200 +++ gcc/libjava/scripts/makemake.tcl 2005-07-16 18:32:35.000000000 +0200 @@ -239,6 +239,7 @@ proc emit_package_rule {package} { # A rule to make the phony file we are going to compile. puts "$lname: \$($varname)" + puts "[EMAIL PROTECTED](mkinstalldirs) \$(dir \$@)" puts "[EMAIL PROTECTED] file in \$($varname); do \\" puts "\t if test -f \$(srcdir)/\$\$file; then \\" puts "\t echo \$(srcdir)/\$\$file; \\" -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."