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] |
>Christian Herrmann wrote on 8 April 2003: >> I want to crosscompile gcc for the sh-elf target (dreamcast sh4), i am using >> the gcc-20030331 snapshot. ... >> when typing 'make all install' , compiling fails after a while with the >> following error: >> >> /gcc/build-gcc/gcc/xgcc -B/gcc/build-gcc/gcc/ >> -B/usr/local/dc/sh-elf/sh-elf/bin/ -B/usr/local/dc/sh-elf/sh-elf/lib/ >> -isystem /usr/local/dc/sh-elf/sh-elf/include -c -DHAVE_CONFIG_H -O2 -g -O2 >> -I. -I../../../gcc-20030331/libiberty/../include -W -Wall -Wtraditional >> -pedantic ../../../gcc-20030331/libiberty/hashtab.c -o hashtab.o >> ../../../gcc-20030331/libiberty/hashtab.c: In function `higher_prime_number': >> ../../../gcc-20030331/libiberty/hashtab.c:133: Warnung: implicit declaration >> of function `abort' >> ../../../gcc-20030331/libiberty/hashtab.c: In function `htab_create': >> ../../../gcc-20030331/libiberty/hashtab.c:204: error: `free' undeclared (first >> use in this function) ... Look at the hashtab.c part of the patch in: http://gcc.gnu.org/ml/gcc-patches/2003-04/msg00726.html I ran into this for m68k-elf, and this patch worked for me. -- Peter Barada Peter.Barada@motorola.com Wizard 781-852-2768 (direct) WaveMark Solutions(A Motorola Company) 781-270-0193 (fax) ------ 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] |