On Tue, Oct 30, 2007 at 09:34:25PM +0100, Hans Ulrich Niedermann wrote:
Hi,
I have just tried to build radeonhd including rhd_conntest on i386, x86_64, ppc, and ppc64.
The ppc and ppc64 builds failed. Reason: <sys/io.h> not being found.
I checked what <sys/io.h> contained on my i386 system and sure enough, the rhd_conntest.c code uses none of it. I then removed the
#include <sys/io.h>
line from rhd_conntest.c, and now it built on all four platforms.
If you want to click through to the build logs: - Aborts: http://koji.fedoraproject.org/koji/taskinfo?taskID=220906 - Builds: http://koji.fedoraproject.org/koji/taskinfo?taskID=220948
-- Hans Ulrich Niedermann
You're right, it isn't needed. It's a remnant from the quick and dirty little utils i tend to write when testing things, ones which need to poke the vga registers directly (in x86 io space) and need to be iopled. On radeonhd, we can do everything through mmio, so we do not need io.h. Luc Verhaegen. SUSE/Novell X Driver Developer. -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org