I file included from vga.c:35:
/usr/include/asm/io.h:4:2: #warning <asm/io.h> is deprecated, use <sys/io.h> instead
/usr/include/sys/io.h:34: warning: `ioperm' declared `static' but never defined
/usr/include/sys/io.h:39: warning: `iopl' declared `static' but never defined
Changing asm/io.h to sys/io.h and removing the extern defines around the include
solves the problem.
I'm on Fedora Core 0.95 (test 3) with:
gcc version 3.3.1 20030930 (Red Hat Linux 3.3.1-6)
Oops, forgot the path since there are two vga.c:
(sorry for the bug spam)
Was fixed in 2003 :
Author: Eric Anholt <firstname.lastname@example.org>
Date: Mon Dec 1 01:46:42 2003 +0000
Remove sys/io.h inclusion from some files that didn't need it, and change
asm/io.h to sys/io.h in vga.c, which newer Linux complains about.