Build problems

David Shaw dshaw at jabberwocky.com
Thu Oct 21 03:11:59 CEST 2004


On Mon, Oct 18, 2004 at 04:39:33AM -0500, Tim Mooney wrote:

> It fails on IRIX 6.5.22m, in g10.c:
> 
> source='g10.c' object='g10.o' libtool=no \
> depfile='.deps/g10.Po' tmpdepfile='.deps/g10.TPo' \
> depmode=sgi /bin/sh ../scripts/depcomp \
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl  -I/local/include 
> -DGNUPG_LIBEXECDIR="\"/local/gnu/libexec/gnupg\"" -n32 -O2 -g3 -xansi 
> -OPT:Olimit=3000 -woff 1185 -I/local/include -c `test -f 'g10.c' || echo 
> './'`g10.c
> 
> cc-1028 cc: ERROR File = g10.c, Line = 1466
>   The expression used must have a constant value.
> 
>         {"show-sig-subpackets",LIST_SHOW_SIG_SUBPACKETS,&subpackets},
>                                                          ^

Seems to be a C89 vs C99 thing.  I've fixed it, thanks for the report.

David



More information about the Gnupg-devel mailing list