This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Gcc-3.0.4 make fails


Hi all,
I have successfully built and installed binuitls-2.11.2 and am trying to
build gcc-3.0.4 for a m68k target on a powerpc-apple-darwin5.3 host.

The configure utility for gcc works fine identifying the correct host etc..
And creates the makefile.

However, when I try a make all install the make bombs. The last few lines of
the make log look like this:

../../gcc-3.0.4/gcc/f/expr.c:8171: illegal external declaration, found `)'
../../gcc-3.0.4/gcc/f/expr.c:8189: illegal external declaration, missing `;'
after `ffelexHandler'
../../gcc-3.0.4/gcc/f/expr.c:8204: illegal external declaration, missing `;'
after `ffelexHandler'
../../gcc-3.0.4/gcc/f/expr.c:8205: illegal external declaration, missing `;'
after `ffelexHandler'
../../gcc-3.0.4/gcc/f/expr.c:19394: syntax error, found `__attribute__'
../../gcc-3.0.4/gcc/f/expr.c:19394: illegal function definition, found `)'
../../gcc-3.0.4/gcc/f/expr.c:19395: illegal external declaration, missing
`;' after `ffelexToken'
../../gcc-3.0.4/gcc/f/expr.c:19399: illegal external declaration, found
`switch'
../../gcc-3.0.4/gcc/f/expr.c:19403: illegal external declaration, missing
`;' after `ffelexHandler'
../../gcc-3.0.4/gcc/f/expr.c:19409: illegal external declaration, missing
`;' after `ffeinfo'
../../gcc-3.0.4/gcc/f/expr.c:19409: illegal method selector, found `1'
../../gcc-3.0.4/gcc/f/expr.c:19409: illegal method definition, missing `{'
after `)'
../../gcc-3.0.4/gcc/f/expr.c:19409: illegal external declaration, found `)'
../../gcc-3.0.4/gcc/f/expr.c:19413: illegal external declaration, missing
`;' after `ffelexHandler'
../../gcc-3.0.4/gcc/f/expr.c:19414: illegal external declaration, missing
`;' after `ffelexHandler'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic
mode
cc -c -DCROSS_COMPILE -DIN_GCC    -g -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes   -DHAVE_CONFIG_H    -I. -If
-I../../gcc-3.0.4/gcc -I../../gcc-3.0.4/gcc/f -I../../gcc-3.0.4/gcc/config
-I../../gcc-3.0.4/gcc/../include ../../gcc-3.0.4/gcc/f/global.c -o
f/global.o
../../gcc-3.0.4/gcc/f/global.c:65: illegal message expression, found `]'
../../gcc-3.0.4/gcc/f/global.c:72: illegal external declaration, missing `;'
after `?any?'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic
mode
../../gcc-3.0.4/gcc/f/global.c:65: parse error before `,'
../../gcc-3.0.4/gcc/f/global.c:66: parse error before `,'
../../gcc-3.0.4/gcc/f/global.c:67: parse error before `,'
../../gcc-3.0.4/gcc/f/global.c:68: parse error before `,'
../../gcc-3.0.4/gcc/f/global.c:69: parse error before `,'
../../gcc-3.0.4/gcc/f/global.c:70: parse error before `,'
../../gcc-3.0.4/gcc/f/global.c:71: parse error before `,'
../../gcc-3.0.4/gcc/f/global.c:73: parse error before `}'
make[1]: *** [f/global.o] Error 1
make: *** [all-gcc] Error 2
bash2.05 james@localhost ~/projects/source/build-gcc %

Has anyone got any ideas?

Thanks for any help with this,
Kind regards,
James Fitzsimons


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]