Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
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 */