[cvsnt] Solaris 8 and 2.0.20?

Tony Hoyle tmh at nodomain.org
Mon Jan 12 14:12:15 GMT 2004


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?

Tony




More information about the cvsnt mailing list