When trying to compile toshiba-utils-2.0.1-r2 the compile fails with "hotkey.c:89:19: error: asm/io.h: No such file or directory" Reproducible: Always Steps to Reproduce: 1.emerge toshiba-utils 2.watch the compile 3.see it fail Actual Results: see build log attachment. Expected Results: Compiled, installed and ran ideally :D ~ $ uname -a Linux localhost 2.6.18-suspend2 #5 SMP Mon Jan 15 23:44:37 MST 2007 i686 Intel(R) Core(TM) Duo CPU T2700 @ 2.33GHz GenuineIntel GNU/Linux My laptop model is a Tecra M7. here is an emerge info: Portage 2.1.2-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-suspend2 i686) ================================================================= System uname: 2.6.18-suspend2 i686 Intel(R) Core(TM) Duo CPU T2700 @ 2.33GHz Gentoo Base System version 1.12.8 Timestamp of tree: Tue, 23 Jan 2007 08:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -msse3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.cc.vt.edu/pub/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman" SYNC="rsync://mirror.cc.vt.edu/gentoo-portage" USE="X acpi alsa apic berkdb bitmap-fonts cairo cdr clflush cli cmov constant_tsc cracklib crypt cups cx8 dbus de dlloader dri dts dvdr est firefox flac fortran fpu fxsr gdbm gnome gpm gtk ht iconv ipv6 isdnlog java jpeg libg++ mce mmx monitor mono mpeg msr mtrr ncurses nls nptl nptlonly nx ogg opengl pae pam pat pbe pcre pdf perl pge png pni ppds pppd pse python readline reflection samba sep session spl ss sse sse2 ssl tcpd tiff tm tm2 truetype truetype-fonts tsc type1-fonts udev unicode vme vmx widescreen x86 xine xml xorg xtpr zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse syanptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa nv vmware mesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 107969 [details] emerge's build.log file
userspace should always use sys/io.h
I cannot even compile this old never updated beast. Care to provide a patch for this issue?
well I fixed it, thank you :)