Project

General

Profile

Actions

Bug #269

open

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

Added by Paul Menzel almost 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07/06/2020
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

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/.

Actions #1

Updated by Paul Menzel almost 4 years ago

The same is true for util/ectool.

Actions

Also available in: Atom PDF