Re: requirements for building a kernel module

2004-02-11 Thread Micha Feigin
On Wed, Feb 11, 2004 at 10:20:29PM -0500, Brett Carrington wrote: > On Thu, Feb 12, 2004 at 05:00:31AM +0200, Micha Feigin wrote: > > I was wondering what would be the minimal requirements > > (packages/settings) in order to build a kernel module that is external > > to the kernel source tree using

Re: requirements for building a kernel module

2004-02-11 Thread Brett Carrington
On Thu, Feb 12, 2004 at 05:00:31AM +0200, Micha Feigin wrote: > I was wondering what would be the minimal requirements > (packages/settings) in order to build a kernel module that is external > to the kernel source tree using make-kpkg --added-modules for a stock > debian kernel. apt-get build-dep

requirements for building a kernel module

2004-02-11 Thread Micha Feigin
I was wondering what would be the minimal requirements (packages/settings) in order to build a kernel module that is external to the kernel source tree using make-kpkg --added-modules for a stock debian kernel. I've been trying to give some answers on installing dri but I am using a patched vanill

Re: problems when building a kernel module 'out of the box'

2003-11-20 Thread Mike at VirginNet
Hi Colin, > > The seemingly obvious would be to change this to :- > > > > gcc -D__KERNEL__ -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.18-bf2.4/include/linux/modversions.h -Wall -Wstr ict-prototypes -O2 -m486 -c modulename.c -I/usr/src/kernel-source-2.4.18-bf2.4/include > > > >

Re: problems when building a kernel module 'out of the box'

2003-11-20 Thread Colin Watson
On Thu, Nov 20, 2003 at 02:47:19PM -, Mike at VirginNet wrote: > When I try to install a newly built module, I get the following error :- > > modulename.o: kernel-module version mismatch > modulename.o was compiled for kernel version 2.4.18 > while this kernel is version 2.

Re: building a kernel

2001-09-20 Thread Karsten M. Self
on Mon, Sep 17, 2001 at 10:32:41PM -0400, Robert Schweikert ([EMAIL PROTECTED]) wrote: > Hi, > > I am new to debian, actually I don't even have everything running yet as > I want it to. Right now I was trying to build a kernel and I got the > following problem > > make xconfig > rm -f include/as

Re: building a kernel

2001-09-18 Thread Adam Warner
Hi Robert, On Tue, 2001-09-18 at 14:32, Robert Schweikert wrote: > Hi, > > I am new to debian, actually I don't even have everything running yet as > I want it to. Right now I was trying to build a kernel and I got the > following problem I build my own kernels. But are you sure you need to? To

building a kernel

2001-09-17 Thread Robert Schweikert
Hi, I am new to debian, actually I don't even have everything running yet as I want it to. Right now I was trying to build a kernel and I got the following problem make xconfig rm -f include/asm rm: `include/asm' is a directory make: *** [symlinks] Error 1 On my RedHat distro /usr/include/asm is

Re: building a KERNEL?!

2001-03-14 Thread Carlos Laviola
On 14-Mar-2001 ktb wrote: > On Wed, Mar 14, 2001 at 02:30:03AM -0500, Mark Livingstone wrote: >> Re, >> >> what's the best way to build a kernel in Debian? or should i unpack the >> sources and do it as i used to do it in slackware? >> > > You can do it how you like but I would encourage you t

Re: building a KERNEL?!

2001-03-14 Thread ktb
On Wed, Mar 14, 2001 at 02:30:03AM -0500, Mark Livingstone wrote: > Re, > > what's the best way to build a kernel in Debian? or should i unpack the > sources and do it as i used to do it in slackware? > You can do it how you like but I would encourage you to try it the debian way. This should

building a KERNEL?!

2001-03-14 Thread Mark Livingstone
Re, what's the best way to build a kernel in Debian? or should i unpack the sources and do it as i used to do it in slackware? thanks!

Re: Building a kernel

2001-01-16 Thread David A. Rogers
William, See http://www.xnet.com/~darogers/debian_university.txt for a complete rundownd on this. dar On Sun, 14 Jan 2001, William Leese wrote: > Hello all, > > i wish to build a kernel but i've read somewhere that things cant be done > quite the same way as with other (rpm-based) distros becau

Re: Building a kernel

2001-01-14 Thread Diego Biurrun
Hi ! Well, you can do it like in other rpm-based distros, but there is a much more elegant way of doing it. Install the package kernel-package (as root run "apt-get install kernel-package") and then just do: 1. cd /usr/src/linux 2. make menuconfig 3. make-kpkg kernel-image 4. dpkg -i ../kernel-i

Re: Building a kernel

2001-01-14 Thread Sebastiaan
Hi, you can do it with ordinary make menuconfig; make dep; make bzImage; make modules; make modules_install, but there is a 'debian' way. Here it is: # apt-get install kernel-source-2.2.17 kernel-package libc6-dev bin86 libncurses5-dev gcc fakeroot dpkg-dev bzip2 add tk8.2-dev if you want to use

Building a kernel

2001-01-14 Thread William Leese
Hello all, i wish to build a kernel but i've read somewhere that things cant be done quite the same way as with other (rpm-based) distros because it would confuse apt-get. can someone fill me in on this or point me to some debian specific documentation? William Leese