Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 10-09-2006, 01:23 PM   #1 (permalink)
Right Off the Assembly Line
 
desmond_315's Avatar
 
Join Date: Mar 2006
Posts: 12
Default gcc toolchain building error...


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..
desmond_315 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 10-09-2006, 03:19 PM   #2 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: gcc toolchain building error...

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.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 10-09-2006, 07:39 PM   #3 (permalink)
Right Off the Assembly Line
 
desmond_315's Avatar
 
Join Date: Mar 2006
Posts: 12
Default Re: gcc toolchain building error...

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
http://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.
desmond_315 is offline  
Old 10-09-2006, 08:42 PM   #4 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: gcc toolchain building error...

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.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 11-09-2006, 02:11 PM   #5 (permalink)
Right Off the Assembly Line
 
Join Date: May 2004
Posts: 16
Default Re: gcc toolchain building error...

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.
__________________
CompBEe
jigslinx is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 05:14 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2