AIX Client

Stefan skjoldar at gmail.com
Fri Aug 15 15:27:31 CEST 2008


Hi everyone.

I've looked through the archives, and i see the AIX issue has come up
quite a lot.
I need to run the client on AIX boxes, but i can't get it compiled,
nor do i know if I'm missing something.

The runclient.sh is all wrong on the razorsedge compiled version, plus
it needs chkconfig for aix which i have no idea where to get.
Installed it with rpm 0Uvh --nodeps, and it installed, although i
think it might have done only half way.
It does run, but it doesn't open the 1984 port, and the config/log
file variables are wrong, or the installation location is wrong. I
can't get this version working

Compiling the source of the client, I get the following (bottom of email)

I'm stuck, I have no idea what is wrong here...
Can anyone perhaps help me?

I'm running AIX 5.3
make-3.81-1.aix5.2
pcre-3.7-3.aix5.1
pcre-devel-3.7-3.aix5.1
gcc-4.2.0-3.aix5.3


bash-3.00# gmake
CC="gcc" CFLAGS="-g -O3 -qstrict -qcpluscmt -D_REENTRANT  -DAIX -I.
-I`pwd`/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include"
LDFLAGS="" OSDEF="-DAIX" RPATHOPT="" PCREINCDIR="-I/usr/include"
SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" BBTOPDIR="/home/hobbit"
BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="172.24.44.34" BBHOSTOS=""
LOCALCLIENT="yes" gmake -C lib client
gmake[1]: Entering directory `/tmp/hobbit-4.2.0/lib'
gcc -g -O3 -qstrict -qcpluscmt -D_REENTRANT  -DAIX -I.
-I/tmp/hobbit-4.2.0/include -DCLIENTONLY=1 -DLOCALCLIENT=1
-I/usr/include -I. -I../include    -c -o cgiurls.o cgiurls.c
gcc: unrecognized option '-qstrict'
gcc: unrecognized option '-qcpluscmt'
In file included from /tmp/hobbit-4.2.0/include/../lib/ipaccess.h:15,
                 from /tmp/hobbit-4.2.0/include/libbbgen.h:58,
                 from cgiurls.c:24:
/usr/include/sys/socket.h:87: error: conflicting types for 'socklen_t'
/tmp/hobbit-4.2.0/include/../lib/osdefs.h:21: error: previous
declaration of 'socklen_t' was here
gmake[1]: *** [cgiurls.o] Error 1
gmake[1]: Leaving directory `/tmp/hobbit-4.2.0/lib'
gmake: *** [lib-client] Error 2
bash-3.00#



More information about the Xymon mailing list