help-cfengine
[Top][All Lists]
Advanced

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

wont compile on solaris...


From: Asbjørn Karstensen
Subject: wont compile on solaris...
Date: Fri, 12 Jul 2002 08:31:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611

Hi.

I'm trying to compile cfengine 2.03 on a solaris box with these specs:

SunOS xxxxx.xxxx.xxxxx.xx 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-1

I have tried this with BerkeleyDB 4.0.14 and 3.3 with the same result.
I am using gcc 2.8.1, openssl 0.9.6d and make 3.79.1.

I have not altered the Makefile or any other file.

./configure works fine, but in the middle of "make" this comes up, and the installation halts.


gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/BerkeleyDB.3.3/include -I/usr/local/ssl/include -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O2 -I/usr/local/BerkeleyDB.3.3/include -c `test -f strategies.c || echo './'`strategies.c gcc -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O2 -I/usr/local/BerkeleyDB.3.3/include -L/usr/local/BerkeleyDB.3.3/lib -R/usr/local/BerkeleyDB.3.3/lib -L/usr/local/ssl/lib -o cfagent cfagent.o init.o do.o wrapper.o report.o client.o ip.o process.o ifconf.o image.o item.o item-ext.o item-file.o 2Dlist.o globals.o classes.o misc.o parse.o functions.o edittools.o patches.o install.o link.o tidy.o filedir.o eval.o modes.o chflags.o locks.o mount.o macro.o filenames.o varstring.o wildcard.o cfparse.o comparray.o read.o checksums.o proto.o filters.o copy.o repository.o rotate.o errors.o cflex.o net.o df.o log.o crypto.o popen.o popen_def.o sensible.o acl.o dce_acl.o nameinfo.o strategies.o -lfl -ldb -lcrypto -lpthread -lrx -lnsl -lsocket -lm -lelf -lsec -L../pub -lpub
Undefined                       first referenced
 symbol                             in file
db_strerror                         locks.o
db_create                           misc.o
ld: fatal: Symbol referencing errors. No output written to cfagent
make[2]: *** [cfagent] Error 1
make[2]: Leaving directory `/usr/share/src/cfengine-2.0.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/share/src/cfengine-2.0.3/src'
make: *** [all-recursive] Error 1


Can someone help me?

Thanks.
Regards

Asbjørn Karstensen
Engineer
Department of Telematics
Norwegian University of Science and Technology





reply via email to

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