On Sun, Apr 03, 2005 at 12:03:02PM +0200, lars ebeling wrote:
My working installation is on a 64-bit parisc 2.0 processor running HP-UX 11i V1 (11.11). Now I am trying to install also on a 32-bit parisc 1.1 processor also running HP-UX 11i V1. Then I get this:
cc -g -O -D_REENTRANT -DHPUX -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/tmp/hobb it-4.0.1/include -DHOBBITD=1 -I. -I../include -c -o sendmsg.o sendmsg.c In file included from sendmsg.c:22: /usr/include/sys/socket.h:439: error: parse error before "sendfile" /usr/include/sys/socket.h:439: error: parse error before "bsize_t" /usr/include/sys/socket.h:441: error: parse error before "sendpath" /usr/include/sys/socket.h:441: error: parse error before "bsize_t" sendmsg.c: In function 'sendtobbd': sendmsg.c:313: warning: passing arg 5 of 'getsockopt' from incompatible pointer type
Could you try doing a "man socket" on that system ? It usually in the "Synopsis" section describes what header-files must be included, e.g. on my Linux box it says:
SYNOPSIS #include <sys/types.h> #include <sys/socket.h>
int socket(int domain, int type, int protocol);
And the same thing for "man select"
Regards, Henrik