gnupg on hpux 11.11
Jacques Dejean
jacdej@aent.com
Mon Apr 14 13:28:01 2003
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