[hobbit] make error - hobbit 4.2.0 on hpux 11.11

thomas.seglard.enata at cnp.fr thomas.seglard.enata at cnp.fr
Mon Oct 23 15:40:54 CEST 2006


Hello,

I got several hp-ux servers 11.11 running Hobbit without any problems... 
but one of them is different. I can't even compile client on it. Why am I 
compiling client on it instead of copying it from another box ? Because 
the memory test is not working if I do that, don't understand why...
I find on the archive a post with the same error and try this workaround ( 
add #define HAVE_SOCKLEN_T 1 and remove any line with HAVE_SOCKLEN_T) but 
with no luck. If someone could help :)
Sincerly,

Thomas


Here is the output :

pss055:/opt/hobbit/hobbit-4.2.0 # gmake
CC="gcc" CFLAGS="-g -O -D_REENTRANT  -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -DHPUX -I. -I`pwd`/include -DCLIENTONLY=1" 
LDFLAGS="" OSDEF="-DHPUX" RPATHOPT="" PCREINCDIR="" SSLFLAGS="" 
SSLINCDIR="" SSLLIBS="" NETLIBS="-lnsl" BBTOPDIR="/opt/hobbit" BBLOGDIR="" 
BBHOSTNAME="" BBHOSTIP="158.157.156.91" BBHOSTOS="" LOCALCLIENT="no" gmake 
-C lib client
gmake[1]: Entering directory `/opt/hobbit/hobbit-4.2.0/lib'
gcc -g -O -D_REENTRANT  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHPUX 
-I. -I/opt/hobbit/hobbit-4.2.0/include -DCLIENTONLY=1 -I. -I../include -c 
-o cgiurls.o cgiurls.c
In file included from /opt/hobbit/hobbit-4.2.0/lib/ipaccess.h:15,
                 from /opt/hobbit/hobbit-4.2.0/include/libbbgen.h:58,
                 from cgiurls.c:24:
/usr/include/sys/socket.h:484: error: parse error before "sendfile"
/usr/include/sys/socket.h:484: error: parse error before "bsize_t"
/usr/include/sys/socket.h:486: error: parse error before "sendpath"
/usr/include/sys/socket.h:486: error: parse error before "bsize_t"
/usr/include/sys/socket.h:501: error: parse error before "__sendfile64"
/usr/include/sys/socket.h:501: error: parse error before "bsize_t"
/usr/include/sys/socket.h:502: error: parse error before "__sendpath64"
/usr/include/sys/socket.h:502: error: parse error before "bsize_t"
/usr/include/sys/socket.h:504: error: parse error before "sendfile"
/usr/include/sys/socket.h: In function `sendfile':
/usr/include/sys/socket.h:504: error: parse error before "bsize_t"
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:505: error: parse error before "sendpath"
/usr/include/sys/socket.h: In function `sendpath':
/usr/include/sys/socket.h:505: error: parse error before "bsize_t"
gmake[1]: *** [cgiurls.o] Error 1
gmake[1]: Leaving directory `/opt/hobbit/hobbit-4.2.0/lib'
gmake: *** [lib-client] Error 2




Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.




More information about the Xymon mailing list