[comp.windows.x] Building XView on VAX 63x0 running ultrix 2.1

halazar@MEDIA-LAB.MEDIA.MIT.EDU (09/10/89)

If you are doing the above, cmdtool and textedit (among other programs)
will spew horrible error messages about select() returning a bad file
number.  The reason is that <XView>/usr.lib/libxvin/notify/ultrix_cpt.h
redefines lots of select() things already found in <sys/types.h>.  In fact,
warning messages about the redefinitions are generated during the compile.
But the redefinitions aren't the same as those in <sys/types.h>, causing
badness.  

I took the crude way out of the problem...I #ifdef notdef 'ed the contents
of ultrix_cpt.h so that they weren't used.  Probably a better way would
be to change the conditions of the compile from 

#ifdef vax
to 
#if vax && some_other_machine_dependent_cpp_symbol

Hope this helps someone out...

						--Michael Halle
						Spatial Imaging Group
						MIT Media Lab