Amanda-Users

Resolved (mostly) Re: Compile Help Request - SunOS 4.1.2

2002-12-07 14:20:13
Subject: Resolved (mostly) Re: Compile Help Request - SunOS 4.1.2
From: Justin Usenet <justin_usenet AT yahoo DOT com>
To: amanda-users AT amanda DOT org
Date: Sat, 7 Dec 2002 10:32:55 -0800 (PST)
Thanks to those that replied. The fix is described
below. The fix works with dump, but configure fails to
generate a Makefile when gtar is involved. This is a
separate issue that has nothing to do with my original
post. I was manually dumping to an NFS share, but now
with AMANDA, the old SPARC is now backed up
automatically to tape. 
Contributions:
Jon LaBadie for reminding me to use make distlcean 
Gene Heskett's gracious offer to send flowers and
suggestion to upgrade gcc. 
"Hoo boy.  Where can we send the flowers?  While that
compiler was 
the standard for several years while the gnu folks
worked on other"
Flowers can be sent to Jean-Louis Martineau who sent
the patches that resolved the compile problem. 

Fixes:
Apply the two attached patches. The will still fail
unless you manually patch tape-src/amdd.c

That was it. 

Again thanks to everyone on the development team and
to all the contributors to amanda-uesrs

Justin
--- Jean-Louis Martineau <martinea AT iro.umontreal DOT ca>
wrote:
> On Sun, Dec 01, 2002 at 08:29:38AM -0800, Justin
> Usenet wrote:
> > Progress - the patch allowed debug.c to compile.
> > However  make fails with ammt.c 
>  
> > Any ideas?
> > Justin
> 
> Try this patch.
> Run 'make -k' and send me all the error.
> 
> Jean-Louis
> -- 
> 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
> > ---
/u/martinea/amcore/amanda-2.4.3/tape-src/ammt.c
> 2002-12-01 20:23:51.000000000 -0500
> +++ tape-src/ammt.c   2002-12-01 20:22:32.000000000
> -0500
> @@ -27,6 +27,8 @@
>  #include "tapeio.h"
>  #endif
>  
> +extern int optind;
> +
>  static int do_asf();
>  static int do_bsf();
>  static int do_status();
> --- /u/martinea/amcore/amanda-2.4.3/tape-src/amdd.c
> 2002-12-01 20:23:51.000000000 -0500
> +++ tape-src/amdd.c   2002-12-01 20:22:43.000000000
> -0500
> @@ -20,6 +20,8 @@
>  #include "tapeio.h"
>  #endif
>  
> +extern int optind;
> +
>  static int debug_amdd = 0;
>  static char *pgm = NULL;
>  
> 

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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