[Kroupware] Compiling monit problem

Jeffrey Walls kroupware@mail.kde.org
Wed, 18 Dec 2002 08:31:04 -0500


I'm having a problem compiling monit on the server.

I get:

/kolab/bin/cc  alert.o daemonize.o env.o files.o gc.o log.o md5.o monit_http.o 
monit_process.o monitor.o net.o sendmail.o signal.o spawn.o start.o status.o 
stop.o util.o validate.o xmalloc.o y.tab.o lex.yy.o   protocols/default.o 
protocols/ftp.o protocols/http.o protocols/imap.o protocols/nntp.o 
protocols/pop.o protocols/protocol.o protocols/smtp.o http/base64.o 
http/cervlet.o http/engine.o http/http_utils.o http/processor.o 
process/common.o process/sysdep.o -lfl -lpthread -lresolv -lnsl   -o monit
monit_process.o: In function `update_loadavg':
monit_process.o(.text+0xae): undefined reference to `getloadavg'
collect2: ld returned 1 exit status
make: *** [monit] Error 1
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.81342 (%build)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.81342 (%build)
make: *** [all] Error 1

What am I missing?

-- 
Jeffrey Walls
IT Manager
Brown Transmission and Bearing Co.