help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiling gnupg 1.2.1, binutils 2.13.2, and gcc 3.2.2


From: Jacques Dejean
Subject: compiling gnupg 1.2.1, binutils 2.13.2, and gcc 3.2.2
Date: Fri, 11 Apr 2003 14:24:06 -0400

Hello,

In compiling any of the three above software products, the process fails
with the following error --
>> binutils
make[2]: Entering directory `/u01/gcc/binutils-2.13.2/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/u01/gcc/binutils-2.13.2/libiberty/testsuite'
make[1]: Leaving directory `/u01/gcc/binutils-2.13.2/libiberty'
make[1]: Entering directory `/u01/gcc/binutils-2.13.2/intl'
/usr/bin/cc -c -DLOCALEDIR=\"/opt/gcc/share/locale\"
-DGNULOCALEDIR=\"/opt/gcc/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/gcc/share/locale:.\" -DHAVE_CONFIG_H -I. -I.  -g
intl-compat.c
/usr/bin/cc -c -DLOCALEDIR=\"/opt/gcc/share/locale\"
-DGNULOCALEDIR=\"/opt/gcc/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/gcc/share/locale:.\" -DHAVE_CONFIG_H -I. -I.  -g
bindtextdom.c
cc: "gettextP.h", line 50: error 1000: Unexpected symbol: "SWAP".
cc: panic 2017: Cannot recover from earlier errors, terminating.
make[1]: *** [bindtextdom.o] Error 1
make[1]: Leaving directory `/u01/gcc/binutils-2.13.2/intl'
make: *** [all-intl] Error 2

>> gnupg
# 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/s
hare/locale\" -DLIBDIR=\"/opt/gnupg/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl
-g
 -Ae -D_HPUX_SOURCE  intl-compat.c
cc: "gettextP.h", line 66: 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 have attempted compiles using the HP ANSI/C and HP C-bundled compilers on
an HP 11.11 (32-bit) environment.

What am I missing?

This is the code section which is causing error --
#ifdef _LIBC
# include <byteswap.h>
# define SWAP(i) bswap_32 (i)
#else
static nls_uint32 SWAP PARAMS ((nls_uint32 i));

static inline nls_uint32
SWAP (i)
     nls_uint32 i;
{
  return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24);
}
#endif

I appreciate a response.

Regards,
Jacques V. Dejean
Lead Systems Administrator
Alliance Entertainment 
(v) 954-255-4344





reply via email to

[Prev in Thread] Current Thread [Next in Thread]