Newsgroups: comp.unix.aux
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!rsarin
From: rsarin@aix01.aix.rpi.edu (Raman K. Sarin)
Subject: XView 2 ??
Message-ID: <l0fgk+#@rpi.edu>
Nntp-Posting-Host: aix01srv.aix.rpi.edu
Organization: Rensselaer Polytechnic Institute, Troy NY
Date: 12 Apr 91 17:10:38 GMT
Lines: 46

I'm trying to get the Xview2 files (from expo.mit.edu) to compile on my 
Mac //ci running A/UX.  So far I think I got the IMAKE files to work, but
when I type 'make install'.  and this happens (after a little while )

installing in ./util/makedepend...
        gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings
 -traditional -O   -I/usr/include -I../.././config  -DmacII -DSYSV   '-DINCLUDED
IR="/usr/include"' -DSIGNALRETURNSINT  -c main.c
main.c:175: variable `sig_vec' has initializer but incomplete type
main.c: In function getfile:
main.c:359: `O_RDONLY' undeclared (first use this function)
main.c:359: (Each undeclared identifier is reported only once
main.c:359: for each function it appears in.)
main.c: At top level:
main.c:175: storage size of static var `sig_vec' isn't known
Make: *** Error: Update of main.o terminated with exit code 1 


Any ideas?  I know O_RDONLY is part of fnctl.h and yes, that file is included
in main.c but I can't figure out where this sig_vec is supposed to come from  
the definiition is:
:

#ifndef USG
struct sigvec sig_vec = {
        catch,
         (1<<(SIGINT -1))
        |(1<<(SIGQUIT-1))
        |(1<<(SIGBUS-1))
        |(1<<(SIGILL-1))
        |(1<<(SIGSEGV-1))
        |(1<<(SIGHUP-1))
        |(1<<(SIGPIPE-1))
        |(1<<(SIGSYS-1)),
        0
};
#endif /* USG */

I don't know where USG comes from.

HELP HELP HELP HELP HELP HELP!!!!

thankyou

-Raman Sarin
 
