|
From: | Hoerauf, Roy |
Subject: | help - cfengine will not make on cygwin |
Date: | Thu, 3 Apr 2003 13:35:41 -0500 |
I am running the latest version of the cygwin dll. I downloaded cfengine-2.0.5. It configures ok. But when I 'make' it, it always exits with the following:
---------
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/BerkeleyDB.4.1/include -I/usr/inclu
de -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O2 -I/usr/lo
cal/BerkeleyDB.4.1/include -c `test -f 'cfenvd.c' || echo './'`cfenvd.c
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O2 -I/usr/loc
al/BerkeleyDB.4.1/include -L/usr/local/BerkeleyDB.4.1/lib -L/usr/lib -o cfen
vd.exe cfenvd.o globals.o filenames.o nameinfo.o classes.o item.o item-ext.o it
em-file.o eval.o wildcard.o df.o read.o granules.o log.o popen.o patches.o locks
.o init.o -L../pub -lpub -L/usr/local/BerkeleyDB.4.1/lib -ldb -L/usr/lib -lcrypt
o -L../pub -lpub -lpthread -lm
cfenvd.o(.text+0x4162): In function `GatherLoadData':
/src/cfengine-2.0.5/src/cfenvd.c:1058: undefined reference to `_getloadavg'
collect2: ld returned 1 exit status
make[2]: *** [cfenvd.exe] Error 1
make[2]: Leaving directory `/src/cfengine-2.0.5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/src/cfengine-2.0.5/src'
make: *** [all-recursive] Error 1
---------
As I am not a programmer, I could really use some help or be pointed in the right direction.
Thanks
Roy
[Prev in Thread] | Current Thread | [Next in Thread] |