Amanda-Users

Re: En: Amanda building failing

2003-02-20 15:56:56
Subject: Re: En: Amanda building failing
From: Jean-Louis Martineau <martinea AT IRO.UMontreal DOT CA>
To: Jeffo <jeffo AT pop.hsbc.com DOT br>
Date: Thu, 20 Feb 2003 14:31:22 -0500
Hi Jeffo,

The chg-scsi-chio program will not compile, it is not compiled on 2.4.4b1.

You can run 'make -k' and ignore the error for chg-scsi-chio
or you can comment the '#define HAVE_HPUX_SCSI_CHIO' line in config/config.h

Jean-Louis

On Thu, Feb 20, 2003 at 03:30:55PM -0300, Jeffo wrote:
> 
> I´m using Gcc 3.1 while trying to build Amanda 2.4.3.
> 
> Already found the amhpfixdevs.h and after fixing some words ('chomp' to
> 'chop')
> it worked. Is it a Perl version mismatch? (using Perl 4.8, old, I know)
> 
> 
> > ----- Original Message -----
> > From: Jeffo <jeffo AT pop.hsbc.com DOT br <mailto:jeffo AT pop.hsbc.com DOT 
> > br>>
> > To: <amanda-users AT amanda DOT org <mailto:amanda-users AT amanda DOT org>>
> > Sent: Wednesday, February 19, 2003 2:21 PM
> Subject: Amanda building failing
> > > >
> > > >
> > Hello all.
> >
> > I wonder if anyone could give me a hand on this.
> >
> > After running ´configure´ successfully, the ´make´ is returning the
> > following errors:
> > -------------------------------------------------------
> > (...)
> > Making all in changer-src
> > /bin/sh ../libtool --mode=link
> > -D_FILE_OFFSET_BITS=64 -g -O2 -o chg-scsi chg-scsi.o scsi-aix.o
> > scsi-changer-driver.o scsi-hpux_new.o scsi-irix.o scsi-linux.o
> > scsi-solaris.o scsi-bsd.o scsi-cam.o sense.o
> > ../common-src/libamanda.la
> > ../server-src/libamserver.la ../tape-src/libamtape.la
> > ../common-src/libamanda.la -lgen -lm -ltermcap -lnsl -lintl -lcur_colr
> > gcc -D_FILE_OFFSET_BITS=64 -g -O2 -o chg-scsi chg-scsi.o scsi-aix.o
> > scsi-changer-driver.o scsi-hpux_new.o scsi-irix.o scsi-linux.o
> > scsi-solaris.o scsi-bsd.o scsi-cam.o sense.o -L/usr/local/lib
> > ../server-src/.libs/libamserver.a ../tape-src/.libs/libamtape.a
> > ../common-src/.libs/libamanda.a -lgen -lm -ltermcap -lnsl
> > /usr/local/lib/libintl.sl
> > /usr/local/lib/libiconv.sl -lc -lcur_colr -Wl,+b -Wl,/usr/local/lib
> >
> > > >
> > >
> >
> /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/../../../../hppa2.0n-hp-hpu
> > x11.00/bin/nm: /usr/local/lib/libintl.sl: no symbols
> > source='chg-scsi-chio.c' object='chg-scsi-chio.o' libtool=no \
> > depfile='.deps/chg-scsi-chio.Po'
> > tmpdepfile='.deps/chg-scsi-chio.TPo' \
> > depmode=gcc3 /bin/sh ../config/depcomp \
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > >
> > >
> >
> gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../server-src -I..
> >
> > > >
> > src -D_FILE_OFFSET_BITS=64 -D__STDC_EXT__ -D_FILE_OFFSET_BITS=64
> > -g -O2 -c `test -f chg-scsi-chio.c || echo './'`chg-scsi-chio.c
> > <command line>:1:1: warning: "__STDC_EXT__" redefined
> > <command line>:1:1: warning: this is the location of the previous
> definition
> > chg-scsi-chio.c: In function `main':
> > chg-scsi-chio.c:644: `conffile' undeclared (first use in this
> > function)
> > chg-scsi-chio.c:644: (Each undeclared identifier is reported only once
> > chg-scsi-chio.c:644: for each function it appears in.)
> > *** Error exit code 1
> > Stop.
> > *** Error exit code 1
> > Stop.
> > #
> > -----------------------------------------
> >
> > Any hints???
> > Thanks.
> > Jeffo.
> >
> >

-- 
Jean-Louis Martineau             email: martineau AT IRO.UMontreal DOT CA 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834

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