gcc toolchain building error...

Status
Not open for further replies.

desmond_315

Broken In
i get the following error while building the toolchain

src/gcc-4.0-20060817/libiberty/regex.c:8242: error: dereferencing pointer to incomplete type
/src/gcc-4.0-20060817/libiberty/regex.c:8243: error: dereferencing pointer to incomplete type
/src/gcc-4.0-20060817/libiberty/regex.c:8244: error: dereferencing pointer to incomplete type
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/tmp/build/gcc/arm-elf/libiberty'
make: *** [all-target-libiberty] Error 2
make: Leaving directory `/tmp/build/gcc'


please help..
 

mehulved

18 Till I Die............
What are you trying to compile there? I don't really know what the exact cause of the error is, but googling shows it is maybe due to using of different versions of gcc.
If you give more info on what is causing this error and which distro are you using, maybe it will be more helpful.
 
OP
desmond_315

desmond_315

Broken In
i have got fedora core five installed on my comp...i want to build a toolchain for an arm kit..for that im followin the procedure given at
*ecos.sourceware.org/build-toolchain.html

but i have downloaded newer ver versions of binutils-2.16.92
gcc-core-4.0.tar
gcc-g++-4.0-20060817.tar
gdb-6.5.tar

i did this cause i was gettin errors usin the versions on the site n read somewhere that its cause fedora have a newer version of gcc...but im still gettin an errror when installin gcc.
 

mehulved

18 Till I Die............
Well that's what I doubt. I think this toolchain for arm uses gcc 3.x. So, it requires gcc 3.x more specifically 3.2.x installed on your FC. Just install gcc 3.2.x that is available for FC 5. IMO, that should work for you.
 

jigslinx

Broken In
Hi,
Don't just download the newest tarballs and try to compile. They gave error always. Instead try to use a toolchain building tool like crosstool or so. They will download the matching tarball and then compile them.
 
Status
Not open for further replies.
Top Bottom