Package: module-assistant
Version: 0.10.11
Severity: wishlist

Hi,

module-assistant is a great tool and really simplifies the process of
building modules.

However if am trying to build a module against an old kernel, built when
a different version of gcc was default, the version magic in the module
is different to that which the kernel requires, and so the module wont
load.

To fix this I look up the version required using modinfo on another
module in the target /lib directory and then call

  CC=gcc-4.0 m-a

as required.

It would be great if module assistant could do this for me. The error
message in this case is pretty obscure, and so others may give up before
working out the fix.

I don't know how to extract the version of gcc used to compile a kernel
from a non-running kernel though.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-rc4twitch1 (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages module-assistant depends on:
ii  libtext-wrapi18n-perl         0.06-5     internationalized substitute of Te
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

Versions of packages module-assistant recommends:
ii  liblocale-gettext-perl        1.05-1     Using libc functions for internati

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to