help-cfengine
[Top][All Lists]
Advanced

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

RE: Problem while installing cfengin-2.0.4


From: Koduru, Kishan
Subject: RE: Problem while installing cfengin-2.0.4
Date: Thu, 19 Sep 2002 10:57:17 -0700

Looks like "make" is having problem with these lines  in all the ".c" files. If 
someone can throw some light on this, i would appreciate.

Thanks
Kishan

if ((errno = dbp->open(dbp,CHECKSUMDB,NULL,DB_BTREE,DB_CREATE,0644)) != 0)
   {
   snprintf(OUTPUT,bufsize*2,"Couldn't open checksum database %s\n",CHECKSUMDB);
   CfLog(cferror,OUTPUT,"db_open");
   dbp->close(dbp,0);
   return false;
   }   

-----Original Message-----
From: Sean Lally [mailto:Sean.Lally@crownpeak.com]
Sent: Thursday, September 19, 2002 10:53 AM
To: Koduru, Kishan; help-cfengine@gnu.org
Subject: RE: Problem while installing cfengin-2.0.4


I had the same thing this am.  I had to use an older version of Berkeleydb, 
db-4.0.14.  I happened to have it around still.  Couldn't find it on the web.  

Got it to compile, but now I'm having trouble with it connecting to the master. 
 I need to read the docs some more before I write in though, I'm not sure if 
2.0.4 will talk to  2.0.1.

Sean

-----Original Message-----
From: Koduru, Kishan [mailto:KKoduru@ea.com]
Sent: Thursday, September 19, 2002 10:44 AM
To: help-cfengine@gnu.org
Subject: Re: Problem while installing cfengin-2.0.4


The package SMCgcc supplied by Sun on Solaris8 is 2.95. I still downloaded gcc 
2.95 and tried to compile it but still getting the following errors while doing 
"make"

-Kishan

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/BerkeleyDB.4.1/include -I/usr/local
/ssl/include     -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O
2 -I/usr/local/BerkeleyDB.4.1/include -c `test -f 'misc.c' || echo './'`misc.c
misc.c: In function `ChecksumChanged':
misc.c:273: warning: passing arg 2 of pointer to function from incompatible poin
ter type
misc.c:273: warning: passing arg 4 of pointer to function makes pointer from int
eger without a cast
misc.c:273: too few arguments to function
*** Error code 1
make: Fatal error: Command failed for target `misc.o'
Current working directory /home/kkoduru/sec/cfengine-2.0.4/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /home/kkoduru/sec/cfengine-2.0.4/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'    


_______________________________________________
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]