[cvsnt] Solaris 8 and 2.0.20?

Carl Brewer carl at bl.echidna.id.au
Mon Jan 12 14:24:54 GMT 2004


Tony Hoyle wrote:

> On Tue, 13 Jan 2004 00:53:06 +1100, Carl Brewer
> <carl at bl.echidna.id.au> wrote:
> 
> 
> 
>>diff isn't happy though :
>>
>>gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../lib    -g -O2 -c `test -f 
>>'diff.c' || echo './'`diff.c
>>diff.c:194: error: elements of array `longopts' have incomplete type
>>diff.c:196: warning: excess elements in struct initializer
>>diff.c:196: warning: (near initialization for `longopts[0]')
> 
> 
> It sounds like your getopt lib isn't standard.  In config.h do you
> have HAVE_GETOPT and HAVE_GETOPT_H defined?

Nope, this is it :

[rollcage]/opt/store/utils/cvsnt-2.0.20{56} : grep -i getopt config.h
    Define to 1 if you have the `getopt'
#define HAVE_GETOPT 1
    Define to 1 if you have the <getopt.h>
/* #undef HAVE_GETOPT_H */





More information about the cvsnt mailing list