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

Re: kernel 2.4.18 with make-kpkg compile error



On Wed, Jul 17, 2002 at 04:26:19PM +0200, Lukas Kubin wrote:
> Hi, I'm trying to make a kernel image package in Debian for the first
> time. I've downloaded the sources using "apt-get source", configured with
> "make menuconfig" and tried (unsuccesfully) "make-kpkg --initrd
> kernel_image" with the following result:
> 
> make[1]: Leaving directory `/tmp/kernel-source-2.4.18-2.4.18'
> make -f ./debian/rules dummy_do_dep
> make[1]: Entering directory `/tmp/kernel-source-2.4.18-2.4.18'
> make[1]: *** No rule to make target `dummy_do_dep'.  Stop.
> make[1]: Leaving directory `/tmp/kernel-source-2.4.18-2.4.18'
> make: *** [stamp-kernel-configure] Error 2
> 
> Also I tried it without the --initrd but the result was the same. What
> shall I do to solve it?

I think you need to use fakeroot for the build, i.e. 'fakeroot make-kpkg
--initrd kernel_image'. I'm not certain; I build in /usr/src so I'm
always root. (I usually do 'make dep' before the make-kpkg for good
luck, but I don't think that matters.)
--
Nick


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: