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.
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