[hobbit] Solaris 9 X86 compile errors

Whilding, Craig Craig_Whilding at mentor.com
Tue Apr 11 16:55:23 CEST 2006


Looks like a problem I had on AIX. Solution was to change the type of
socklen_t from int to unsigned long in the file osdef.h.

 

Craig

 

________________________________

From: Langford, Kenneth [mailto:crlangfo at ugs.com] 
Sent: 11 April 2006 15:52
To: hobbit at hswn.dk
Subject: [hobbit] Solaris 9 X86 compile errors 

 

Hi,

 

I am trying to install hobbit 4.1.2p1 for the first time on Solaris 9
9/04 s9x_u7wos_09 x86.  I have installed make-3.80-sol9-intel-local.gz
and gcc-3.3.2-sol9-intel-local from Sunfreeware.com.  It also has Sun
Studio 11 installed.

 

I am getting the following compile error.  Any idea what I did
wrong?????? 8-(

 

 

cisa6s01:(/etc/local/hobbit-4.1.2p1) # /usr/local/bin/gmake CC=3D"gcc"
CFLAGS=3D"-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I.
-I`pwd`/include -DCLIENTONLY=3D1" O SDEF=3D"-DSunOS" RPATHOPT=3D""
PCREINCDIR=3D"" SSLFLAGS=3D"" = SSLINCDIR=3D"" SSLLIBS=3D""
NETLIBS=3D"-lresolv -lsoc ket -lnsl" BBTOPDIR=3D"/usr/local/hobbit"
BBLOGDIR=3D"" BBHOSTNAME=3D"" BBHOSTIP=3D"146.122.14.84" BBHOSTOS=3D ""
/usr/local/bin/gmake -C lib client

gmake[1]: Entering directory `/etc/local/hobbit-4.1.2p1/lib' gcc -g -O2
-Wall -Wno-unused -D_REENTRANT -DSunOS -I.
-I/etc/local/hobbit-4.1.2p1/include -DCLIENTON

LY=3D1 -I. -I../include    -c -o sendmsg.o sendmsg.c

In file included from /etc/local/hobbit-4.1.2p1/include/libbbgen.h:24,

                 from sendmsg.c:35:

/etc/local/hobbit-4.1.2p1/lib/osdefs.h:21: error: conflicting types for
`socklen_t'

/usr/include/sys/socket.h:61: error: previous declaration of `socklen_t'

gmake[1]: *** [sendmsg.o] Error 1

gmake[1]: Leaving directory `/etc/local/hobbit-4.1.2p1/lib'

gmake: *** [lib-client] Error 2

 

 

 

  Kenneth Langford

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060411/515ce8c1/attachment.html>


More information about the Xymon mailing list