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] |
Peter Barada wrote:
../../../gcc-20030331/libiberty/hashtab.c:204: error: `free' undeclared ...
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.
Thanks for the workaround! I don't think it's the *right* fix, but any port in a storm.
Digging around a bit more, the problem seems to be that gcc-3.3 generates 'fixed' includes in build-gcc/gcc/include, but gcc-3.2.3 doesn't. These include files interfere with the build ...
Anyone have any idea why gcc-3.3 is fixing includes more vigorously?
Because I'm an idiot, maybe? I tried deleting absolutely everything and rebuilding from scratch, and this time it worked. I suspect I had accidentally created a directory that gcc's configure tests for to decide whether to fix extra include files.
I'm now on to the next problem. - Dan
-- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
------ 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] |