On Sun, 17 Aug 2003 18:27:53 -0400
lameth <lameth@comcast.net> wrote:
When I installed Debian I selected the BF24 flavor of the pre built
kernel but I've check and there are no source packages for it. Since I
couldn't find the sources for Bf24 I downloaded kernel-source-2.4.18. I
modified a line in the make script to point to
/usr/src/kernel-source-2.4.18/include/linux. When I run the make script
it tells me I have an incomplete version of my source files.
Am I pointing the make script to the right directory? Can I build a
module for the bf24 kernel using the kernel-source-2.4.18 source code?
Last question first. kernel-source-2.4.18 is the package used for all 2.4.18
kernels, including -bf2.4. So yes, you have the right package.
I suspect you would have better results building your ATI module if you did
this:
1. Undo whatever modification you made in whichever makefile you made it.
2. Make a symbolic link to the kernel source tree:
bash:/usr/src$ ln -s kernel-source-2.4.18 linux
3. Copy the bf2.4 kernel config to the top directory of the kernel source:
bash:/usr/src/linux$ cp /boot/config-2.4.18-bf2.4 .config
4. Do "make oldconfig && make dep"
5. Build your ATI module(s).
Kevin