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] | |
I'm trying to build binutils-2.12pre1 as a cross compiler for mcore-elf. I get the error listed below... Can anyone suggest a solution? Mark gmake[3]: Entering directory `/home/markcia/build_mcore_gcc/binutils' gcc -DHAVE_CONFIG_H -I. -I../../newgcc/binutils-2.12.1pre1/binutils -I. -D_GNU_SOURCE -I. -I../../newgcc/binutils-2.12.1pre1/binutils -I../bfd -I../../newgcc/binutils-2.12.1pre1/binutils/../bfd -I../../newgcc/binutils-2.12.1pre1/binutils/../include -DHOST_HPPAHPUX -I../../newgcc/binutils-2.12.1pre1/binutils/../intl -I../intl -DLOCALEDIR="\"/home/markcia/mcore_gcc/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../newgcc/binutils-2.12.1pre1/binutils/strings.c In file included from ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:64: ../../newgcc/binutils-2.12.1pre1/binutils/../include/getopt.h:115: warning: function declaration isn't a prototype In file included from ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:67: ../../newgcc/binutils-2.12.1pre1/binutils/../include/libiberty.h:80: warning: function declaration isn't a prototype ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:97: parse error before `file_off' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:97: warning: type defaults to `int' in declaration of `file_off' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:97: warning: data definition has no type or storage class ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:147: parse error before `file_off' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:148: warning: function declaration isn't a prototype ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:150: parse error before `file_off' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:151: warning: function declaration isn't a prototype ../../newgcc/binutils-2.12.1pre1/binutils/strings.c: In function `strings_file': ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:389: warning: implicit declaration of function `fopen64' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:389: warning: assignment makes pointer from integer without a cast ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:397: parse error before `0' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c: At top level: ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:422: warning: function declaration isn't a prototype ../../newgcc/binutils-2.12.1pre1/binutils/strings.c: In function `get_char': ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:423: parse error before `file_off' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:422: warning: type of `address' defaults to `int' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:443: warning: implicit declaration of function `getc_unlocked' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:451: invalid type argument of `unary *' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c: At top level: ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:496: warning: function declaration isn't a prototype ../../newgcc/binutils-2.12.1pre1/binutils/strings.c: In function `print_strings': ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:498: parse error before `file_off' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:496: warning: type of `address' defaults to `int' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:496: warning: type of `stop_point' defaults to `int' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:496: warning: type of `magiccount' defaults to `int' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:496: warning: type of `magic' defaults to `int' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:507: `file_off' undeclared (first use in this function) ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:507: (Each undeclared identifier is reported only once ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:507: for each function it appears in.) ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:507: parse error before `start' ../../newgcc/binutils-2.12.1pre1/binutils/strings.c:515: `start' undeclared (first use in this function) gmake[3]: *** [strings.o] Error 1 gmake[3]: Leaving directory `/home/markcia/build_mcore_gcc/binutils' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/home/markcia/build_mcore_gcc/binutils' gmake[1]: *** [all-recursive-am] Error 2 gmake[1]: Leaving directory `/home/markcia/build_mcore_gcc/binutils' gmake: *** [all-binutils] Error 2 [build_mcore_gcc]=51=> ------ 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] |