Bug 1941

Summary: Out of tree build fails
Product: frysk Reporter: Sami Wagiaalla <swagiaal>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2235    

Description Sami Wagiaalla 2005-11-28 16:26:39 UTC
I get this when trying an out of tree build of frysk

...

257 problems (257 warnings)*** creating
/to/scratch/swagiaal/frysk.bin/frysk-imports/antlr/antlr/antlr.jar ..
make[2]: Leaving directory
`/to/scratch/swagiaal/frysk.bin/frysk-imports/antlr/antlr'
cp antlr/antlr/antlr.jar .
cd cdtparser && make
make[2]: Entering directory `/to/scratch/swagiaal/frysk.bin/frysk-imports/cdtparser'
rm -rf classdir
mkdir -p classdir
classdir=`cd classdir && pwd` ; \
cd ../../../frysk/frysk-imports/cdtparser ; \
gcj -C -I -O -g -d $classdir @file.list
./org/eclipse/cdt/internal/core/dom/parser/c/CASTEnumerationSpecifier.java: In
class 'org.eclipse.cdt.internal.core.dom.parser.c.CASTEnumerationSpecifier':
./org/eclipse/cdt/internal/core/dom/parser/c/CASTEnumerationSpecifier.java: In
method
'org.eclipse.cdt.internal.core.dom.parser.c.CASTEnumerationSpecifier.addEnumerator(org.eclipse.cdt.core.dom.ast.IASTEnumerationSpecifier$IASTEnumerator)':
./org/eclipse/cdt/internal/core/dom/parser/c/CASTEnumerationSpecifier.java:32:
error: Class
'org.eclipse.cdt.core.dom.ast.c.ICASTEnumerationSpecifier.IASTEnumerator' not
found in type declaration.
                enumerators =
(org.eclipse.cdt.core.dom.ast.IASTEnumerationSpecifier.IASTEnumerator[])
ArrayUtil.append(
org.eclipse.cdt.core.dom.ast.c.ICASTEnumerationSpecifier.IASTEnumerator.class,
enumerators, enumerator );
                                                                               
                                            ^
./org/eclipse/cdt/internal/core/dom/parser/c/CASTEnumerationSpecifier.java: In
method
'org.eclipse.cdt.internal.core.dom.parser.c.CASTEnumerationSpecifier.getEnumerators()':
./org/eclipse/cdt/internal/core/dom/parser/c/CASTEnumerationSpecifier.java:41:
error: Class
'org.eclipse.cdt.core.dom.ast.c.ICASTEnumerationSpecifier.IASTEnumerator' not
found in type declaration.
           enumerators =
(org.eclipse.cdt.core.dom.ast.IASTEnumerationSpecifier.IASTEnumerator[])
ArrayUtil.removeNullsAfter(
org.eclipse.cdt.core.dom.ast.c.ICASTEnumerationSpecifier.IASTEnumerator.class,
enumerators, enumeratorsPos );
                                                                               
                                              ^
2 errors
make[2]: *** [classdir] Error 1
make[2]: Leaving directory `/to/scratch/swagiaal/frysk.bin/frysk-imports/cdtparser'
make[1]: *** [cdtparser/cdtparser.jar] Error 2
make[1]: Leaving directory `/to/scratch/swagiaal/frysk.bin/frysk-imports'
make: *** [all-recursive] Error 1
Comment 1 Andrew Cagney 2005-11-28 22:06:36 UTC
Index: ChangeLog
2005-11-28  Andrew Cagney  <cagney@redhat.com>

        Revert 2005-11-25 change:
        * configure.ac (AC_CONFIG_SUBDIRS([antlr]): Delete.
        (ANTLR_JAR, JDOM_JAR): Optionally set from the environment.
        (PKG_CONFIG_PATH): Move to before all PKG_CHECK_MODULES.
        * autogen.sh: Specify ANTLR_JAR.
        * Makefile.am (SUBDIRS): Delete antlr/