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
gmakeÄ1Å: *** Äsendmsg.oÅ Error 1
gmakeÄ1Å: Leaving directory é/tmp/hobbit-4.0.1/lib'
gmake: *** Älib-buildÅ Error 2
Regards Lars
Hobbithobbyist
"If you run UNIX and you don't have a UPS, you should see a psychiatrist...." --Byte Magazine (years ago)
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
participants (2)
-
dhd733@yahoo.se
-
henrik@hswn.dk