LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-01-2007, 07:19 AM   #1
Emsie
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Rep: Reputation: 0
Array type has incomplete element type


Hey everybody,

I am pretty new to Linux and I am sure this problem I am having can be solved easily (I hope!). I am using Suse 10.0 and am trying to install a program called Rainbow. I have the GCC compiler installed etc and have unpacked and configured rainbow. However, when I come to the installation part (make install) I get the following errors:

warning: type qualifiers ignored on function return type
error: array type has incomplete element type

I looked at similiar posts concerning the latter error message, however, the replies aren't related to my problem.

If anybody could offer a solution I would appreciate it!

Thanks!

p.s. would it help if I installed gcc3?

Last edited by Emsie; 01-01-2007 at 07:39 AM.
 
Old 01-01-2007, 02:51 PM   #2
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
this applicaton has not been updated to comply with the new compiler.
try getting a newer version of the application.
 
Old 01-01-2007, 03:17 PM   #3
Emsie
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
I am using the latest version available: 2002, yet I still have the same problems. I installed an older version of the GCC compiler (3), perhaps I should use an older one still?
 
Old 01-01-2007, 07:18 PM   #4
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
point us to that application and perhaps it is easy to fix it.
not sure about gcc2 it's worth a try
2002 was when gcc3 came out i think
the comunity is always a bit behind because of "issues" with the changes in the compilers.
 
Old 01-02-2007, 05:51 AM   #5
Emsie
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Hey, this is where the application is located: http://www.cs.cmu.edu/~mccallum/bow/src/. I am using 20020213 (being the latest version of the app, 2002). Perhaps an earlier version of this app may be better, however, since the latest version isn't working with the gcc I am persuming this isn't the solution!

So any further help is greatly appreciated
 
Old 01-02-2007, 06:05 AM   #6
Indiestory
Member
 
Registered: Aug 2006
Location: Aberdeen, Scotland
Distribution: OpenBSD
Posts: 164
Blog Entries: 1

Rep: Reputation: 30
it could just be that the libary doesnt work

Quote:
The library does not:
Have English parsing or part-of-speech tagging facilities.
Do smoothing across N-gram models.
Claim to be finished.
Have good documentation.
Claim to be bug-free.
the page above the one you linked has this, could just be that the final release was never finsished. Do you need to use this specific tool or could you find something similar 2002 seems really out of date for any non-server related, well at least to me
 
Old 01-02-2007, 06:32 AM   #7
Emsie
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Unfortunately I must use this program as part of one of my modules for university (only two small assignments in this program). Therefore I cannot use something similiar I will try one of the other versions and see if this works any better :s
 
Old 01-02-2007, 07:23 AM   #8
Emsie
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Still the same problem, even with various versions of the application. I have posted a screenshot (see link) of the exact error I am getting (there are no errors when I unpack and configure).

http://img245.imageshack.us/img245/7074/problemgq2.jpg

Perhaps this will better explain my problem
 
Old 01-02-2007, 07:25 PM   #9
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
i tried to debug that program
with each bug i swatted down a new one was next and it just kept going on and on and on.

i stopped after about eight concerned about the impact i might be having on a program i didn't understand.

*important*
you can't be expected to compile and run a bunch of invalid crap code and that is what that is !

no one else is going to be able to compile it either.
 
Old 01-04-2007, 06:59 AM   #10
Emsie
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Well I guess I will just explain that then when I go back into uni on monday! Thanks for trying the application for me =)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
type of list element in Perl ? thelonius Programming 2 06-20-2006 08:49 AM
"array type has incomplete element type" compiling 2.4.32 kernel Akabaka Linux - General 1 01-08-2006 12:48 PM
ereferencing pointer to incomplete type? ams Programming 5 03-03-2005 10:32 AM
arrays of elements with [gcc4]array type has incomplete element type lmmix Linux - Software 0 02-26-2005 08:07 AM
Incomplete type ChemicalBurn Programming 4 02-24-2005 08:44 AM


All times are GMT -5. The time now is 12:24 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration