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

Re: Fw: Re: scripts/mod/modpost: No such file or directory



Well, I explicitly installed kernel-headers and tried compiling everything
from scratch again (as instructed by flavio debian page)... same error (both
make-kpkg and m-i).

I tend to say:
modpost go to hell! :)

I did also notice a modpost in kernel-kbuild-2.6 but what the ...? I didn't
have to mess with all these under (and up to) 2.6.13...

BTW if it is relevant: I'm also trying to compile alsa-driver at the same time
and that gaves me another no such file or directory:

  CC [M]  /usr/src/modules/alsa-driver/acore/hwdep.o
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[7]: *** [/usr/src/modules/alsa-driver/acore/hwdep.o] Error 1

How can I get through with 2.6.14? Any ideas anyone?

On Wed, 16 Nov 2005 15:52:46 +1100, Jason Thomas wrote
hmm, I'm using `module-assistant -t a-i fglrx`, which works fine.

modpost looks to be here:
/usr/src/linux-headers-2.6.14-1-686/scripts/mod/modpost`

see MODPOST below:

dh_testdir
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx 
modules make[1]: Entering directory `/usr/src/linux-headers-2.6.14-1-
686'

[snip]

  LD [M]  /usr/src/modules/fglrx/fglrx.o
  Building modules, stage 2.
  MODPOST
  CC      /usr/src/modules/fglrx/fglrx.mod.o
  LD [M]  /usr/src/modules/fglrx/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.14-1-686'

On Wed, Nov 16, 2005 at 05:44:40AM +0100, János Holányi wrote:

---------- Forwarded Message -----------
From: "János Holányi" <csani at lme dot linux dot hu>
To: Jason Thomas <jason at linkinnovations dot com>
Sent: Wed, 16 Nov 2005 05:37:27 +0100
Subject: Re: [fglrx] scripts/mod/modpost: No such file or directory

I've just tried with m-i and it gave me the same error.
Strange... this compilation worked fine up to IIRC 2.6.13

On Wed, 16 Nov 2005 15:25:02 +1100, Jason Thomas wrote
I've run into this same problem using make-kpkg. Using module-assistant
it builds fine.

On Wed, Nov 16, 2005 at 05:07:11AM +0100, János Holányi wrote:
I've just done a fresh dist-upgrade to my sid and the kernel driver still
doesn't compile.

The kernel is fresh stock Debian 2.6.14-1-686
The config is an untouched /boot/config-2.6.14-1-686

I'm trying to compile with:

make-kpkg --append-to-version 1-686 --added-modules fglrx modules_image

The error is:

/bin/sh: scripts/mod/modpost: No such file or directory

Wtf is that modpost? :)