[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Thinkpad module fails to build for 2.6.17



Hi all,

The subject line describes what occurs when doing 

#module-assistant auto-install thinkpad

using thinkpad-source and a custom 2.6.17 kernel from Debian testing sources.
The buildlog is below.

This line:

	/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:95: error: expected ‘)’

and three similar ones are unique to this kernel; there are other error 
messages but they also occurred for 2.6.16, for which the module built OK. 
Don't know if this is the reason.

Anyone seen this or know of a solution?

Regards,

John


Buildlog:

test -d debian
dh_clean debian/control debian/changelog debian/postinst debian/postrm
cd 2.6/drivers && /usr/bin/make clean
make[1]: Entering directory `/usr/src/modules/thinkpad/2.6/drivers'
rm -f *.o *.ko *.mod.? .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/usr/src/modules/thinkpad/2.6/drivers'
sed -e "s!\$KVERS!2.6.17!g; s!\$KSRC!/lib/modules/2.6.17/source!; s!
\$KEMAIL!!; s!\$KMAINT!!; s!\$NONEPOCH!2.6.17-10.00.Custom!; s!\$EPOCH!!; s!
\$DEBDATE!Wed, 13 Sep 2006 15:35:02 +1000!" debian/control.sed > 
debian/control
chmod ugo+x debian/control
sed -e "s!\$KVERS!2.6.17!g; s!\$KSRC!/lib/modules/2.6.17/source!; s!
\$KEMAIL!!; s!\$KMAINT!!; s!\$NONEPOCH!2.6.17-10.00.Custom!; s!\$EPOCH!!; s!
\$DEBDATE!Wed, 13 Sep 2006 15:35:02 +1000!" debian/changelog.sed > 
debian/changelog
chmod ugo+x debian/changelog
sed -e "s!\$KVERS!2.6.17!g; s!\$KSRC!/lib/modules/2.6.17/source!; s!
\$KEMAIL!!; s!\$KMAINT!!; s!\$NONEPOCH!2.6.17-10.00.Custom!; s!\$EPOCH!!; s!
\$DEBDATE!Wed, 13 Sep 2006 15:35:02 +1000!" debian/postinst.sed > 
debian/postinst
chmod ugo+x debian/postinst
sed -e "s!\$KVERS!2.6.17!g; s!\$KSRC!/lib/modules/2.6.17/source!; s!
\$KEMAIL!!; s!\$KMAINT!!; s!\$NONEPOCH!2.6.17-10.00.Custom!; s!\$EPOCH!!; s!
\$DEBDATE!Wed, 13 Sep 2006 15:35:02 +1000!" debian/postrm.sed > debian/postrm
chmod ugo+x debian/postrm
/usr/bin/make  -f debian/rules binary-modules
make[1]: Entering directory `/usr/src/modules/thinkpad'
cd 2.6/drivers && /usr/bin/make
make[2]: Entering directory `/usr/src/modules/thinkpad/2.6/drivers'
/usr/bin/make -C /lib/modules/2.6.17/source 
SUBDIRS=/usr/src/modules/thinkpad/2.6/drivers modules
make[3]: Entering directory `/usr/src/linux-source-2.6.17'
  CC [M]  /usr/src/modules/thinkpad/2.6/drivers/thinkpad.o
In file included 
from /usr/src/modules/thinkpad/2.6/drivers/../include/thinkpad_common.h:80,
                 from /usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:49:
/usr/src/modules/thinkpad/2.6/drivers/../include/rtcmosram.h:171: 
warning: ‘packed’ attribute ignored
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:95: error: expected ‘)’ 
before string constant
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:97: error: expected ‘)’ 
before string constant
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:99: error: expected ‘)’ 
before string constant
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:101: error: expected ‘)’ 
before string constant
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c: In 
function ‘thinkpad_ioctl’:
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:239: 
warning: ‘inter_module_put’ is deprecated (declared at 
include/linux/module.h:567)
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:254: 
warning: ‘inter_module_put’ is deprecated (declared at 
include/linux/module.h:567)
/usr/src/modules/thinkpad/2.6/drivers/thinkpad.c:269: 
warning: ‘inter_module_put’ is deprecated (declared at 
include/linux/module.h:567)
make[4]: *** [/usr/src/modules/thinkpad/2.6/drivers/thinkpad.o] Error 1
make[3]: *** [_module_/usr/src/modules/thinkpad/2.6/drivers] Error 2
make[3]: Leaving directory `/usr/src/linux-source-2.6.17'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/usr/src/modules/thinkpad/2.6/drivers'
make[1]: *** [build-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/thinkpad'
make: *** [kdist_image] Error 2
 



Reply to: