Newsgroups: comp.parallel.pvm From: Michael Sievers Subject: fd_set in pvm 3.3 Organization: DESY Date: 13 Feb 1998 09:37:03 GMT Message-ID: <6c147v$833$1@claire.desy.de> Hello, I found that pvm 3.3pl11 does not compile under Linux with kernels later than 2.0.32 at least. This goes back to a change in linux/posix_types.h, and has an effect on the way fd_set can be declared. Due to this, hoster.c does not compile any more. The following change makes it compile (just one struct removed): --- hoster.c.orig Fri Feb 13 10:29:30 1998 +++ hoster.c Fri Feb 13 10:30:05 1998 @@ -341,7 +341,8 @@ struct slot *sp, *sp2; struct timeval tnow; struct timeval tout; - struct fd_set rfds; + /* struct */ fd_set rfds; /* prepending struct does not work from + Linux 2.0.32 on (at least) */ int nfds; int i; int n; Is this a known problem? Can someone tell me why the struct is there (fd_set is typeset to a struct anyway)? Is this needed on other platforms? Bye, Michael -- -------------------------------------------------------- Michael Sievers Michael.Sievers@desy.de -------------------------------------------------------- Black holes are where God divided by zero.