[comp.unix.ultrix] problem linking with xview on DECstation

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