morgan@jessica.Stanford.EDU (RL "Bob" Morgan) (09/14/90)
I'm wanting to support some PC-NFS clients on my Ultrix machine (a VAX running version 3.1). I tried to compile the rpc.pcnfsd.c that came with the PC-NFS 3.0 distribution, but it expects STREAMS libraries (sys/stream.h, in particular) that my Ultrix machine doesn't have. Is there a STREAMS-less version of rpc.pcnfsd.c, or some other solution? Thanks, - RL "Bob" Morgan Networking Systems Stanford
morgan@jessica.stanford.edu (RL "Bob" Morgan) (09/14/90)
I complained: > I'm wanting to support some PC-NFS clients on my Ultrix machine (a VAX > running version 3.1). I tried to compile the rpc.pcnfsd.c that came > with the PC-NFS 3.0 distribution, but it expects STREAMS libraries > (sys/stream.h, in particular) that my Ultrix machine doesn't have. and several people pointed out that you just take out the "include sys/stream.h" line and it works fine. I felt foolish. I resolved to be more aggressive (and more suspicious) about such things in the future . . . - RL "Bob" Morgan Networking Systems Stanford University
guy@auspex.auspex.com (Guy Harris) (09/15/90)
>and several people pointed out that you just take out the "include >sys/stream.h" line and it works fine. Bizarre. If it's not using STREAMS, why is it bothering to include <sys/stream.h>? If the answer is "because it won't compile under SunOS 4.x due to errors in <sys/tty.h>", the *correct* answer is "so don't include <sys/tty.h>; that include file is a bunch of stuff for internal kernel interfaces in the tty driver, which only the most extraordinary of user-mode code should be including (and the SunOS 4.x <sys/tty.h> is *completely unlike* the BSD one anyway)."