Skip to contentSkip to conversation

io.h doesn't get installed by target "headers_install" for mips

DISCUSSION Dok Sander 2 participants 2 messages Sep 9, 2009 MIPS

lore
Share & tools
lore

Dok Sander

author
#0 lore raw

Hi,

I noticed the absence of the header io.h while trying to build(cross-compile, host i686-pc-linux-gnu) a software(lm-sensors-3.1.1, wants io.h in /sys) for mips. I can find io.h for mips in arch/mips/asm/include/{,sn/} However, io.h doesn't get installed when i do "make ARCH=mips headers_install" on linux 2.6.30.6

According to someone on the eglibc mailing list, linux should provide io.h for mips. Is this true?

Thank you,

#1 lore raw
Quoted 6 lines · Dok Sander

Hi,

I noticed the absence of the header io.h while trying to build(cross-compile, host i686-pc-linux-gnu) a software(lm-sensors-3.1.1, wants io.h in /sys) for mips. I can find io.h for mips in arch/mips/asm/include/{,sn/} However, io.h doesn't get installed when i do "make ARCH=mips headers_install" on linux 2.6.30.6

According to someone on the eglibc mailing list, linux should provide io.h for mips. Is this true?

I don't think so (for two reasons):

1) The things in /usr/include/sys are provided by libc not the kernel.

2) MIPS doesn't have I/O ports, so all the functions in sys/io.h on an x86 are undefined for MIPS.

David Daney