Compiling 2.0.35 with new ioport.c

Ozlem - Ertugrul GOKCEN (ogokcen@doruk.net.tr)
Thu, 27 Aug 1998 01:09:20 +0300


Hi,

While I was trying to recompile my 2.0.35 kernel with ioport.c from a
2.1.117 kernel source tree to overcome the egcs 1.0.x. - kernel 2.0.xx
incompatibility as mentioned by many people on Usenet and mailing lists,
I got the following error when ioport.c was being compiled and
compilation stoppped:

ioport.c: In function `sys_ioperm':
ioport.c:61: warning: implicit declaration of function `capable'
ioport.c:61: `CAP_SYS_RAWIO' undeclared (first use this function)
ioport.c:61: (Each undeclared identifier is reported only once
ioport.c:61: for each function it appears in.)
ioport.c: In function `sys_iopl':
ioport.c:97: `CAP_SYS_RAWIO' undeclared (first use this function)
make[1]: *** [ioport.o] Error 1
make: *** [linuxsubdirs] Error 2

I'm no C expert or kernel hacker so any help to solve this problem will
be greatly appreciated. I simply don't want to go back to gcc 2.7.2.x
just to compile a kernel, but I will if I have to. I was using egcs
1.0.3 to compile the kernel.

Please reply directly to me as I'm not on the list.

Best regards,

Ertugrul GOKCEN.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html