Sie sind nicht angemeldet.

1

16.07.2005, 11:45

emerge thinkpad schlägt fehl.. why )-;

was is da kaputt? *null plan hat*

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
THINKPAD drivers # emerge thinkpad
......

>>> Unpacking source...
>>> Unpacking thinkpad_4.8.tar.gz to /var/tmp/portage/thinkpad-4.8/work
mv: cannot stat `drivers': No such file or directory
mv: cannot stat `include': No such file or directory
>>> Source unpacked.
make -C drivers
make[1]: Entering directory `/var/tmp/portage/thinkpad-4.8/work/thinkpad-4.8/2.6/drivers'
cc -Wall -Wcast-align -Wstrict-prototypes -O2 -I/lib/modules/2.6.12-gentoo-r4/build/include -I. -I../include -DLINUX -o thinkpad.o -c thinkpad.c
In file included from thinkpad.c:38:
../include/thinkpad_driver.h:45:31: linux/modversions.h: No such file or directory
In file included from /lib/modules/2.6.12-gentoo-r4/build/include/asm/processor.h:18,
                 from /lib/modules/2.6.12-gentoo-r4/build/include/asm/thread_info.h:17,
                 from /lib/modules/2.6.12-gentoo-r4/build/include/linux/thread_info.h:21,
                 from /lib/modules/2.6.12-gentoo-r4/build/include/linux/spinlock.h:12,
                 from /lib/modules/2.6.12-gentoo-r4/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.12-gentoo-r4/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.12-gentoo-r4/build/include/linux/module.h:10,
                 from thinkpad.c:42:
/lib/modules/2.6.12-gentoo-r4/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.6.12-gentoo-r4/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.6.12-gentoo-r4/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
thinkpad.c:50:27: linux/wrapper.h: No such file or directory
thinkpad.c:105:41: missing binary operator before token "("
thinkpad.c: In function `thinkpad_ioctl':
thinkpad.c:245: warning: `inter_module_put' is deprecated (declared at /lib/modules/2.6.12-gentoo-r4/build/include/linux/module.h:568)
thinkpad.c:260: warning: `inter_module_put' is deprecated (declared at /lib/modules/2.6.12-gentoo-r4/build/include/linux/module.h:568)
thinkpad.c:275: warning: `inter_module_put' is deprecated (declared at /lib/modules/2.6.12-gentoo-r4/build/include/linux/module.h:568)
thinkpad.c:290: warning: `inter_module_put' is deprecated (declared at /lib/modules/2.6.12-gentoo-r4/build/include/linux/module.h:568)
make[1]: *** [thinkpad.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/thinkpad-4.8/work/thinkpad-4.8/2.6/drivers'
make: *** [all] Error 2

amielke

unregistriert

2

16.07.2005, 11:49

Hallo,

hast Du im Verzeichnis /usr/src/ nen link zu Deinem Kernel?

ln -s linux 'Linux-kernel'

3

16.07.2005, 12:12

der ist da doch drin? *newbie der gerne belert werden möchte*

THINKPAD drivers # ls /usr/src/
linux linux-2.6.12-gentoo-r4

thx!

5

18.07.2005, 19:42

ln -s /usr/src/linux

müsste dann ungefähr so ausschaun
lrwxrwxrwx 1 0 0 14 30. Jun 20:58 /usr/src/linux -> linux-2.6.12-gentoo-r4

und probier doch einfach mal ne neuere thinkpad version
emerge =app-laptop/thinkpad-5.8
musst ggf.
echo "app-laptop/thinkpad ~x86" >> /etc/portage/package.keywords
machen falls dein system sonst auf x86 läuft =)

6

18.07.2005, 20:09

danke das mir noch jemand zuhört,.. (o;

ln -s /usr/src/linux

liefert bei mir null ausgabe.. also kein prob mit der version scheinbar.. was soll ich machen?

7

18.07.2005, 20:45

wääääh hab mein 'linux' link gelöscht.. scheiße wie krieg ich den wieder hin?

8

18.07.2005, 21:34

hab den link wieder hinbekommen.. ein bekannter von mir (linux-guru) hat mir jetzt einen anderen weg gesagt.. ibm-acpi bringt auch die gewünschten suspend funktionen.. wenn jemand trotzdem eine lösung kennt oder weiß warum das compilen net funzt bitte posten (o;