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

install on a t40p



Hello,

My laptop is an IBM t40p and I try to make Debian working properly on
its. I have compiled my on kernel (2.6 :-) ) and I want to build
thinkpad-source but it does not seem to build anything. Here is the
output :

for module in /usr/src/modules/thinkpad ; do                        \
          if test -d  $module; then                                \
    (cd $module;                                           \
              if ./debian/rules KVERS="2.6.0"
KSRC="/usr/src/kernel-source-2.6.0" \
                             KMAINT="Unknown Kernel Package Maintainer"
KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf"      \
                            
KPKG_DEST_DIR="/usr/src/kernel-source-2.6.0/.."    \
                             KPKG_MAINTAINER="Unknown Kernel Package
Maintainer"        \
                             KDREV="reussite.v.2" kdist_image; then    \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   echo "Hit return to Continue";                   \
           read ans;                                        \
              fi;                                                   \
     );                                                     \
  fi;                                                       \
        done
make[1]: Entering directory `/usr/src/modules/thinkpad'
/usr/bin/make -w -f debian/rules binary-modules
make[2]: Entering directory `/usr/src/modules/thinkpad'
cd 2.6/drivers && /usr/bin/make
make[3]: Entering directory `/usr/src/modules/thinkpad/2.6/drivers'
cc -Wall -Wcast-align -Wstrict-prototypes -O2
-I/usr/src/kernel-source-2.6.0/include -I. -I../include -DLINUX -o
thinkpad.o -c thinkpad.c
Dans le fichier inclus à partir de thinkpad.c:38:
../include/thinkpad_driver.h:45:31: linux/modversions.h : Aucun fichier
ou répertoire de ce type
In file included from
/usr/src/kernel-source-2.6.0/include/asm/processor.h:18,
                 from
/usr/src/kernel-source-2.6.0/include/asm/thread_info.h:13,                 from /usr/src/kernel-source-2.6.0/include/linux/thread_info.h:21,
                 from
/usr/src/kernel-source-2.6.0/include/linux/spinlock.h:12,
                 from
/usr/src/kernel-source-2.6.0/include/linux/capability.h:45,
                 from
/usr/src/kernel-source-2.6.0/include/linux/sched.h:7,
                 from
/usr/src/kernel-source-2.6.0/include/linux/module.h:10,
                 from thinkpad.c:42:
/usr/src/kernel-source-2.6.0/include/asm/system.h: Dans la fonction «
__set_64bit_var »:
/usr/src/kernel-source-2.6.0/include/asm/system.h:193: attention :
dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/kernel-source-2.6.0/include/asm/system.h:193: attention :
dereferencing type-punned pointer will break strict-aliasing rules
thinkpad.c:50:27: linux/wrapper.h : Aucun fichier ou répertoire de ce
type
thinkpad.c:105:41: opérateur binaire manquant avant l'élément lexical «
( »
make[3]: *** [thinkpad.o] Erreur 1
make[3]: Leaving directory `/usr/src/modules/thinkpad/2.6/drivers'
make[2]: *** [build-modules] Erreur 2
make[2]: Leaving directory `/usr/src/modules/thinkpad'
make[1]: *** [kdist_image] Erreur 2
make[1]: Leaving directory `/usr/src/modules/thinkpad'
Module /usr/src/modules/thinkpad failed.

Does anyone make it work ? In that case could you please help me ?

Thanks




Reply to: