From: heim@peanuts.informatik.uni-tuebingen.de (Gerald Heim) Subject: Re: Compiling TIN doesn't work Date: 7 Oct 1992 14:12:07
In article <Z0s7RB2w164w@field.ichaos.nullnet.fi> Kristo Kaarlo Matias <kkk@field.ichaos.nullnet.fi> writes:
signal.c: In function 'set_signal_handlers':
signal.c:45: 'SIGBUS' undeclared (first use this function)
[...]
signal.c: In function 'signal_handler':
signal.c:102: 'SIGBUS' undeclared (first use this function)
What the heck is this 'SIGBUS'? I didn't found it at /usr/include/*.
I have Linux 0.98 and GCC 2.2.2d. I compiled TIN with -DPOSIX_JOB_CONTROL,
is this ok?
-kkk-
SIGBUS dosn't exist on Linux. Some Programs (e.g. tgif) try to catch it,
because if SIGBUS occurs something REALLY BAD has happend somewhere between
your processor and your memory (bad alignment or something like that), and
these programs try to make a emergency-backup or just print an error
message before the core is dumped. I think a 386 hasn't any options
to do unaligned data acess like a mc68020 or RISC processors.
Maybe it would be the best if we had a dummy for SIGBUS....????
gjh