gnupg on hpux 11.11

Joseph Bruni jbruni@mac.com
Mon Apr 14 23:20:02 2003


Hey! That's the same error I got. Go into the intl/gettextP.h file and add a line at the beginning:

#define inline

This will get you working. This is caused by a language parsing bug in HP's ANSI C compiler.

Joe Bruni
 



On Friday, April 11, 2003, at 07:38AM, Jacques Dejean <jacdej@aent.com> wrote:

>Hello,
>
>In building gnupg v1.2.1, I encounter the following error --
>----------------------------------------------------------------------------
>------------------------------------
># make
>make  all-recursive
>make[1]: Entering directory `/u01/gnupg/gnupg-1.2.1'
>Making all in intl
>make[2]: Entering directory `/u01/gnupg/gnupg-1.2.1/intl'
>cc -c -DLOCALEDIR=\"/opt/gnupg/share/locale\"
>-DLOCALE_ALIAS_PATH=\"/opt/gnupg/share/locale\" -DLIBDIR=\"/opt/gnupg/lib\"
>-DHAVE_CONFIG_H -I.. -I. -I../intl  -g -Ae -D_HPUX_SOURCE  intl-compat.c
>cc: "gettextP.h", line 67: error 1000: Unexpected symbol: "SWAP".
>cc: panic 2017: Cannot recover from earlier errors, terminating.
>make[2]: *** [intl-compat.o] Error 1
>make[2]: Leaving directory `/u01/gnupg/gnupg-1.2.1/intl'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/u01/gnupg/gnupg-1.2.1'
>make: *** [all] Error 2
># 
>----------------------------------------------------------------------------
>-------------------------------------
>
>I ran the compile with "-E" flag set, and I see the variables being set;
>however, I don't understand why it's complaining about SWAP
>
>#ifdef _LIBC
># include <byteswap.h>
># define SWAP(i) bswap_32 (i)
>#else
>static inline nls_uint32
>SWAP (i)
>     nls_uint32 i;
>{
>  return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24);
>}
>#endif
>
>Any suggestions?  I appreciate it.
>
>Regards,
>Jacques V. Dejean
>Lead Systems Administrator
>Alliance Entertainment 
>(v) 954-255-4344
>
>
>_______________________________________________
>Gnupg-users mailing list
>Gnupg-users@gnupg.org
>http://lists.gnupg.org/mailman/listinfo/gnupg-users
>
>
 

-- 
PGP Fingerprint:
886F 6A8A 68A1 5E90 EF3F  8EFA E2B8 3F99 7343 C1E3