Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!apple!agate!shelby!polya!lma From: lma@polya.Stanford.EDU (Larry M. Augustin) Newsgroups: comp.windows.x Subject: Problem Compiling XView Message-ID: <11762@polya.Stanford.EDU> Date: 13 Sep 89 17:09:35 GMT Sender: Larry M. Augustin Reply-To: lma@Polya.Stanford.EDU (Larry M. Augustin) Organization: Stanford University Lines: 48 On a Sun 3/110, SunOS 3.5. I get the following error messages during compilation: cc -c -DPRE_R4_ICCCM -I/u4/larry/usr/include -I../../../../../X11R3 ndet_auto.c "ndet_auto.c", line 88: FD_SETSIZE undefined *** Error code 1 cc -c -DPRE_R4_ICCCM -I/u4/larry/usr/include -I../../../../../X11R3 ndet_loop.c "ndet_loop.c", line 68: warning: illegal pointer combination "ndet_loop.c", line 192: FD_SETSIZE undefined "ndet_loop.c", line 701: warning: illegal pointer combination "ndet_loop.c", line 725: warning: illegal pointer combination "ndet_loop.c", line 725: warning: illegal pointer combination *** Error code 1 cc -c -DPRE_R4_ICCCM -I/u4/larry/usr/include -I../../../../../X11R3 ndis_d_pri.c "ndis_d_pri.c", line 112: NFDBITS undefined "ndis_d_pri.c", line 118: NBBY undefined *** Error code 1 cc -c -DPRE_R4_ICCCM -I/u4/larry/usr/include -I../../../../../X11R3 ntfy_fd_op.c "ntfy_fd_op.c", line 23: FD_SETSIZE undefined "ntfy_fd_op.c", line 23: NFDBITS undefined "ntfy_fd_op.c", line 37: FD_SETSIZE undefined "ntfy_fd_op.c", line 37: NFDBITS undefined "ntfy_fd_op.c", line 51: FD_SETSIZE undefined "ntfy_fd_op.c", line 51: NFDBITS undefined "ntfy_fd_op.c", line 65: FD_SETSIZE undefined "ntfy_fd_op.c", line 65: NFDBITS undefined "ntfy_fd_op.c", line 78: FD_SETSIZE undefined "ntfy_fd_op.c", line 78: NFDBITS undefined "ntfy_fd_op.c", line 93: FD_SETSIZE undefined "ntfy_fd_op.c", line 93: NFDBITS undefined *** Error code 1 The only definitions that I can find for FD_SETSIZE, NFDBITS, and NBBY are in ultrix_cpt.h, which is probably not the right file to use on a Sun 3! I have this nagging feeling that I'm doing something wrong in the compilation, but I don't know what. Could someone who has built XView tell me where these are defined? Thanks. Larry M. Augustin ERL 414 lma@sierra.stanford.edu Computer Systems Lab lma@dayton.stanford.edu Stanford University (415) 723-9285 Stanford, CA 94305