How overcome error installing GCC-4.3.2

Brian Dessent brian@dessent.net
Fri Dec 5 20:08:00 GMT 2008


Sergio Rojas wrote:

> ld: warning: file ../build-i386-pc-solaris2.10/libiberty/libiberty.a(hashtab.o): wrong ELF class: ELFCLASS64
> Undefined                       first referenced
>  symbol                             in file
> htab_create_alloc                   build/genmodes.o

It looks like it's trying to link a 32 bit genmodes with a 64 bit
libiberty.  That's probably because you configured with CFLAGS=-m64. 
I'm not sure why you're doing that, it shouldn't be necessary. 
i386-pc-solaris2.10 should be bi-arch by default without you having to
set anything.

Brian



More information about the Gcc-help mailing list