I have GCC with flex installed on AIX 5.3. When compiling Monit 5 Beta
6, a configure ran fine..
monit has been configured with the following options:
Architecture: AIX
SSL support: disabled
resource monitoring: enabled
resource code: sysdep_AIX.c
large files support: disabled
Compiler flags: -g -O2 -Wall -D _REENTRANT
Linker flags: -lpthread -lpam -lcrypt -lnsl -lodm -lcfg
-lperfstat
pid file location: /etc
But a make ends in error. See below Any ideas? I really need to get
this
working on AIX. Please help!!
flex -i l.l
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT alert.c -o
alert.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT collector.c -o
collector.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT control.c -o
control.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT daemonize.c -o
daemonize.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT env.c -o env.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT event.c -o
event.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT file.c -o file.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT gc.c -o gc.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT getloadavg.c -o
getloadavg.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT http.c -o http.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT log.c -o log.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT md5.c -o md5.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT monitor.c -o
monitor.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT net.c -o net.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT process.c -o
process.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT sendmail.c -o
sendmail.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT sha.c -o sha.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT signal.c -o
signal.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT socket.c -o
socket.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT spawn.c -o
spawn.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT ssl.c -o ssl.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT state.c -o
state.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT status.c -o
status.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT util.c -o util.o
util.c: In function 'PAMcheckPasswd':
util.c:1791: warning: initialization from incompatible pointer type
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT validate.c -o
validate.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT xmalloc.c -o
xmalloc.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT xml.c -o xml.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT
device/device_common.c -o device/device_common.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT http/base64.c -o
http/base64.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT http/cervlet.c
-o
http/cervlet.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT http/engine.c -o
http/engine.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT http/processor.c
-o http/processor.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT
process/process_common.c -o process/process_common.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT
protocols/apache_status.c -o protocols/apache_status.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT protocols/
clamav.c
-o protocols/clamav.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT
protocols/default.c -o protocols/default.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT protocols/
dns.c -o
protocols/dns.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT protocols/
dwp.c -o
protocols/dwp.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT protocols/
ftp.c -o
protocols/ftp.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT
protocols/generic.c -o protocols/generic.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT protocols/http.c
-o protocols/http.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT protocols/imap.c
-o protocols/imap.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT protocols/
ldap2.c
-o protocols/ldap2.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT protocols/
ldap3.c
-o protocols/ldap3.o
gcc -c -DAIX -DSYSCONFDIR="\"/usr/local/etc\"" -I. -I./device -I./http
-I./process -I./protocols -g -O2 -Wall -D _REENTRANT protocols/lmtp.c
-o protocols/lmtp.o
protocols/lmtp.c:36: error: conflicting types for 'send'
/usr/include/sys/socket.h:548: error: previous declaration of 'send'
was
here
make: *** [protocols/lmtp.o] Error 1
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Martin Pala
Sent: Tuesday, February 03, 2009 12:36 PM
To: This is the general mailing list for monit
Subject: Re: [monit] Monit on AIX
Hi,
Monit 5.0_beta3 was ported to AIX - latest beta should work as well.
Martin
On Feb 3, 2009, at 3:43 PM, Perdue, Emmett wrote:
Has anyone successfully compiled Monit to run on AIX version 5.x? I
keep running into different errors when trying. Every time I get one
error fixed, I hit another....
-----------------------------------------
This email transmission and any accompanying attachments may contain
CSX privileged and confidential information intended only for the use
of the intended addressee. Any dissemination, distribution, copying
or action taken in reliance on the contents of this email by anyone
other than the intended recipient is strictly prohibited. If you
have
received this email in error please immediately delete it and notify
sender at the above CSX email address. Sender and CSX accept no
liability for any damage caused directly or indirectly by receipt of
this email.
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general