--- Justin Usenet <justin_usenet AT yahoo DOT com> wrote:
> Date: Tue, 3 Dec 2002 13:16:32 -0800 (PST)
> From: Justin Usenet <justin_usenet AT yahoo DOT com>
> Subject: Re: Compile Help Request
> To: Jean-Louis Martineau <martinea AT iro.umontreal DOT ca>
> CC: manda-users AT amanda DOT org
>
> Jean-Louis,
>
> Still fails to compile, this time amdd.
>
> --- 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;
> >
>
>
> Attached is a patch.rej file and the full compile
> output. Summary here -
> gcc -DHAVE_CONFIG_H -I. -I. -I../config
> -I../common-src -g -O2 -c `test -f amdd.c ||
> echo
> './'`amdd.c
> amdd.c: In function `main':
> amdd.c:96: `optind' undeclared (first use this
> function)
> amdd.c:96: (Each undeclared identifier is reported
> only once
> amdd.c:96: for each function it appears in.)
> *** Error code 1
> make: Warning: Target `install-exec-am' not remade
> because of errors
> Current working directory
> /usr/local/amanda-2.4.3/tape-src
>
> configured like this -
> ./configure --with-user=amanda --with-group=bin
> --with-config=DailySet1 --without-server
>
> Justin
>
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com
> ATTACHMENT part 2 application/octet-stream
name=amdd.c.rej
> ATTACHMENT part 3 application/octet-stream
name=Install.log
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
|