Red Hat Bugzilla – Bug 185615
pikdev fails to build on ppc because <sys/io.h> seems to not exist on this arch
Last modified: 2007-11-30 17:11:27 EST
Description of problem:
pikdev fails to build on ppc because <sys/io.h> don't exist in glibc for this
I know nothing about ppc computers, but they probably don't have I/O like PC.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
gcc hardware.cc -c -Wall -pedantic -ansi -O2 -DPKP_VERSION=0.8.4
In file included from hardware.cc:7:
uparport.hh:21:21: error: sys/io.h: No such file or directory
make: *** [hardware.o] Error 1
uparport.hh is for the ppdev devices -- it shouldn't be using direct hardware
mangling at all. If you just remove the offending #include, it appears to build
Sorry but because my english, I'm not sure to understand what you mean.
Do I have to remove "#include <sys/io.h>" in uparport.hh?
Seems to be the solution as built is OK. So close this bug.