Big Classpath Merge warning

Andreas Schwab schwab@suse.de
Sat Jul 16 17:40:00 GMT 2005


Andreas Jaeger <aj@suse.de> 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 <schwab@suse.de>
	* 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 "\t@\$(mkinstalldirs) \$(dir \$@)"
 puts "\t@for file in \$($varname); do \\"
 puts "\t if test -f \$(srcdir)/\$\$file; then \\"
 puts "\t echo \$(srcdir)/\$\$file; \\"
-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
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."


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /