[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amanda-users
Subject:    Re: Amanda 2.5.0 compile problems (Was: Amanda on AIX with an IBM 733 7 library)
From:       "John R. Jackson" <jrj () gandalf ! cc ! purdue ! edu>
Date:       2001-06-27 22:00:38
[Download RAW message or body]

>gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../client-src
>-I../tape-src    -g -O2     -c uscan.c
>In file included from ../common-src/amanda.h:140,
>                 from uscan.c:85:
>/usr/include/sys/ioctl.h:218: warning: `ECHO' redefined
>uscan.c:30: warning: this is the location of the previous definition
>uscan.c:57: parse error before `Advanced'
>uscan.c:81: `$' in identifier
>uscan.c:81: numeric constant contains digits beyond the radix
>uscan.c:81: `$' in identifier
>...

This looks like the uscan.c file didn't get built properly.  The "ECHO"
thing is supposed to be taken care of.  And the "Advanced" message
implies it tried to compile the Amanda copyright notice.

You might remove it and let it get rebuilt from uscan.l (ditto for
uparse.c, which will get rebuilt from uparse.y).  I'm not sure if you
also have to use flex rather than lex (and bison rather than yacc),
but it certainly wouldn't hurt.

The other thing you could do is skip recover-src since you're only
interested in the SCSI changer.  Go into the top level Makefile and
find this line:

  RECOVER_SUBDIRS = recover-src

Change it to:

  RECOVER_SUBDIRS =

and Amanda should built but without the amrecover stuff.

An (untested) alternative would be to add --without-amrecover to your
./configure line (you might also add --without-client).

>Anthony
>
>P.S.  Am I annoying you guys with all these requests?  ...

Not me.  Anyone on this list should be used to a few hundred letters
a day :-).  And anything that makes Amanda better, such as getting the
SCSI changer going on AIX, is a good thing (IMO).

John R. Jackson, Technical Software Specialist, jrj@purdue.edu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic