Amanda-Users

2.5.0 compile problems on HP-UX 10.10

2006-04-16 11:04:31
Subject: 2.5.0 compile problems on HP-UX 10.10
From: stan <stanb AT panix DOT com>
To: amanda users list <amanda-users AT amanda DOT org>
Date: Sun, 16 Apr 2006 10:57:10 -0400
I;m upgrading one of my Amanda servers. I noticed that on one of
my Oracle machines (HP-UX 10.20) that the report was returning
"file changed" errors on some of the .dbf files. ell, yes, but they
are in the gtar exclude file. Odd I thought.

I have not upgraded the clients yet, so I thought I would do that
on this machine first, before trying to figure out why the exclude
file is not working.

Problem 2.5.0 does not compile on this machine. I recjecked, and 
re-ran configure on 2.4.5, and it compiled fine.

Here ar my configure settings:


#/bin/ksh
export CPPFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
export CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
export PERL=/opt/perl5/bin/perl
./configure --with-config=DailyDump \
--prefix=/opt/amanda --with-index-server=debian --with-user=amanda \
--with-group=operator --with-tape-server=debian --with-debugging \
--with-tape-device=/dev/nst0 --sbindir=/opt/amanda/sbin \
--libexecdir=/opt/amanda/libexec --libdir=/opt/amanda/lib \
--with-configdir=/opt/amanda/etc/amanda \
--with-gnutar-listdir=/opt/amanda/var/amanda/gnutar-lists \
--mandir=/opt/amanda/man  --without-rundump \
--with-includes=/opt/gnu/include --with-libraries=/opt/amanda/lib \
--with-gnuplot=/opt/gnuplot/bin \
--with-tcpportrange=1702,1712 \
--with-udpportrange=702,712  

Here are (what I hope are) some details on teh failure:


Script started on Sun Apr 16 10:42:14 2006


WARNING:  YOU ARE SUPERUSER !!

root@phse6:/local/src/pd/amanda/amanda-2.5.0
$ make
No suffix list.
Making all in config
No suffix list.
        make  all-am
No suffix list.
Making all in common-src
        source='alloc.c' object='alloc.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
        /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. 
-I../config -I./../regex-src  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D__STDC_EXT__  -I/opt/gnu/include      -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64     -c -o alloc.lo alloc.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D__STDC_EXT__ -I/opt/gnu/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -c alloc.c -Wp,-MD,.deps/alloc.TPlo  -fPIC -DPIC -o 
.libs/alloc.o
In file included from amanda.h:245,
                 from alloc.c:33:
amanda-int.h:328: warning: `INT8_MIN' redefined
/usr/include/inttypes.h:102: warning: this is the location of the previous 
definition
amanda-int.h:329: warning: `INT16_MIN' redefined
/usr/include/inttypes.h:103: warning: this is the location of the previous 
definition
amanda-int.h:330: warning: `INT32_MIN' redefined
/usr/include/inttypes.h:104: warning: this is the location of the previous 
definition
amanda-int.h:331: warning: `INT64_MIN' redefined
/usr/include/inttypes.h:105: warning: this is the location of the previous 
definition
amanda-int.h:333: warning: `INT8_MAX' redefined
/usr/include/inttypes.h:97: warning: this is the location of the previous 
definition
amanda-int.h:334: warning: `INT16_MAX' redefined
/usr/include/inttypes.h:98: warning: this is the location of the previous 
definition
amanda-int.h:335: warning: `INT32_MAX' redefined
/usr/include/inttypes.h:99: warning: this is the location of the previous 
definition
amanda-int.h:336: warning: `INT64_MAX' redefined
/usr/include/inttypes.h:100: warning: this is the location of the previous 
definition
amanda-int.h:339: warning: `UINT8_MAX' redefined
/usr/include/inttypes.h:117: warning: this is the location of the previous 
definition
amanda-int.h:340: warning: `UINT16_MAX' redefined
/usr/include/inttypes.h:118: warning: this is the location of the previous 
definition
amanda-int.h:341: warning: `UINT32_MAX' redefined
/usr/include/inttypes.h:119: warning: this is the location of the previous 
definition
amanda-int.h:342: warning: `UINT64_MAX' redefined
/usr/include/inttypes.h:120: warning: this is the location of the previous 
definition

