bug-cfengine
[Top][All Lists]
Advanced

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

compile error in cfengine 2


From: José M. Fandiño
Subject: compile error in cfengine 2
Date: Fri, 05 Apr 2002 11:53:28 +0200

Hello friends,

I'm trying get a working cfengine 2.0.1 in a GNU/Linux machine with
a 2.0.x kernel (yes, a 2.0.x kernel :). This old kernel don't support 
IPv6 so I'm getting several errors during the compilation.

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/BerkeleyDB.4.0/include 
-I/usr/local/ssl/include    -g -O2  -Wreturn-type -Wmissing-prototypes 
-Wuninitialized -c proto.c
proto.c: In function `IdentifyForVerification':
proto.c:102: sizeof applied to an incomplete type
make[1]: *** [proto.o] Error 1
make[1]: Leaving directory `/opt/src/cfengine-2.0.0/src'
make: *** [all-recursive] Error 1  

Aaaggghh!!!!!!

if I change this line to undef I can compile cfengine,

src/conf.h: /* Define if you have the `getaddrinfo' function. */
src/conf.h: #undef HAVE_GETADDRINFO 

but also I can be missing any funcionality of cfengine. :-?


Is it possible get cfengine work in this kernel without
these ugly trick?

regards,

Note:  This machine is a hub in a hub-spoke topology with critical
       patches and I can't switch the kernel :-(
-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d- s+:+() a- C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w---
O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++
G++ e- h+(++) !r !z
------END GEEK CODE BLOCK------



reply via email to

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