monit-general
[Top][All Lists]
Advanced

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

Monit 3.x compile problem Solaris 2.6


From: Alexander Maier
Subject: Monit 3.x compile problem Solaris 2.6
Date: Thu, 23 Jan 2003 10:37:47 -0000

Hi,

I can not compile monit 3.x on Solaris 2.6:

[...]
gcc -L/tools/lib -s alert.o control.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 ssl.o status.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
protocols/ssh.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 -lsocket   -o monit
Undefined                       first referenced
 symbol                             in file
getloadavg                          monit_process.o
ld: fatal: Symbol referencing errors. No output written to monit
collect2: ld returned 1 exit status
make: *** [monit] Error 1


Solaris 2.6 (and earlier versions) does not have getloadavg()
(sys/loadavg.h). The function is available beginning with Solaris 7.

Is there a workaround?

Regards,
Alexander





reply via email to

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