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) kernel 2.4.22-1.2088.nptl glibc 2.3.2-98
Oops, forgot the path since there are two vga.c: hw/kdrive/src/vga.c (sorry for the bug spam)
Was fixed in 2003 : commit d221c484f9521c780fc3c7e88833c62e50463c6d Author: Eric Anholt <anholt@freebsd.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.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.