Bug #269

ppc64le: `superiotool.h:12:10: fatal error: sys/io.h: No such file or directory`

Added by Paul Menzel 5 months ago. Updated 5 months ago.

Status:NewStart date:07/06/2020
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

superiotool fails to build with the error below on ppc64le with Ubuntu 20.04.

$ make V=1

Checking for pciutils and zlib... found.
cc -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing -Werror-implicit-function-declaration -ansi -pedantic -D'SUPERIOTOOL_VERSION="4.12-1133-g4d38c7546c"' -DPCI_SUPPORT   -c -o superiotool.o superiotool.c
In file included from superiotool.c:3:
superiotool.h:12:10: fatal error: sys/io.h: No such file or directory
   12 | #include <sys/io.h>
      |          ^~~~~~~~~~
compilation terminated.
make: *** [<builtin>: superiotool.o] Error 1
$ dpkg -S sys/io.h
libc6-dev-amd64-cross: /usr/x86_64-linux-gnu/include/sys/io.h

The header is in the “x86 package” under /usr/x86_64-linux-gnu/.

History

#1 Updated by Paul Menzel 5 months ago

The same is true for util/ectool.

Also available in: Atom PDF