[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] compiling hobbit client for SunOS 5.5.1



On Fri, Jan 27, 2006 at 11:33:33PM +0800, Great Dilla wrote:
> i have a hobbit client whose host operating system is a SunOS 5.5.1.

Oh dear - that is a positively ancient box.

> 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:247: warning: implicit declaration of function `inet_aton'
> sendmsg.c:298: error: `SHUT_RDWR' undeclared (first use in this function)
> 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:501: warning: implicit declaration of function `usleep'

All of these are standard library functions and names, present in most
current (and not-so-current) Unix environments. In fact, these were 
introduced in BSD 4.2 which was released over 20 years ago (1983, to
be exact).

I'm sorry, but that is one environment where you'll have to use a
different client package.


Regards,
Henrik