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

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



János Holányi wrote:
The kernel is fresh stock Debian 2.6.14-1-686
The config is an untouched /boot/config-2.6.14-1-686
[...]
/bin/sh: scripts/mod/modpost: No such file or directory

The kernel sources you are using are incomplete, broken or not
configured properly.

Wtf is that modpost? :)

It's a tool that postprocesses module symbol versions.

The relevant full output:

/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx modules
make[2]: Entering directory `/home/linux-source-2.6.14'

How can it be that you said "/usr/src/linux" and it goes into
"/home/linux-source-2.6.14" ? Then "/usr/src/linux" is a symlink? Who
created it?

Is that kernel tree properly configured?

If you're using a stock 2.6.14-1-686 kernel, why aren't you using
kernel-headers-2.6.14-1-686 instead of the full kernel source? As in:
  $ sudo apt-get install linux-headers-2.6.14-1-686
  $ cd /usr/src/linux-headers-2.6.14-1-686
  $ make SUBDIRS=/usr/src/modules/fglrx modules

(if you didn't try that because my page still says that fglrx doesn't
build with kernel-headers, I apologize)

-- 
Ciao, Flavio