I had the same problem. You need to edit the osdefs.h file so that
socklen_t is an unsigned long, which is how it is defined in sockets.h.
<br>
<br>
Thanks,<br>
Larry Barber<br><br><div><span class="gmail_quote">On 3/16/06, <b class="gmail_sendername">Whilding, Craig</b> <<a href="mailto:Craig_Whilding@mentor.com">Craig_Whilding@mentor.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">










<div>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Im trying to install the latest snapshot of the Hobbit
client on AIX. I installed gnu make from the ucla aixpdslib site along with gcc
4.0.2. The configure worked fine and created the makefile to install the client
with config on the server side. I changed the Makefile.AIX file to use gcc as
it couldn't find cc and encountered the following errors. Im not very
familiar with AIX and haven't been able to find one of our people who is
yet so was hoping someone here would have some experience.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"># /usr/local/bin/make</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">CC="/usr/local/bin/gcc" CFLAGS="-O
-D_REENTRANT -DAIX -I. -I`pwd`/include -DCLIENTONLY=1"
OSDEF="-DAIX" RPATHOPT="" PCREINCDIR=""
SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS=""
BBTOPDIR="/usr/local/hobbit" BBLOGDIR=""
BBHOSTNAME="" BBHOSTIP="<a href="http://137.202.205.54" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">137.202.205.54</a>"
BBHOSTOS="" LOCALCLIENT="no" /usr/local/bin/make -C lib
client</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">make[1]: Entering directory `/usr/local/hobbit/snapshot/lib'</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">/usr/local/bin/gcc -O -D_REENTRANT -DAIX -I.
-I/usr/local/hobbit/snapshot/include -DCLIENTONLY=1 -I. -I../include    -c -o
sendmsg.o sendmsg.c</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">In file included from
/usr/local/hobbit/snapshot/include/libbbgen.h:24,</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">                 from sendmsg.c:35:</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">/usr/local/hobbit/snapshot/include/../lib/osdefs.h:21:
error: conflicting types for 'socklen_t'</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">/usr/include/sys/socket.h:80: error: previous declaration of
'socklen_t' was here</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">sendmsg.c: In function 'sendtobbd':</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">sendmsg.c:328: warning: passing argument 5 of 'getsockopt'
from incompatible pointer type</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">make[1]: *** [sendmsg.o] Error 1</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">make[1]: Leaving directory `/usr/local/hobbit/snapshot/lib'</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">make: *** [lib-client] Error 2</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">#</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hope someone can help.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks,</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Craig Whilding</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>





</div></blockquote></div><br>