iBCS2 vs. 1.3.30

Jeremiah Jahn (jeremiah@litoria.math.earlham.edu)
Sun, 1 Oct 1995 06:19:01 -0500 (EST)


Just a simple question...

lately I haven't been able to compile my iBCS module it gives the
following errors:

signal.c: In function `abi_sigaction':
signal.c:510: structure has no member named `sigaction'
signal.c:505: warning: `p' might be used uninitialized in this function
signal.c: In function `sco_sigaction':
signal.c:598: structure has no member named `sigaction'

I've managed to track this down to the file linux-1.3.30/include/linux/sys.h

which has these lines in it, which i think are the problem:

/*
* These are system calls that will be removed at some time
* due to newer versions existing..
* (please be careful - ibcs2 may need some of these).
*/
#ifdef notdef
...

#define _sys_signal _sys_old_syscall /* _sys_sigaction */

now for my question:

Is there anyway to correct the errors..?

1) use old sys.h
2) point to different sys.h in the gcc library
3) replace occurences of sigaction with signal
4) wait for the authors of iBCS to correct the problem
5) never use iBCS module again

thank you

-jeremiah jahn-

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.3

mQCNAi0lY4sAAAEEAPR4vyny2WCxVe4gW7u+zPT2fH6vFTwMxAoBOrrUn92aGKJr
ronHVYMbSO9CwBK3F1KKi+IGB/SxkjH7x2j/b7HiwHjKb+mkDa+lA6eOh9x8A7dJ
55be0mOMF+W9FLDdIgK/RDLFoqi8icv2P0pLCPdMirnNhtNRfLR2WhStnLNVAAUR
tAhUaGVTaGFkbw==
=z55x
-----END PGP PUBLIC KEY BLOCK-----