home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 10822 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.7 KB  |  92 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!zeos!kgermann
  3. From: kgermann@zeos.com (Ken Germann)
  4. Subject: Signal Handling with GCC
  5. Organization: Zeos International, Ltd
  6. Date: Tue, 08 Sep 1992 13:17:16 GMT
  7. Message-ID: <1992Sep08.131716.2126@zeos.com>
  8. Lines: 82
  9.  
  10.  
  11. Any references made to process signal handling bombs out GCC 2.2.2. This is
  12. the errors I receive when compiling BASH 1.12 with GCC. It compiles fine
  13. with with MSC (CC) except that it runs slow. Any suggestions on the following
  14. would be appreciated. I would like to compile our list server with GCC.
  15. I get the same errors or similiar errors with GCC when compiling it.
  16.  
  17. Example:
  18.  
  19. In file included from shell.h:21, from shell.c:47:
  20.  
  21. /usr/local/lib/gcc-lib/i386--sco/2.2.2/include/setjmp.h:70: `sigset_t' undeclare
  22.  
  23. d, outside of functions
  24.  
  25. shell.c:142: parse error before `top_level_mask'
  26.  
  27. shell.c:142: warning: data definition has no type or storage class
  28.  
  29. shell.c: In function `main':
  30.  
  31. shell.c:667: `ENOENT' undeclared (first use this function)
  32.  
  33. shell.c:667: (Each undeclared identifier is reported only once
  34.  
  35. shell.c:667: for each function it appears in.)
  36.  
  37. shell.c:708: warning: assignment makes pointer from integer without a cast
  38.  
  39. shell.c: In function `maybe_execute_file':
  40.  
  41. shell.c:845: `ENOENT' undeclared (first use this function)
  42.  
  43. shell.c: In function `reader_loop':
  44.  
  45. shell.c:911: storage size of `act' isn't known
  46.  
  47. shell.c:915: `SIGALL' undeclared (first use this function)
  48.  
  49. shell.c: In function `read_command':
  50.  
  51. shell.c:1067: `SIGALRM' undeclared (first use this function)
  52.  
  53. shell.c: In function `termination_unwind_protect':
  54.  
  55. shell.c:1307: `SIGHUP' undeclared (first use this function)
  56.  
  57. shell.c: In function `initialize_terminating_signals':
  58.  
  59. shell.c:1333: storage size of `act' isn't known
  60.  
  61. shell.c:1337: `SIGALL' undeclared (first use this function)
  62.  
  63. shell.c:1349: `SIG_SETMASK' undeclared (first use this function)
  64.  
  65. shell.c:1349: `sigset_t' undeclared (first use this function)
  66.  
  67. shell.c:1349: parse error before `)'
  68.  
  69. shell.c:1353: `SIG_BLOCK' undeclared (first use this function)
  70.  
  71. shell.c:1353: parse error before `)'
  72.  
  73. shell.c:1354: `SIGCLD' undeclared (first use this function)
  74.  
  75. shell.c:1364: `SIGQUIT' undeclared (first use this function)
  76.  
  77. shell.c: In function `throw_to_top_level':
  78.  
  79. shell.c:1397: `SIG_SETMASK' undeclared (first use this function)
  80.  
  81. shell.c:1397: `sigset_t' undeclared (first use this function)
  82.  
  83. shell.c:1397: parse error before `)'
  84.  
  85. *** Error code 1
  86. -- 
  87. Ken Germann              ZZZZ EEEE  OO   SSS    ZEOS International, Ltd.  
  88. support@zeos.com   INET     Z E    O  O S       Technical Support Dept.
  89. uunet!zeos!support UUCP    Z  EE   O  O  SS     530 5th Ave N.W.
  90. 800-228-5390      VOICE   Z   E    O  O    S    St. Paul, MN 55112
  91. 612-633-7337             ZZZZ EEEE  OO  SSS     FAX         612-633-4607
  92.