clients problems

Michael Nemeth michael.nemeth at lmco.com
Wed Jul 27 20:35:22 CEST 2005


hobbitclient-hpux.sh should be hobbitclient-hp-ux.sh

for hp-ux 11.0 and below  (I don't have hpux 11.11) configure scripts 
could(should?)  have :
USERDATA=`getent passwd $BBUSER 2>/dev/null || ypmatch  $BBUSER passwd  
2>/dev/null || grep "^${BBUSER}:" /etc/passwd`
A there no getent for  hpux running yp (maybe one with nis+? )  .
I was luck and was compiling mu hpux client on the yp server so it work  
by grap /etc/passwd !

Compile problems :
hp-ux 10.20
sendmsg.c: In function `sendtobbd':
sendmsg.c:318: `socklen_t' undeclared (first use in this function)
sendmsg.c:318: (Each undeclared identifier is reported only once
sendmsg.c:318: for each function it appears in.)
sendmsg.c:318: parse error before `connressize'
sendmsg.c:320: `connressize' undeclared (first use in this function)
gmake[1]: *** [sendmsg.o] Error 1
gmake[1]: Leaving directory `/tmp_mnt/home/mnemeth/hob20/lib'
gmake: *** [lib-client] Error 2

 
hp-ux 11.0  works fine ; I saw Anatoli Bogajewski had minor (?) problems 
with  sendmsg.c  on  hpux 11.11


solaris 2.6
sendmsg.c: In function `sendtobbd':
sendmsg.c:245: warning: implicit declaration of function `inet_aton'
sendmsg.c:318: `socklen_t' undeclared (first use in this function)
sendmsg.c:318: (Each undeclared identifier is reported only once
sendmsg.c:318: for each function it appears in.)
sendmsg.c:318: parse error before `connressize'
sendmsg.c:320: `connressize' undeclared (first use in this function)
sendmsg.c:320: warning: passing arg 4 of `getsockopt' from incompatible 
pointer type
gmake[1]: *** [sendmsg.o] Error 1
gmake[1]: Leaving directory `/home/mnemeth/sol26/lib'

solaris 2.8 worked fine ; I have try 2.9 but then the 2.8 build should 
work on it.

IM not C programmer at all maybe these are easy fixes ,  like a missing 
include?
Has   one got these to work?   ( I actually have Sol 2.5.1 ,  hpux 9.5 
hpux9.7 and hpux 10.10 clients to support
that are runing bb clients  but they are few  are not as importain )!

Last , I  wondering how easy it will be to build a  cilent and tar it 
for use on another system  AND change if need BBHOME;
I not look at this yet as anyone else? 





More information about the Xymon mailing list