Amanda-Users

RE: gnutar version -- exactly 1.13.25 or just 1.13.25 and above?

2003-12-16 18:37:18
Subject: RE: gnutar version -- exactly 1.13.25 or just 1.13.25 and above?
From: Mark_Conty AT cargill DOT com
To: amanda-users AT amanda DOT org
Date: Tue, 16 Dec 2003 17:33:38 -0600
I'm in a bind, though.  Ironically, I don't seem to have a backup copy 
of gnutar 1.13.25, so I'm in the process of rebuilding it.  But I get 
build errors; both GCC and ANSI/C fail with the same file:

GCC:
gmake[2]: Entering directory `/src/gnu/tar-1.13.25/lib'
source='xstrtoimax.c' object='xstrtoimax.o' libtool=no \
depfile='.deps/xstrtoimax.Po' tmpdepfile='.deps/xstrtoimax.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl  -I/opt/gnu/include  -O2 -c 
`test -f xstrtoimax.c || echo './'`xstrtoimax.c
In file included from xstrtoimax.c:31:
xstrtol.c:90: macro `strtoimax' used without args
gmake[2]: *** [xstrtoimax.o] Error 1

ANSI/C:
        source='xstrtoimax.c' object='xstrtoimax.o' libtool=no \
        depfile='.deps/xstrtoimax.Po' tmpdepfile='.deps/xstrtoimax.TPo' \
        depmode=hp /bin/sh ../depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I.. -I../intl     -g -c `test -f 
xstrtoimax.c || echo './'`xstrtoimax.c
cpp: "xstrtol.c", line 90: warning 2005: strtoimax: Too few parameters 
(1) to macro.
cc: "xstrtol.c", line 90: error 1000: Unexpected symbol: ",".
cc: "xstrtol.c", line 90: error 1506: Parameters allowed in function 
definition only.

I sure don't remember running into this before, but it was quite a while 
ago, and like I said, Einstein here (yours truly) doesn't appear to have 
kept a backup of the build or even of the final, working binary!  *sigh*

Has anyone else run into this problem building gnutar 1.13.25?  (It 
seems to happen whether I apply the Amanda patches or not, by the way 
... unless I'm doing _that_ wrong, too! :-)

Thanks [again]...
-- Mark