caroline@pangea.Stanford.EDU (Caroline Lambert) (03/30/91)
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? I am linking with -lxview, -lolgx and -lX11, where -lX11 represents X11R4 from MIT, patch level 18 (ie not the DEC supplied library). The same program works fine on our Sun4. The call to svc_getreqset occurs in xview2/lib/libxvin/notify/ndet_loop.c. Since it only occurs once, and is in an 'if' statement, I have, as a temporary kluge, put '#ifndef ultrix....#endif' around it, which allows me to compile, link and run my program, but obviously this is not a satisfactory fix and I would like to find something better. Any help would be appreciated. -- Caroline Lambert Dept. of Geophysics Stanford University caroline@pangea.Stanford.EDU standard disclaimer
cflatter@zia.aoc.nrao.EDU (Chris Flatters) (03/30/91)
> 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.