[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling hobbit client for SunOS 5.5.1
- To: hobbit (at) hswn.dk
- Subject: compiling hobbit client for SunOS 5.5.1
- From: Great Dilla <great.dilla (at) gmail.com>
- Date: Fri, 27 Jan 2006 23:33:33 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=b/1H8l3wS3hPlvUrB2ZypbA7ozznMyjmXHmxUL/OACRgxzhbpdSfykW7LnBj+O49/vPuT30eecm1APljC9lbny4TxstSMXu3Y+qiAVLECis2bePtJnLYuKja4kLuoVwi1xutlctH+hJFVMDDv0IcwQ6T1Phlv1Ivdu60/SQ6h68=
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