Page MenuHome GnuPG

libgnuintl.h", line 375: error 4065
Closed, ResolvedPublic

Description

Release: 1.4.2

Environment

HP 9000/800 HPUX 11.11

Description

on make check (or make) receive the following error:
Making check in intl

sed -e 's,@''HAVE_POSIX_PRINTF''@,1,g' \
    -e 's,@''HAVE_ASPRINTF''@,0,g' \
    -e 's,@''HAVE_SNPRINTF''@,1,g' \
    -e 's,@''HAVE_WPRINTF''@,0,g' \
  < ./libgnuintl.h.in > libgnuintl.h
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr

/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DENABLE_RELOCA
TABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocat
ion_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS
_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -Ae -D_HPUX_SOURCE bindtextdom.
c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
duct; ignored.
cpp: "libgnuintl.h", line 375: error 4065: Recursion in macro "libintl_set_reloc
ation_prefix".

  • Error exit code 1

    Stop.
  • Error exit code 1

    Stop.

Fix

i'm not a c programmer, but play one on tv, it's just that we haven't had this issue in a script yet.

Event Timeline

From: "LANNY TAYLOR" <ltaylor@salliemae.com>
To: <dshaw@jabberwocky.com>
Cc: <bug-any@bugs.gnupg.org>, <gnupg-hackers@gnupg.org>,

<gnats-admin@trithemius.gnupg.org>

Subject: Re: gnupg/516
Date: Fri, 05 Aug 2005 14:43:15 -0500

  • Proprietary **
  • High Priority **

well, that certainly created bigger and better errors...

make check:

No suffix list.
Making check in m4
No suffix list.
Making check in intl
Making check in zlib

source='adler32.c' object='adler32.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

adler32.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='compress.c' object='compress.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

compress.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='crc32.c' object='crc32.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

crc32.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='uncompr.c' object='uncompr.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

uncompr.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='deflate.c' object='deflate.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

deflate.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='trees.c' object='trees.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

trees.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='zutil.c' object='zutil.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

zutil.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='inflate.c' object='inflate.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

inflate.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='infblock.c' object='infblock.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

infblock.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='inftrees.c' object='inftrees.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

inftrees.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='infcodes.c' object='infcodes.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

infcodes.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='infutil.c' object='infutil.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

infutil.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

source='inffast.c' object='inffast.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I..      -g -Ae -D_HPUX_SOURCE -c

inffast.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.

rm -f libzlib.a
ar cru libzlib.a adler32.o compress.o  crc32.o uncompr.o

deflate.o tree
s.o zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o
inffast.o

ranlib libzlib.a

Making check in util

source='logger.c' object='logger.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl

-g -Ae -
D_HPUX_SOURCE -c logger.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C pro
duct; ignored.
(Bundled) cc: "../include/types.h", line 64: warning 525: Redeclaration
of ident
ifier "ushort".
(Bundled) cc: "../include/iobuf.h", line 57: error 1000: Unexpected
symbol: "IOB
UF".
(Bundled) cc: "../include/iobuf.h", line 57: error 1000: Unexpected
symbol: "*".
(Bundled) cc: "../include/iobuf.h", line 57: error 1000: Unexpected
symbol: "*".
(Bundled) cc: "../include/iobuf.h", line 56: error 1506: Parameters
allowed in f
unction definition only.
(Bundled) cc: "../include/iobuf.h", line 83: error 1705: Function
prototypes are
an ANSI feature.
(Bundled) cc: "../include/iobuf.h", line 84: error 1705: Function
prototypes are
an ANSI feature.
(Bundled) cc: "../include/iobuf.h", line 85: error 1000: Unexpected
symbol: "siz
e_t".
(Bundled) cc: "../include/iobuf.h", line 85: error 1705: Function
prototypes are
an ANSI feature.
(Bundled) cc: "../include/iobuf.h", line 85: error 1573: Type of
"bufsize" is un
defined due to an illegal declaration.
(Bundled) cc: "../include/iobuf.h", line 86: error 1000: Unexpected
symbol: "iob
uf_temp".
(Bundled) cc: error 2017: Cannot recover from earlier errors,
terminating.

  • Error exit code 1

Stop.

  • Error exit code 1

dshaw@jabberwocky.com 8/5/2005 2:00:40 PM >>>

Synopsis: libgnuintl.h", line 375: error 4065

State-Changed-From-To: open->chatting
State-Changed-By: dshaw
State-Changed-When: Fri, 05 Aug 2005 21:00:40 +0200
State-Changed-Why:
This looks like a problem in gettext, rather than GnuPG. If
you don't need the translations (GnuPG will then be english
language only), try "configure --disable-nls"

  • Comment added by dshaw on Fri, 05 Aug 2005 21:00:40 +0200 ****

This E-Mail has been scanned for viruses.

This looks like a problem in gettext, rather than GnuPG. If
you don't need the translations (GnuPG will then be english
language only), try "configure --disable-nls"

I think there isn't much that can be done there without an ANSI C compiler. It looks like the HPUX bundled compiler just doesn't speak modern C.

From: Werner Koch <wk@gnupg.org>
To: bug-any@bugs.gnupg.org
Cc:
Subject: Re: gnupg/516
Date: Sun, 07 Aug 2005 13:02:38 +0200

On Sat, 06 Aug 2005 14:52:47 +0200, dshaw said:

I think there isn't much that can be done there without an ANSI C compiler. It looks like the HPUX bundled compiler just doesn't speak modern C.

Yep, cc is K&R compiler and only useful to bootstrap gcc. The actual
ISO C compiler is named c89. configure knows about this and thus it is
unlikely that it is installed.

Building the GNU toolchain is straightforward - however I only
tested this with pre 3.0 gcc versions. gcc 2.7.2 works for sure and
if a modern gcc fails, it can be used to bootstrap gcc 3.4.

Compiler issue.