ninpaths
Russ Allbery
rra at stanford.edu
Mon Jan 29 16:41:07 UTC 2001
Alexey Luckyanchikov <alexl at alkar.net> writes:
> On 29 Jan 2001, Russ Allbery wrote:
> RA> INN doesn't use DEFS for anything, so I don't understand what this would
> Macro VERSION defined in DEFS is required to compile ninpaths.c. If you
> try to compile it without DEFS you'll receive:
> gcc -g -O2 -I../include -o ninpaths.o -c ninpaths.c
> ninpaths.c: In function `writedump':
> ninpaths.c:149: parse error before `VERSION'
> ninpaths.c: In function `report':
> ninpaths.c:420: `VERSION' undeclared (first use this function)
> ninpaths.c:420: (Each undeclared identifier is reported only once
> ninpaths.c:420: for each function it appears in.)
> *** Error code 1
Ah! *sigh* I swear, I did test this. :) Okay, committed.
> Ninpaths compilation failed. It was only one problem :)
> sendinpaths also requires a small modification:
> --- contrib/ninpaths/sendinpaths.in.orig Mon Jan 29 18:03:42 2001
> +++ contrib/ninpaths/sendinpaths.in Mon Jan 29 18:04:18 2001
> @@ -7,7 +7,7 @@
> # Assuming the ninpaths dump files are in ${MOST_LOGS}/path/inpaths.%d
> cd ${MOST_LOGS}/path
> -ME=`innconfval pathhost`
> +ME=`${NEWSBIN}/innconfval pathhost`
> report=30
> keep=14
> TMP=tmp$$
Thanks, this is now in too.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-bugs
mailing list