From: Omar Khan Subject: Re: kvm-13 Date: Mon, 19 Feb 2007 22:22:47 +0000 (UTC) Message-ID: References: <20070209081432.GG18296@rhun.ibm.com> <20070210040354.GU18296@rhun.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Muli Ben-Yehuda writes: > That does not explain why the change you made (from ?= to :=) made any > difference. Could you send a full log of ./configure && make && make > install with and without your change? > Well from what I have observed this makes a difference because in config.mak KERNELDIR=/usr/src/linux-2.6.18.2-34-obj/i386/default This gets included in the kernel/Makefile and when make reaches KERNELDIR ?= /lib/modules/$(shell uname -r)/build KERNELDIR is already set (to default) so it does not set it to /build. Now when it does INSTALLDIR = $(patsubst %/build, %/extra, $(KERNELDIR))) nothing gets replaced since there is no 'build' to replace. So nothing gets installed in /lib/modules/2.6.18.2-34-default/extra/ and hence modprobe fails. if I replace ?= with := it KERNELDIR is changed to /lib/modules/$(shell uname -r)/build and hence we get the INSTALLDIR for the /extra. I will try to send the log for ./configure , make , make install. Thanks Omar Khan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV