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

Re: [debian-knoppix] probleme mit dem compilieren von modulen !



Hello,

On Thu, 8 May 2003 12:03:04 +0200, Dirk Kamp <dirk@am-user.de> wrote:
> KERNEL_LOCATION = /lib/modules/$(CURRENT)/build

This ussually is a symlink pointing to the source directory of your
kernel. it assumes, that you have compiled your own kernel and that
sources of that kernel are in the directory this symlink is pointing at.

> 	@(cd $(KERNEL_LOCATION) && make -C $(KERNEL_LOCATION)
> 	SUBDIRS=$(PWD) modules)

this would cd to /usr/src/linux (ar any other dir you unpacked you
kernel source to) and do a"make modules" there. Strange command, I must
say.

You should recompile your kernel from source for this makefile to work.

-- 
Best regards,
    Aigars Mahinovs        mailto:aigarius@debian.org
 #--------------------------------------------------------------#
 |     .''`.                                                    |
 |    : :' :         Debian GNU/Linux    &         LAKA         |
 |    `. `'       http://www.debian.org     http://www.laka.lv  |
 |      `-                                                      |
 #--------------------------------------------------------------#
 

Attachment: pgpSnxBGteaJj.pgp
Description: PGP signature


Reply to: