Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!mips!prls!pyramid!voder!wlbr!roger.imsd.contel.com!mh From: mh@roger.imsd.contel.com (Mike Hoegeman) Newsgroups: comp.windows.x Subject: Re: Help compiling XView 2.0 on decstation 3100 Keywords: Xview, dec station, help Message-ID: <60253@wlbr.IMSD.CONTEL.COM> Date: 3 Nov 90 19:55:25 GMT References: Sender: news@wlbr.IMSD.CONTEL.COM Organization: Contel GSG, Westlake Village, CA Lines: 34 In article putz@boulder.Colorado.EDU (Eric Putz) writes: >While attempting to compile XView 2.0, I get the following error: > > making all in ./lib/libxvin/notify... > rm -f ndet_loop.o > cc -c -O -Wf,-XNh2000 -Olimit 2000 -I../../../. -I../../.././build/usr/include > ndet_loop.c > cpp: warning /usr/include/stdio.h:84: NULL redefined > cpp: warning /usr/include/rpc/types.h:63: FALSE redefined > cpp: warning /usr/include/rpc/types.h:64: TRUE redefined > ccom: Error: ndet_loop.c, line 171: svc_fdset undefined > (void) ntfy_fd_cpy_or (&ibits, &svc_fdset); > -----------------------------------------------^ > ccom: Error: ndet_loop.c, line 278: operands of = have incompatible types > rpc_bits = svc_fdset; > ------------------------------^ > *** Error code 1 > Stop. >Upon further investigation, it is found that svc_fdset is defined on a >sun system (sparcstation 1+) in the file /usr/include/rpc/svc.h. It is >not defined here, or elsewhere, on the DS3100. We are running OS version 3.1, >and have a 4.0 machine also available to us. It is not defined on either >machine. > >So my question is, has anyone ported XViews 2.0 to the DS, and if so, what is >the workaround? Well, to me it looks like you have a lame-o RPC implementation running on your machine, It should be a moderately easy task to build a new version of RPC on your machine and have XView use that instead. You can get the latest copy of RPC via anon. ftp from titan.rice.edu in the sun-sources directory -mike h.