bug-cfengine
[Top][All Lists]
Advanced

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

item.c fails to compile with 2.1.13 and current snapshot


From: Matt Brown
Subject: item.c fails to compile with 2.1.13 and current snapshot
Date: Thu, 17 Feb 2005 09:49:39 +1300

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

-- 
Matt Brown
address@hidden
Mob +64 275 611 544 www.mattb.net.nz





reply via email to

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