Wow, two questions in approximately two minutes....

I'm running Gentoo 1.4rc3 on a Thinkpad R31, so I decided to try and build the 
special Thinkpad support tools.

I emerged thinkpad completely successfully, but when I try and emerge tpctl I 
get the following...

cc -Wall -Wcast-align -Wstrict-prototypes -Wno-uninitialized -O2 -L../lib 
-I../include -DLINUX -o tpctl.o -c tpctl.c
gcc -Wall -Wcast-align -Wstrict-prototypes -Wno-uninitialized -O2 -L../lib 
-I../include -DLINUX -o tpctl tpctl.o -lncurses -lsmapidev
tpctl.o(.text+0x24): In function `ioctl_thinkpad':
: undefined reference to `errno'
tpctl.o(.text+0x65): In function `ioctl_superio':
: undefined reference to `errno'
tpctl.o(.text+0xa5): In function `ioctl_rtcmosram':
: undefined reference to `errno'
tpctl.o(.text+0xe8): In function `ioctl_thinkpadpm':
: undefined reference to `errno'
tpctl.o(.text+0x7cc2): In function `main':
: undefined reference to `errno'
tpctl.o(.text+0x7d17): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [tpctl] Error 1
make: Leaving directory `/var/tmp/portage/tpctl-4.2/work/tpctl-4.2/tpctl'

!!! ERROR: sys-apps/tpctl-4.2 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! tpctl make failed


Any ideas?


-- 
Stand Fast,
    tjg.

Timothy Grant
www.craigelachie.org


--
[EMAIL PROTECTED] mailing list

Reply via email to