--- skip ---

/usr/include/inttypes.h:120: warning: this is the location of the previous 
definition
        /bin/sh ../libtool --tag=CC --mode=link gcc  -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64       -L/opt/amanda/lib   -o noop  noop.o 
../common-src/libamanda.la  libamclient.la ../tape-src/libamtape.la  
../common-src/libamanda.la -lm -ltermcap -lcur_colr      
libtool: link: warning: this platform does not like uninstalled shared libraries
libtool: link: `noop' will be relinked during installation
gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o .libs/noop noop.o  
-L/opt/amanda/lib ./.libs/libamclient.sl ../tape-src/.libs/libamtape.sl 
../common-src/.libs/libamanda.sl -lm -ltermcap -lcur_colr -Wl,+b 
-Wl,/local/src/pd/amanda/amanda-2.5.0/client-src/.libs:/local/src/pd/amanda/amanda-2.5.0/tape-src/.libs:/local/src/pd/amanda/amanda-2.5.0/common-src/.libs:/opt/amanda/lib
creating noop
        source='calcsize.c' object='calcsize.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src  
-I../common-src   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_EXT__  
-I/opt/gnu/include     -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64     -c 
calcsize.c
In file included from ../common-src/amanda.h:245,
                 from calcsize.c:31:
../common-src/amanda-int.h:328: warning: `INT8_MIN' redefined
/usr/include/inttypes.h:102: warning: this is the location of the previous 
definition
../common-src/amanda-int.h:329: warning: `INT16_MIN' redefined
/usr/include/inttypes.h:103: warning: this is the location of the previous 
definition
../common-src/amanda-int.h:330: warning: `INT32_MIN' redefined
/usr/include/inttypes.h:104: warning: this is the location of the previous 
definition
../common-src/amanda-int.h:331: warning: `INT64_MIN' redefined
/usr/include/inttypes.h:105: warning: this is the location of the previous 
definition
../common-src/amanda-int.h:333: warning: `INT8_MAX' redefined
/usr/include/inttypes.h:97: warning: this is the location of the previous 
definition
../common-src/amanda-int.h:334: warning: `INT16_MAX' redefined
/usr/include/inttypes.h:98: warning: this is the location of the previous 
definition
../common-src/amanda-int.h:335: warning: `INT32_MAX' redefined
/usr/include/inttypes.h:99: warning: this is the location of the previous 
definition
../common-src/amanda-int.h:336: warning: `INT64_MAX' redefined
/usr/include/inttypes.h:100: warning: this is the location of the previous 
definition
../common-src/amanda-int.h:339: warning: `UINT8_MAX' redefined
/usr/include/inttypes.h:117: warning: this is the location of the previous 
definition
../common-src/amanda-int.h:340: warning: `UINT16_MAX' redefined
/usr/include/inttypes.h:118: warning: this is the location of the previous 
definition
../common-src/amanda-int.h:341: warning: `UINT32_MAX' redefined
/usr/include/inttypes.h:119: warning: this is the location of the previous 
definition
../common-src/amanda-int.h:342: warning: `UINT64_MAX' redefined
/usr/include/inttypes.h:120: warning: this is the location of the previous 
definition
calcsize.c: In function `traverse_dirs':
calcsize.c:335: parse error before `char'
calcsize.c:342: `aparent' undeclared (first use in this function)
calcsize.c:342: (Each undeclared identifier is reported only once
calcsize.c:342: for each function it appears in.)
*** Error exit code 1

Stop.
*** Error exit code 1

Here's the line that causes the error:

char *aparent = vstralloc(parent_dir, "/", include, NULL);



Any sugestiosn as to wheer to begin on resoloving this?
-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967

<Prev in Thread] Current Thread [Next in Thread>