Amanda-Users

Re: Compile Help Request

2002-12-01 12:15:21
Subject: Re: Compile Help Request
From: Justin Usenet <justin_usenet AT yahoo DOT com>
To: Jean-Louis Martineau <martinea AT iro.umontreal DOT ca>
Date: Sun, 1 Dec 2002 08:29:38 -0800 (PST)
--- Jean-Louis Martineau <martinea AT IRO.UMontreal DOT CA>
wrote:
> On Fri, Nov 29, 2002 at 05:19:45PM -0800, Justin
> Usenet wrote:
> > Thanks for your response. 
> > 
> > grep STDC_HEADERS config/config.h
> > 
> > /* #undef STDC_HEADERS */
> 
> That's what I thought!
> 
> Could you try this patch, it's completely untested.
> 
> Jean-Louis

[SNIP]

Progress - the patch allowed debug.c to compile.
However  make fails with ammt.c 

Here is the error:
source='ammt.c' object='ammt.o' libtool=no \
depfile='.deps/ammt.Po' tmpdepfile='.deps/ammt.TPo' \
depmode=gcc /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../config
-I../common-src     -g -O2 -c `test -f ammt.c || echo
'./'`ammt.c
ammt.c: In function `main':
ammt.c:178: `optind' undeclared (first use this
function)
ammt.c:178: (Each undeclared identifier is reported
only once
ammt.c:178: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `ammt.o'
Current working directory
/usr/local/amanda-2.4.3/tape-src
*** Error code 1
make: Fatal error: Command failed for target
`all-recursive'

Any ideas?
Justin

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

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