From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6c9769775bb4cf6e,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-01-23 13:51:22 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!gw1.att.com!csn!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!uwm.edu!msunews!news.mtu.edu!news.mtu.edu!not-for-mail From: ehyounk@mtu.edu (Younk) Newsgroups: comp.sys.dec Subject: Building xdbx? Date: 23 Jan 1995 16:51:22 -0500 Organization: Michigan Technological University Message-ID: <3g18cq$1st@maxwell12.ee> NNTP-Posting-Host: maxwell12.ee.mtu.edu X-Newsreader: TIN [version 1.2 PL1] Hi, I am trying to build xdbx 2.1 on an Alpha DEC 3000. Has anyone done this? I keep getting these errors from the cc compiler. cc -g -I/usr/include -DSUNOS4 -c command.c -o command.o /usr/lib/cmplrs/cc/cfe: Error: command.c, line 246: storage size for 'status' isn't known union wait status; ---------------^ make: *** [command.o] Error 1 cc -g -I/usr/include -DSUNOS4 -c signals.c -o signals.o /usr/lib/cmplrs/cc/cfe: Error: signals.c, line 75: storage size for 'status' isn't known union wait status; ---------------^ /usr/lib/cmplrs/cc/cfe: Error: signals.c, line 81: Reference an expression of void type or an incomplete type. if (((((status) & 0177 ) == 0) || (((status) & 0177 ) != 0177 && ((status) & 0177 ) != 0)) && !( (((status) & 0177 ) == 0177 ) && !(((status) & 0377) == 0377) )) { ------------^ I think the compiler is confused on how much storage to allocate to status, which is a "union wait" The union wait is defined in sys/wait.h as: union wait { int w_status; /* used in syscall */ struct /* terminated process status */ { #if BYTE_ORDER == BIG_ENDIAN unsigned short w_PAD16; unsigned w_Retcode:8; /* exit code if w_termsig==0 */ unsigned w_Coredump:1; /* core dump indicator */ unsigned w_Termsig:7; /* termination signal */ #else unsigned w_Termsig:7; /* termination signal */ unsigned w_Coredump:1; /* core dump indicator */ unsigned w_Retcode:8; /* exit code if w_termsig==0 */ unsigned short w_PAD16; #endif } w_T; /* * Stopped process status. Returned * only for traced children unless requested * with the WUNTRACED option bit. */ struct { #if BYTE_ORDER == BIG_ENDIAN unsigned short w_PAD16; unsigned w_Stopsig:8; /* signal that stopped us */ unsigned w_Stopval:8; /* == _WSTOPPED if stopped */ #else unsigned w_Stopval:8; /* == _WSTOPPED if stopped */ unsigned w_Stopsig:8; /* signal that stopped us */ unsigned short w_PAD16; #endif } w_S; }; Does anyone know why cc is complaining about this. I would really like to get xdbx or something similar running. Thanks Ed Younk