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 <[EMAIL PROTECTED]> 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: > [EMAIL PROTECTED] > 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
