bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: item.c fails to compile with 2.1.13 and current snapshot


From: Mark Burgess
Subject: Re: item.c fails to compile with 2.1.13 and current snapshot
Date: Thu, 17 Feb 2005 08:39:01 +0100

Repatched declaration bug from a different patch!! SVN updated.

M

On Thu, 2005-02-17 at 09:49 +1300, Matt Brown wrote:
> Hi, 
> 
> I have a Debian 3.0 (woody) system, using gcc 2.95.4. Trying to compile
> cfengine-2.1.13 or the current snapshot results in the following
> compilation error in item.c 
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.  -I/usr/include  -pthread  -g -O2
> -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -g -O2
> -D_FILE_OFFSET_BITS=64   -pthread -g -O2  -D_FILE_OFFSET_BITS=64 -c
> item.c
> item.c: In function `FuzzyHostMatch':
> item.c:1042: parse error before `int'
> item.c:1067: `host_basename' undeclared (first use in this function)
> item.c:1067: (Each undeclared identifier is reported only once
> item.c:1067: for each function it appears in.)
> make[1]: *** [item.o] Error 1
> make[1]: Leaving directory `/home/matt/debs/cfengine-2.1.13/src'
> make: *** [all] Error 2
> 
> I can't make head or tail of it, a quick look at line 1042 and
> surrounding lines doesn't set off any warning bells to me, but something
> is obviously wrong!
> 
> I configured using the standard ./configure with no options. Everything
> is as standard as I can make it. 
> 
> Help would be appreciated!
> 
> Regards
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]