Problem installing stepmania. <sys/io.h> not found

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Problem installing stepmania. <sys/io.h> not found

Postby folaht » Mon Dec 30, 2019 8:26 am

So I'm trying to compile this old game called stepmania.

https://github.com/stepmania/stepmania
https://github.com/SpottyMatt/raspbian-stepmania-build

It includes the header sys/io.h.
https://github.com/stepmania/stepmania/ ... rallel.cpp
When compiling on Arch|ARM I get the error that this file could not be found.

On Raspbian it does work.
I've searched for the io.h and discovered
/usr/include/arm-linux-gnueabihf/sys/io.h

So I've tried installing arm-linux-gueabihf-gcc via the AUR,
but that I get an error message saying it's not available for aarch64.

Does this mean that I cannot compile anything using sys/io.h for Arch|ARM?
folaht
 
Posts: 1
Joined: Mon Dec 30, 2019 8:15 am

Re: Problem installing stepmania. <sys/io.h> not found

Postby summers » Tue Dec 31, 2019 11:38 am

/usr/include/sys/io.h is provided by glibc so you really should have in installed. So suggests something odd on your system.

Oh wait - this is interesting my desk top machine has this include file, but none of my arm machines do. sys is usually for files specific to that machine, so suggests that it isn't there for arm architectures. Wonder why. ASAIK glibc is built from the same PKGBUILD for both mainline and arm, so suggests it isn't a compile option, so guess must be a genuine system difference.

And just checked, no sys/io.h is low level io that isn't provided on arm. So the code that uses this is faulty, ideally find which functions it is using from io.h and rewrite in a way that works on arm. So its a fault with the code you are trying to compile.
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm


Return to ARMv8

Who is online

Users browsing this forum: Google [Bot] and 8 guests