Fedora Linux Support Community & Resources Center
  #1  
Old 4th August 2007, 08:09 AM
jaganadh Offline
Registered User
 
Join Date: Apr 2007
Posts: 4
C compiling error

Collegues I was compiling a c source in FC6. It diplays following error . Any body can provide help in this regard.
Main.c:25: error: array type has incomplete element type
Main.c:25: error: array type has incomplete element type
Main.c:25: error: array type has incomplete element type
Main.c:25: error: array type has incomplete element type
Main.c:26: error: array type has incomplete element type
Main.c:27: error: array type has incomplete element type
Main.c:27: error: array type has incomplete element type
Main.c:36: error: array type has incomplete element type
Main.c:37: error: array type has incomplete element type
Main.c:38: error: array type has incomplete element type
Main.c:39: error: array type has incomplete element type
Main.c:40: error: array type has incomplete element type
Main.c:41: error: array type has incomplete element type
Main.c:42: error: array type has incomplete element type

With regards
jaganadh.G
Reply With Quote
  #2  
Old 4th August 2007, 08:47 AM
ausadl Offline
Registered User
 
Join Date: Feb 2006
Location: Modbury, Australia
Posts: 99
i dont think anyone can help you without providing the source code you compiled.
Reply With Quote
  #3  
Old 4th August 2007, 09:32 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
+ the proper end error message not just a bit of your choice that shows nothing
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #4  
Old 5th August 2007, 02:03 AM
jbannon Offline
Registered User
 
Join Date: Dec 2005
Posts: 909
At a a guess you have a missing terminator or a missing brace or both.
__________________
Best regards,
Jim Bannon
(Registered Linux User #405603 :) )
Reply With Quote
  #5  
Old 16th August 2007, 06:57 PM
guyenfedora000 Offline
Registered User
 
Join Date: Mar 2007
Posts: 24
Quote:
Originally Posted by jaganadh
Collegues I was compiling a c source in FC6. It diplays following error . Any body can provide help in this regard.
Main.c:25: error: array type has incomplete element type
Main.c:25: error: array type has incomplete element type
Main.c:25: error: array type has incomplete element type
Main.c:25: error: array type has incomplete element type
Main.c:26: error: array type has incomplete element type
Main.c:27: error: array type has incomplete element type
Main.c:27: error: array type has incomplete element type
Main.c:36: error: array type has incomplete element type
Main.c:37: error: array type has incomplete element type
Main.c:38: error: array type has incomplete element type
Main.c:39: error: array type has incomplete element type
Main.c:40: error: array type has incomplete element type
Main.c:41: error: array type has incomplete element type
Main.c:42: error: array type has incomplete element type

With regards
jaganadh.G
post the src code.
Reply With Quote
  #6  
Old 16th August 2007, 09:37 PM
Reisswolf's Avatar
Reisswolf Offline
Registered User
 
Join Date: May 2006
Posts: 333
It means that the element type of your array type is not complete. Just complete it, and then recompile your code.
__________________
Registered user # 441814
Reply With Quote
Reply

Tags
compiling, error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Compiling skateaction Using Fedora 4 17th December 2008 07:20 PM
error when compiling app bowens44 Using Fedora 3 20th June 2007 12:06 PM
error compiling with gcc zomgitszan Using Fedora 2 18th July 2006 01:13 AM
Compiling error... i think Saint Mike Using Fedora 2 10th July 2005 06:30 AM
Error in compiling! Please, help me! Calabuig Using Fedora 4 11th July 2004 06:02 AM


Current GMT-time: 00:07 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

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

FedoraForum is Powered by RedHat