RE: Compiling kernel source
>>> David Turetsky wrote on Sat Feb 15, 2003 um 11:54:36AM:
'uname -r' gives '2.4.18-bf2.4' but 'apt-get install
kernel-source-2.4.18-bf2.4' replies 'Couldn't find package ...
-bf2.4'
so I installed 2.4.18. The installation went fine. Quite interesting
>>> Andreas Bloch [mailto:inka-user@zombie.inka.de] replied on Saturday,
February 15, 2003 5:39 PM
Wrong. Use "apt-get source kernel-image-2.4.18-bf2.4". However, your
request ist pointless, what you need to get most modules compiled are
the kernel headers, which you can get with "apt-get install
kernel-headers-2.4.18-bf2.4". Point your module building system to
/usr/src/kernel-headers-2.4.18-bf2.4/include then.
>>> David Turetsky, following the wise advise of Andreas, got the
>>> following output:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_PCT789
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) mawk
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking
/usr/src/kernel-headers-2.4.18.bf2.2/include/linux/modversions.h
usability... no
checking
/usr/src/kernel-headers-2.4.18.bf2.2/include/linux/modversions.h
presence... no
checking for
/usr/src/kernel-headers-2.4.18.bf2.2/include/linux/modversions.h... no
This sounds as though I'm back to square one of trying to get the
'bf2.4' source. I thought to check in first, given your 'pointless'
comment
--
David
Reply to: