Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!bloom-beacon!dont-send-mail-to-path-lines From: cflatter@zia.aoc.nrao.EDU (Chris Flatters) Newsgroups: comp.windows.x Subject: Re: problem linking with xview on DECstation Message-ID: <9103292206.AA06025@zia.aoc.nrao.edu> Date: 29 Mar 91 22:06:38 GMT Sender: tytso@athena.mit.edu (Theodore Y. Ts'o) Organization: The Internet Lines: 24 > Using patches kindly posted a couple of months ago and applying some > (potentially dubious) fixes of my own, I have finally got xview2.0 > compiled on my DEC5000 (Ultrix4.1). > > Now, when I try to compile and link a simple program (quit.c, Example > 3.1 from the XVPM), I get the following error: > ld: > Undefined: > svc_getreqset > > Does anyone have any information on this? svc_getreqset() is a Sun RPC call. It checks for any activity on the the file descriptors passed to it and dispatches them to the appropriate RPC handler. If you are not using Sun RPC it will be safe to chop this out using #ifdef blocks. I thought that the XView source distribution already had a special preprocessor symbol that could be defined if RPC was not available that took care of this but I don't have the source handy to check. Chris Flatters PS. DEC have Sun RPC on the DECstation (NFS works using RPC) but don't make it available to the end user. IMHO this is rather unsocial of them.