Re: [Plib-devel] net/ doesn't build on irix
Brought to you by:
sjbaker
From: <ma...@va...> - 2005-08-22 09:34:41
|
Erik Hofman wrote: > Fay John F Contr AAC/WMG wrote: > >> So is there anything we need to do to "net" to fix the problem? > > > If anything needs to be changed it should be configure. > So far I didn't really bother searching for a proper answer, but looking > at the problem a little better it turns out IRIX defines socklen_t to be > of the u_int32_t type unless XOPEN is installed. The configure scripts tries to compile the following: #include <sys/types.h> #include <sys/socket.h> int accept (int, struct sockaddr *, socklen_t *); If it works, then socklen_t is supposed to be defined and nothing needs to be done (no -Dsocklen_t=int or similar). Maybe some other #include is needed for the code to work on IRIX? What does "man 2 accept" say? -marten |