I can't compile the toshiba-utils. It returns the follow results: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory In file included from tuxtime-conf.c:44: sci.h:75:26: linux/toshiba.h: No such file or directory In file included from tuxtime-conf.c:45: hci.h:43:26: linux/toshiba.h: No such file or directory In file included from /usr/include/signal.h:326, from ownerstring.c:32: /usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or directory In file included from ownerstring.c:35: sci.h:75:26: linux/toshiba.h: No such file or directory In file included from ownerstring.c:36: hci.h:43:26: linux/toshiba.h: No such file or directory In file included from tdocked.c:39: hci.h:43:26: linux/toshiba.h: No such file or directory In file included from tdocked.c:40: sci.h:75:26: linux/toshiba.h: No such file or directory In file included from /usr/include/errno.h:36, from thotswap.c:60: /usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory In file included from /usr/include/signal.h:326, from thotswap.c:61: /usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or directory In file included from /usr/include/sys/ioctl.h:27, from thotswap.c:65: /usr/include/bits/ioctls.h:24:24: asm/ioctls.h: No such file or directory In file included from /usr/include/sys/ioctl.h:30, from thotswap.c:65: /usr/include/bits/ioctl-types.h:25:24: asm/ioctls.h: No such file or directory In file included from thotswap.c:70: /usr/include/sys/kd.h:27:22: linux/kd.h: No such file or directory thotswap.c:71:24: linux/major.h: No such file or directory thotswap.c:72:24: linux/hdreg.h: No such file or directory In file included from thotswap.c:78: sci.h:75:26: linux/toshiba.h: No such file or directory In file included from thotswap.c:79: hci.h:43:26: linux/toshiba.h: No such file or directory In file included from tbacklight.c:31: hci.h:43:26: linux/toshiba.h: No such file or directory In file included from tbacklight.c:32: sci.h:75:26: linux/toshiba.h: No such file or directory make[1]: Leaving directory `/var/tmp/portage/toshiba-utils-2.0.1-r1/work/toshutils-2.0.1/src' make: Entering directory `/var/tmp/portage/toshiba-utils-2.0.1-r1/work/toshutils-2.0.1/src' gcc -Wall -I../pixmaps -DLINUX -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -DVERSION=\"2.0.1\" -DBINDIR=\"/usr/bin\"\ -DXMESSAGE=\"/usr/X11R6/bin/xmessage\" -DWALL=\"/bin/wall\" -c fan.c In file included from /usr/include/signal.h:326, from fan.c:83: /usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or directory In file included from fan.c:92: hci.h:43:26: linux/toshiba.h: No such file or directory In file included from fan.c:92: hci.h:149: error: syntax error before '*' token In file included from fan.c:93: sci.h:75:26: linux/toshiba.h: No such file or directory In file included from fan.c:93: sci.h:280: error: syntax error before '*' token sci.h:281: error: syntax error before '*' token fan.c: In function `FanOn': fan.c:102: error: `SMMRegisters' undeclared (first use in this function) fan.c:102: error: (Each undeclared identifier is reported only once fan.c:102: error: for each function it appears in.) fan.c:102: error: syntax error before "reg" fan.c:104: error: `reg' undeclared (first use in this function) fan.c: In function `FanOff': fan.c:116: error: `SMMRegisters' undeclared (first use in this function) fan.c:116: error: syntax error before "reg" fan.c:118: error: `reg' undeclared (first use in this function) fan.c: In function `FanStatus': fan.c:130: error: `SMMRegisters' undeclared (first use in this function) fan.c:130: error: syntax error before "reg" fan.c:132: error: `reg' undeclared (first use in this function) fan.c: In function `Daemon': fan.c:188: error: `SMMRegisters' undeclared (first use in this function) fan.c:188: error: syntax error before "reg" fan.c:234: error: `reg' undeclared (first use in this function) fan.c: In function `main': fan.c:283: warning: implicit declaration of function `strcmp' make: *** [fan.o] Error 1 make: Leaving directory `/var/tmp/portage/toshiba-utils-2.0.1-r1/work/toshutils-2.0.1/src' !!! ERROR: app-laptop/toshiba-utils-2.0.1-r1 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message)
Works for me. Reporter, could you please attach the output of 'emerge --info' to this bug report?
Do you have /usr/include/linux directory?
This bug report is awaiting feedback from the reporter.
Closing due to lack of feedback.