GPA 0.7.0 released

Miguel Coca mcoca at gnu.org
Wed Oct 22 19:19:11 CEST 2003


On Wed, Oct 22, 2003 at 16:24:16 +0100, Steve Kennedy wrote:
> Trying to compile on Solaris 9 with Sun Forte 6.2

Hi,

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.

Thanks,
-- 
Miguel Coca (mcoca at gnu.org)                http://zipi.fi.upm.es/~e970095/
       OpenPGP: E60A CBF4 5C6F 914E B6C1  C402 8C4D C7B6 27FC 3CA8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : /pipermail/attachments/20031022/ab92bbbe/attachment.bin


More information about the Gpa-dev mailing list