help-cfengine
[Top][All Lists]
Advanced

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

Re: compiling cfengine 2.0.4 (Summary)


From: Peter Dettori
Subject: Re: compiling cfengine 2.0.4 (Summary)
Date: Fri, 27 Sep 2002 09:41:09 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020513 Netscape/7.0b1

Hi,

I encountered 2 problems compiling cfengine on tru64 4.0g

1. gcc is not the default copmiler on this machine, and the -I/usr/include switch included the tru64 not the gcc include files. I edited the Makefile and not the configuration to remove this. 2. The default flex installation gives errors on src/cflex.l I had to upgrade to 2.5.4

The documentation didn't compile either but I haven't looked into why.

cheers,
Pete

Peter Dettori wrote:
Hi,

I am getting the following error when compiling snprintf.c in cfengine2.0.4 on tru64 unix. gcc version 2.95.2 19991024 (release)

any help appreciated.

,
pete


source='snprintf.c' object='snprintf.o' libtool=no depfile='.deps/snprintf.Po' tmpdepfile='.deps/snprintf.TPo' depmode=gcc /bin/sh ../depcomp gcc -DHAVE_CONF IG_H -I. -I. -I../src -I/usr/local/BerkeleyDB.3.3/include -I/usr/include -g -O2 -I/usr/local/BerkeleyDB.3.3/include -g -O2 -Wreturn-type -Wmissing-prototype
s -Wuninitialized -c `test -f 'snprintf.c' || echo './'`snprintf.c
snprintf.c: In function `vsnprintf':
snprintf.c:622: parse error before `int'
snprintf.c:622: parse error before `int'
snprintf.c:622: parse error before `)'
snprintf.c:636: parse error before `int'
snprintf.c:636: parse error before `int'
snprintf.c:636: parse error before `)'
snprintf.c:694: parse error before `int'
snprintf.c:694: parse error before `int'
snprintf.c:694: parse error before `)'
snprintf.c:700: parse error before `const'
snprintf.c:700: parse error before `const'
snprintf.c:700: parse error before `)'
snprintf.c:759: parse error before `void'
snprintf.c:759: parse error before `void'
snprintf.c:759: parse error before `)'
snprintf.c:770: parse error before `int'
snprintf.c:770: parse error before `int'
snprintf.c:770: parse error before `)'
snprintf.c:775: parse error before `long'
snprintf.c:775: parse error before `long'
snprintf.c:775: parse error before `)'
snprintf.c:791: parse error before `unsigned'
snprintf.c:791: parse error before `unsigned'
snprintf.c:791: parse error before `)'
snprintf.c:795: parse error before `unsigned'
snprintf.c:795: parse error before `unsigned'
snprintf.c:795: parse error before `)'
snprintf.c:621: warning: `j' might be used uninitialized in this function
*** Exit 1
Stop.
*** Exit 1



_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://mail.gnu.org/mailman/listinfo/help-cfengine








reply via email to

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