GPA 0.7.0 released

Steve Kennedy steve-gnupg at gbnet.net
Wed Oct 22 18:32:18 CEST 2003


On Wed, Oct 22, 2003 at 06:19:11PM +0200, Miguel Coca wrote:

> I don't have access to a machine with that software, so I can't test
> it myself. GPA 0.6.1 compiled on Solaris with gcc, and that shouldn't
> have changed.
> > cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../pixmaps    -xO3
> > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> > -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include   -I/usr/local/include -I/usr/local/include
> > -c `test -f 'gpa.c' || echo './'`gpa.c
> > "gpa.c", line 80: warning: non-constant initializer: op "NAME"
> > "gpa.c", line 203: incomplete struct/union/enum option: longopts
> > "gpa.c", line 205: cannot do pointer arithmetic on operand of unknown
> > size
> > "gpa.c", line 205: too many struct/union initializers
> > "gpa.c", line 205: cannot recover from previous errors
> > cc: acomp failed for gpa.c
> > gmake[2]: *** [gpa.o] Error 2
> Strange. Your compiler doesn't complain about include getopt.h, but
> doesn't seem to have "struct option". That's standard according to
> POSIX, so I don't see what could be wrong. Look for the declaration of
> "struct option" in your headers, maybe we can find out what's going
> on.
> GPA does use a non standard getopt extension, getopt_long(). In
> Solaris, that function is available in libiberty. No idea whether that
> will work with compilers other than gcc, though.

I dont think it does :(


Non portable code ...


Steve

-- 
NetTek Ltd Phone/Fax +44-(0)20 7483 2455
SMS steve-pager (at) gbnet.net [body] gpg 1024D/468952DB 2001-09-19



More information about the Gpa-dev mailing list