Portál AbcLinuxu, 16. července 2025 04:59
(v ~/thinkpad-6.0)
ln -s 2.6/drivers drivers ln -s 2.6/include include make all
Kompilace probíhá takto:
make -C 2.6/drivers make[1]: Entering directory `/home/yenn/thinkpad-6.0/2.6/drivers' make -C /lib/modules/2.6.21.5-smp/build SUBDIRS=/home/yenn/thinkpad-6.0/2.6/drivers modules make[2]: Entering directory `/usr/src/linux-2.6.21.5' CC [M] /home/yenn/thinkpad-6.0/2.6/drivers/thinkpad.o CC [M] /home/yenn/thinkpad-6.0/2.6/drivers/smapi_core.o make[2]: Leaving directory `/usr/src/linux-2.6.21.5' make[1]: Leaving directory `/home/yenn/thinkpad-6.0/2.6/drivers' In file included from /home/yenn/thinkpad-6.0/2.6/drivers/../include/thinkpad_common.h:80, from /home/yenn/thinkpad-6.0/2.6/drivers/thinkpad.c:49: /home/yenn/thinkpad-6.0/2.6/drivers/../include/rtcmosram.h:171: warning: 'packed' attribute ignored In file included from /home/yenn/thinkpad-6.0/2.6/drivers/../include/thinkpad_common.h:80, from /home/yenn/thinkpad-6.0/2.6/drivers/smapi_core.c:39: /home/yenn/thinkpad-6.0/2.6/drivers/../include/rtcmosram.h:171: warning: 'packed' attribute ignored make[3]: *** No rule to make target `/home/yenn/thinkpad-6.0/2.6/drivers/smapi_call.o', needed by `/home/yenn/thinkpad-6.0/2.6/drivers/smapi.o'. Stop. make[2]: *** [_module_/home/yenn/thinkpad-6.0/2.6/drivers] Error 2 make[1]: *** [default] Error 2 make: *** [all] Error 2
Googlil jsem kde by mohla být chyba, ale nic jsem nenašel. Tušíte kde je chyba?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.