make/compile error of gnupg-1.0.7 on hpux11.11
paul.healy@goodyear.com
paul.healy@goodyear.com
Sat Aug 31 11:20:47 2002
The "congfigure" command succeeds however "make" command fails with:
cc: "gettextP.h", line 67: error 1000: Unexpected symbol: "SWAP"
I'm looking for ideas on how to either compile gnupg on HPUX
OR how to obtain a pre-compiled gnupg?
With thanks:
Paul healy
paul.healy@goodyear.com
330 796 8014
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-----------------------------------------------------------------------
To assist in the diagnosis of this problem I'm attaching a
screen capture of both the "configure" and "make" commands...
[192] % cd gnupg-1.0.7
[193] % ls
ABOUT-NLS Makefile THANKS cipher configure.ac
keyserver stamp-h1
AUTHORS Makefile.am TODO config.h doc
mpi tools
BUGS Makefile.in VERSION config.h.in g10
po util
COPYING NEWS acinclude.m4 config.log g10defs.h
scripts zconf.h
ChangeLog PROJECTS aclocal.m4 config.status include
stamp-h zlib
INSTALL README checks configure intl
stamp-h.in zlib.h
[194] %
[194] %
[194] % configure
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking target system type... hppa2.0w-hp-hpux11.11
checking for a BSD compatible install... scripts/install-sh -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking for mawk... (cached) awk
checking which static random module to use... default
checking whether use of /dev/random is requested... yes
checking whether use of extensions is requested... yes
checking whether assembler modules are requested... yes
checking whether memory guard is requested... no
checking whether the LDAP keyserver interface is requested... yes
checking whether the email keyserver interface is requested... yes
checking whether included zlib is requested... no
checking whether use of capabilities is requested... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets ${MAKE}... (cached) yes
checking whether build environment is sane... yes
checking for gcc... no
checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of cc... hp
checking how to run the C preprocessor... cc -E
checking for perl... /bin/perl
checking for strerror in -lcposix... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for a BSD compatible install... scripts/install-sh -c
checking for mawk... (cached) awk
checking for docbook-to-man... no
checking for faqprog.pl... no
checking for docbook2texi... no
checking for sgml to texi tools... no
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking command to parse /usr/ccs/bin/nm -p output... no
checking for _ prefix in compiled symbols... no
checking for option to create PIC... not possible
checking how to specify -export-dynamic... -Wl,-E
checking for ldap_init in -lldap... no
checking for sendmail... /usr/sbin/sendmail
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking whether we are using the GNU C Library 2.1 or newer... no
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for feof_unlocked... no
checking for fgets_unlocked... no
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... yes
checking for setenv... no
checking for setlocale... yes
checking for stpcpy... no
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for bison... no
checking for catalogs to be installed... cs da de eo el es et fr gl id it
ja nl pl pt_BR pt sv tr
checking for gethostbyname... yes
checking for setsockopt... yes
checking for dynamic loading... has been disabled
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for langinfo.h... yes
checking for termio.h... yes
checking for locale.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for size_t... (cached) yes
checking return type of signal handlers... void
checking for sys_siglist declaration in signal.h or unistd.h... no
checking endianess... big
checking for byte typedef... no
checking for ushort typedef... yes
checking for ulong typedef... no
checking for u16 typedef... no
checking for u32 typedef... no
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking for strerror... yes
checking for stpcpy... (cached) no
checking for strsep... no
checking for strlwr... no
checking for stricmp... no
checking for tcgetattr... yes
checking for strtoul... (cached) yes
checking for mmap... yes
checking for memmove... yes
checking for gettimeofday... yes
checking for getrusage... yes
checking for setrlimit... yes
checking for clock_gettime... yes
checking for memicmp... no
checking for atexit... yes
checking for raise... yes
checking for getpagesize... (cached) yes
checking for strftime... yes
checking for nl_langinfo... yes
checking for setlocale... (cached) yes
checking for waitpid... yes
checking for wait4... no
checking for sigaction... yes
checking for sigprocmask... yes
checking for rand... yes
checking for pipe... yes
checking for stat... yes
checking for mkdtemp... no
checking for gethrtime... no
checking for mlock... yes
checking whether mlock is broken... no
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking for direct.h... no
checking if mkdir takes one argument... no
checking for sys/ipc.h... yes
checking for sys/shm.h... yes
checking whether IPC_RMID allowes subsequent attaches... no
checking whether SHM_LOCK is available... yes
checking for random device... no
configure: WARNING:
***
*** The performance of the UNIX random gatherer module is not very good
*** and it does not keep the entropy pool over multiple invocations of
*** GnuPG. The suggested way to overcome this problem is to use the
***
*** Entropy Gathering Daemon (EGD)
***
*** which provides a entropy source for the whole system. It is written
*** in Perl and available at the GnuPG FTP servers. For more information
*** consult the GnuPG webpages:
***
*** http://www.gnupg.org/download.html#egd
***
*** You may want to run ./configure with --enable-static-rnd=none to be
*** able to load the EGD client code dynamically; this way you can choose
*** between RNDUNIX and RNDEGD without recompilation.
***
checking for mpi assembler functions... done
checking for zlib.h... no
configure: WARNING:
***
*** It seems that you are not using GNU make. Some make tools have serious
*** flaws and you may not be able to build this software at all. Before you
*** complain, please try GNU make: GNU make is easy to build and available
*** at all GNU archives. It is always available from
ftp.gnu.org:/gnu/make.
***
configure: creating ./config.status
config.status: creating Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating util/Makefile
config.status: creating mpi/Makefile
config.status: creating cipher/Makefile
config.status: creating g10/Makefile
config.status: creating keyserver/Makefile
config.status: creating keyserver/gpgkeys_mailto
config.status: creating keyserver/gpgkeys_test
config.status: creating doc/Makefile
config.status: creating tools/Makefile
config.status: creating zlib/Makefile
config.status: creating checks/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking ./mpi/hppa1.1/udiv-qrnnd.S to mpi/udiv-qrnnd.S
config.status: linking ./mpi/hppa/mpih-add1.S to mpi/mpih-add1.S
config.status: linking ./mpi/hppa1.1/mpih-mul1.S to mpi/mpih-mul1.S
config.status: linking ./mpi/hppa1.1/mpih-mul2.S to mpi/mpih-mul2.S
config.status: linking ./mpi/hppa1.1/mpih-mul3.S to mpi/mpih-mul3.S
config.status: linking ./mpi/pa7100/mpih-lshift.S to mpi/mpih-lshift.S
config.status: linking ./mpi/pa7100/mpih-rshift.S to mpi/mpih-rshift.S
config.status: linking ./mpi/hppa/mpih-sub1.S to mpi/mpih-sub1.S
config.status: linking ./mpi/generic/mpi-asm-defs.h to mpi/mpi-asm-defs.h
config.status: linking ./zlib/zlib.h to zlib.h
config.status: linking ./zlib/zconf.h to zconf.h
config.status: creating po/POTFILES
config.status: creating po/Makefile
g10defs.h is unchanged
Configured for: HP-UX (hppa2.0w-hp-hpux11.11)
Dynamically linked modules: rndlinux rndegd tiger
Statically linked modules: rndunix sha1 rmd160 md5
Extra cpu specific functions: udiv-qrnnd
[195] % pwd
/ttapps/gnu/gnupg-1.0.7
[196] % make
No suffix list.
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking ./mpi/hppa1.1/udiv-qrnnd.S to mpi/udiv-qrnnd.S
config.status: linking ./mpi/hppa/mpih-add1.S to mpi/mpih-add1.S
config.status: linking ./mpi/hppa1.1/mpih-mul1.S to mpi/mpih-mul1.S
config.status: linking ./mpi/hppa1.1/mpih-mul2.S to mpi/mpih-mul2.S
config.status: linking ./mpi/hppa1.1/mpih-mul3.S to mpi/mpih-mul3.S
config.status: linking ./mpi/pa7100/mpih-lshift.S to mpi/mpih-lshift.S
config.status: linking ./mpi/pa7100/mpih-rshift.S to mpi/mpih-rshift.S
config.status: linking ./mpi/hppa/mpih-sub1.S to mpi/mpih-sub1.S
config.status: linking ./mpi/generic/mpi-asm-defs.h to mpi/mpi-asm-defs.h
config.status: linking ./zlib/zlib.h to zlib.h
config.status: linking ./zlib/zconf.h to zconf.h
g10defs.h is unchanged
make all-recursive
No suffix list.
Making all in intl
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH
=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/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.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
[197] %