On Mon, Jan 26, 2004 at 11:02:07AM +0100, Steven Van Dorsselaer wrote: > Hello, > I installed debian trough the network with a kernel 2.4.18 (bf2.4). Then I > installed X windows and xawtv with apt-get (OK for so far). Then I > unpacked the qce-ga driver and started compiling. At that moment the > output was: > > ************************************************** > gandalf:/usr/src/qce-ga-0.40d# make > cc -I/lib/modules/2.4.18-bf2.4/build/drivers/usb > -I/lib/modules/2.4.18-bf2.4/build/include -include > /lib/modules/2.4.18-bf2.4/build/include/linux/config.h -O3 -Wall > -Wstrict-prototypes -fomit-frame-pointer -pipe -DMODULE -D__KERNEL__ -c > quickcam.c > cpp0: /lib/modules/2.4.18-bf2.4/build/include/linux/config.h: No such file > or directory > make: *** [quickcam.o] Error 1 > *************************************************** > > I wanted to locate the "config.h" file and change the path in the makefile > but I couldn't locate it.
The config.h file is created as part of the process of compiling a kernel. /lib/modules/.../build is expected to be a symlink into the kernel source tree which will pick up the config.h from the kernel compilation. AIUI to build the qce-ga driver you will need to have at least some of the kernel source installed as well, and of course it will all need to be consistent with what kernel you are actually running. So I think you will need to install a 2.4 kernel-source package of your choice, compile a kernel, install it, and then build the qce-ga driver. -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
pgp00000.pgp
Description: PGP signature