[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cfengine horror stories
From: |
Mark . Burgess |
Subject: |
Re: cfengine horror stories |
Date: |
Thu, 28 Nov 2002 07:58:18 +0100 (MET) |
I see .. I managed to type an exta semi-colon at the end of the line. Works
fine on my compiler, but apparently not on yours. Just delete the extra
semi-colon from line 199 in src/varstring.
That's what I get for fixing just before going to bed.
M
On 27 Nov, Nate Campi wrote:
> On Wed, Nov 27, 2002 at 11:11:03PM +0100, Mark.Burgess@iu.hio.no wrote:
>> A bug fix version (2.0.5pre2) is now available on the web site.
>> (www.cfengine.org)
>> Hopefully no one else has discovered this the hard way.
>
> It doesn't build on my debian gnu/linux 2.4.18 x86 box:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -g -O2 -Wreturn-type
> -Wmissing-prototypes -Wuninitialized -g -O2 -c `test -f 'varstring.c'
> || echo './'`varstring.c
> varstring.c: In function `ExpandVarstring':
> varstring.c:199: parse error before `char'
> varstring.c:205: `i' undeclared (first use in this function)
> varstring.c:205: (Each undeclared identifier is reported only once
> varstring.c:205: for each function it appears in.)
> varstring.c:205: `j' undeclared (first use in this function)
> varstring.c:222: `currentitem' undeclared (first use in this function)
> varstring.c:259: `scanstr' undeclared (first use in this function)
> varstring.c:411: `tloc' undeclared (first use in this function)
> varstring.c:486: `name' undeclared (first use in this function)
> varstring.c:578: `len' undeclared (first use in this function)
> make[2]: *** [varstring.o] Error 1
> make[2]: Leaving directory `/usr/src/cfengine-2.0.5pre2/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/cfengine-2.0.5pre2/src'
> make: *** [all-recursive] Error 1
>
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
> gcc version 2.95.4 20011002 (Debian prerelease)
>
> I haven't tried on solaris yet.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~