i have a hobbit client whose host operating system is a SunOS 5.5.1.
i get these errors trying to compile the hobbit client.. i'm no good in C/C++ programming, so if anyone can trace help me as to what to tweak to make it compile, it will be very much appreciated.
** snip **
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I.
-I/opt/hobbit-4.1.2p1/include -DCLIENTONLY=1 -I. -I../include -c -o
sendmsg.o sendmsg.c
sendmsg.c: In function sendtobbd': sendmsg.c:247: warning: implicit declaration of function inet_aton'
sendmsg.c:298: error: SHUT_RDWR' undeclared (first use in this function) sendmsg.c:298: error: (Each undeclared identifier is reported only once sendmsg.c:298: error: for each function it appears in.) sendmsg.c:322: warning: passing arg 4 of getsockopt' from
incompatible pointer type
sendmsg.c:387: error: SHUT_RD' undeclared (first use in this function) sendmsg.c:402: error: SHUT_WR' undeclared (first use in this function)
sendmsg.c: In function sendmessage': sendmsg.c:501: warning: implicit declaration of function usleep'
make[1]: *** [sendmsg.o] Error 1
make[1]: Leaving directory `/opt/hobbit-4.1.2p1/lib'
make: *** [lib-client] Error 2
** snip **
gcc=3.3.2 make=3.8
thanks, great