home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12608 < prev    next >
Encoding:
Text File  |  1992-11-06  |  1.7 KB  |  45 lines

  1. Path: sparky!uunet!know!mips2!news.bbn.com!olivea!netsys!agate!doc.ic.ac.uk!uknet!mcsun!Germany.EU.net!news.netmbx.de!mailgzrz.TU-Berlin.DE!math.fu-berlin.de!informatik.tu-muenchen.de!gerstnet
  2. From: gerstnet@Informatik.TU-Muenchen.DE (Thomas Gerstner)
  3. Newsgroups: comp.sys.hp
  4. Subject: Xdbx on Snakes
  5. Message-ID: <1992Nov5.203849.18517@Informatik.TU-Muenchen.DE>
  6. Date: 5 Nov 92 20:38:49 GMT
  7. Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
  8. Organization: Technische Universitaet Muenchen, Germany
  9. Lines: 34
  10.  
  11. Sorry, if this is a FAQ, but i'm trying to compile xdbx on a 720 and i got the
  12. following problem:
  13.  
  14. #include <sys/wait.h>
  15.  
  16. /* In our header file the second (int) is missing... */
  17. #undef WIFSIGNALED
  18. #define WIFSIGNALED(_X)       ((((int)(_X)&0377)!=0)&&(((int)(_X)&0377)!=0177))
  19.  
  20. static void quit_handler()
  21. {
  22.     union wait status;
  23.     wait3(&status, WNOHANG|WUNTRACED, NULL);
  24. /* Line 90: */
  25.     if ((WIFEXITED(status) || WIFSIGNALED(status)) && !WIFSTOPPED(status)) {
  26.         exit(1);
  27.     }
  28. }
  29.  
  30.   cc +O1 -Wp,-H200000      -DSYSV -D_NO_PROTO -DMALLOC_0_RETURNS_NULL 
  31.      -DSTRINGS_ALIGNED    -c signals.c
  32. cc: "signals.c", line 90: error 1527: Incompatible types in cast.
  33. cc: "signals.c", line 90: error 1527: Incompatible types in cast.
  34. cc: "signals.c", line 90: error 1527: Incompatible types in cast.
  35. cc: "signals.c", line 90: error 1527: Incompatible types in cast.
  36.  
  37. Anybody got a solution or a substitution for this problem, or does anybody
  38. successfully run xdbx together with xdb on a HP9000/700?
  39.  
  40. Thanx in advance,
  41.      
  42.    /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/~\  
  43.   | Thomas Gerstner  gerstnet@informatik.tu-muenchen.de (131.159.8.71) | X | 
  44.    \____________________________________________________________________\_/ 
  45.