This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Re: How overcome error installing GCC-4.3.2



Thanks Brian. You were right. For some reason 
the gcc-4.3.2 tree was missing the "include" directory.

Now the error is as follows:

/usr/sfw/bin/gcc   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE -L/usr/sfw/lib/amd64 -R/usr/sfw/lib/amd64  -o build/genmodes \
    build/genmodes.o build/errors.o ../build-i386-pc-solaris2.10/libiberty/libiberty.a
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
htab_find                           build/genmodes.o
xcalloc                             build/genmodes.o
htab_hash_string                    build/genmodes.o
htab_find_slot                      build/genmodes.o
xmalloc                             build/genmodes.o
xstrdup                             build/genmodes.o
ld: fatal: Symbol referencing errors. No output written to build/genmodes
collect2: ld returned 1 exit status
gmake[3]: *** [build/genmodes] Error 1
gmake[3]: Leaving directory `/home/srojas/MySoftware/my_install/gcc'
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory `/home/srojas/MySoftware/my_install'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/home/srojas/MySoftware/my_install'
gmake: *** [bootstrap] Error 2

Please, advise me on possible way to finish the compilation
correctly.

Regards,

Sergio

----- Original Message -----
From: "Brian Dessent" 
To: "Sergio Rojas" 
Cc: gcc-help@gcc.gnu.org
Subject: Re: How overcome error installing GCC-4.3.2
Date: Thu, 04 Dec 2008 19:14:41 -0800


Sergio Rojas wrote:

> gmake[3]: *** No rule to make target
> `../../gcc-4.3.2/libiberty/../include/ansidecl.h', needed by
> `regex.o'.  Stop.

Does the file gcc-4.3.2/include/ansidecl.h exist?  If no, then something
is wrong as you have an incomplete tree.

Brian


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


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