Bug 1941 - Out of tree build fails
Summary: Out of tree build fails
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2235
  Show dependency treegraph
 
Reported: 2005-11-28 16:26 UTC by Sami Wagiaalla
Modified: 2006-01-31 16:01 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/