[Sussex] Unable to compile - [SOLVED]

Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk
Tue Sep 27 09:25:55 UTC 2005


Matthew Macdonald-Wallace wrote:
> Jim,
> 
> Jim Nicholson wrote:
> 
>> Matthew Macdonald-Wallace wrote:
>>
>>> I'm having issues compiling Silky (http://silky.sourceforge.net/).
>>> Basically, I get the following error when I'm compiling:
>>>
>>> main.c: In function `main':
>>> main.c: 512: error: elements of array `long_options' have incomplete 
>>> type
>>> main.c: 513:warning: excess elements in struct initializer
>>> main.c: 513:warning: (near initialization for `long_options[0]')
>>

The error appeared to be that getopt.h wasn't even referenced by this file.

I added a #include statement to the top of main.c and it compiled fine 
and is working great!

Thanks for all the help,

Matt




More information about the Sussex mailing list