Hi,

I remember having the same problem quite a while ago. I think you have to
use the -O2 flag to compile source code with inb(), I don't remember exactly
why. I think it is documented in the man page for inb.

Cheers,

Jerome.

-----Original Message-----
From: Tigran Aivazian [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 08, 1998 4:31 PM
To: [EMAIL PROTECTED]
Subject: compiling elcr.c


[...]
but if I try to compile it - it won't link because inb() is unresolved.
My /usr/include/asm points where it should and the kernel is 2.1.124 (and
io.h in it looks as good as usual) so I don't know why it fails.
My system is RedHat 5.1 with gcc 2.7.2.3 and gas 2.9.1, glibc2.0.7

Any ideas what trivial thing I am missing here?

Reply via email to