home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!zeos!kgermann
- From: kgermann@zeos.com (Ken Germann)
- Subject: Signal Handling with GCC
- Organization: Zeos International, Ltd
- Date: Tue, 08 Sep 1992 13:17:16 GMT
- Message-ID: <1992Sep08.131716.2126@zeos.com>
- Lines: 82
-
-
- Any references made to process signal handling bombs out GCC 2.2.2. This is
- the errors I receive when compiling BASH 1.12 with GCC. It compiles fine
- with with MSC (CC) except that it runs slow. Any suggestions on the following
- would be appreciated. I would like to compile our list server with GCC.
- I get the same errors or similiar errors with GCC when compiling it.
-
- Example:
-
- In file included from shell.h:21, from shell.c:47:
-
- /usr/local/lib/gcc-lib/i386--sco/2.2.2/include/setjmp.h:70: `sigset_t' undeclare
-
- d, outside of functions
-
- shell.c:142: parse error before `top_level_mask'
-
- shell.c:142: warning: data definition has no type or storage class
-
- shell.c: In function `main':
-
- shell.c:667: `ENOENT' undeclared (first use this function)
-
- shell.c:667: (Each undeclared identifier is reported only once
-
- shell.c:667: for each function it appears in.)
-
- shell.c:708: warning: assignment makes pointer from integer without a cast
-
- shell.c: In function `maybe_execute_file':
-
- shell.c:845: `ENOENT' undeclared (first use this function)
-
- shell.c: In function `reader_loop':
-
- shell.c:911: storage size of `act' isn't known
-
- shell.c:915: `SIGALL' undeclared (first use this function)
-
- shell.c: In function `read_command':
-
- shell.c:1067: `SIGALRM' undeclared (first use this function)
-
- shell.c: In function `termination_unwind_protect':
-
- shell.c:1307: `SIGHUP' undeclared (first use this function)
-
- shell.c: In function `initialize_terminating_signals':
-
- shell.c:1333: storage size of `act' isn't known
-
- shell.c:1337: `SIGALL' undeclared (first use this function)
-
- shell.c:1349: `SIG_SETMASK' undeclared (first use this function)
-
- shell.c:1349: `sigset_t' undeclared (first use this function)
-
- shell.c:1349: parse error before `)'
-
- shell.c:1353: `SIG_BLOCK' undeclared (first use this function)
-
- shell.c:1353: parse error before `)'
-
- shell.c:1354: `SIGCLD' undeclared (first use this function)
-
- shell.c:1364: `SIGQUIT' undeclared (first use this function)
-
- shell.c: In function `throw_to_top_level':
-
- shell.c:1397: `SIG_SETMASK' undeclared (first use this function)
-
- shell.c:1397: `sigset_t' undeclared (first use this function)
-
- shell.c:1397: parse error before `)'
-
- *** Error code 1
- --
- Ken Germann ZZZZ EEEE OO SSS ZEOS International, Ltd.
- support@zeos.com INET Z E O O S Technical Support Dept.
- uunet!zeos!support UUCP Z EE O O SS 530 5th Ave N.W.
- 800-228-5390 VOICE Z E O O S St. Paul, MN 55112
- 612-633-7337 ZZZZ EEEE OO SSS FAX 612-633-4607
-