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

kernel compilation error




hi there

i'm trying to compile a custom 2.4.18 kernel on my woody-desktop using make-kpkg. after some minutes it exits and throws some lines at me as quoted at the end of this message. no kernel.deb is made. going through the docs did not bring me much further.

### what i did:
cd kernel-source-dir
cp old-2.4.18-config-file .config
# this cleans the config file so it matches the current kernel, right?
make oldconfig
make xconfig
# it used to work this way on older installs:
fakeroot make-kpkg --append_to_version -i686 --initrd --revision=rev.01 kernel_image modules_image

any ideas?


#### last words from make-kpkg:
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /usr/src/kernel-source-2.4.18/debia
n/tmp-image -r 2.4.18-up-xas-1.0-i686; fi
depmod: *** Unresolved symbols in /usr/src/kernel-source-2.4.18/debian/tmp-image/lib/modules/2.4
.18-up-xas-1.0-i686/kernel/drivers/char/drm/sis.o
depmod: 	sis_malloc_Ra3329ed5
depmod: 	sis_free_Rced25333
make[2]: *** [_modinst_post] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.18'
make[1]: *** [real_stamp_image] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18'
for module in  ; do                        \
          if test -d  $module; then                                \
    (cd $module;                                           \
if ./debian/rules KVERS="2.4.18-up-xas-1.0-i686" KSRC="/usr/src/kernel-source-2.4.
18" \
KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfig
ured.in.etc.kernel-pkg.conf"      \
                             KDREV="rev.01" kdist_image; then    \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   echo "Hit return to Continue";                   \
	   read ans;                                        \
              fi;                                                   \
     );                                                     \
  fi;                                                       \
        done
[1]+  Done                    make xconfig





Reply to: