Anne Wilson wrote:
On Tuesday 07 November 2006 23:12, Todd Zullinger wrote:
Do you have a matching kernel and kernel-devel? More than a few
people have been bitten by having an i586 kernel and i686
kernel-devel.
rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n' kernel{,-devel}
Oops - you're right.
kernel-2.6.18-1.2798.fc6.i586
kernel-devel-2.6.18-1.2798.fc6.i686
So I guess I remove kernel-devel then install a specifically-numbered
kernel-devel.
Right - done that, got the link fixed, but still 'make' gives me
make -C /lib/modules/`uname -r`/build
SUBDIRS=/home/anne/Downloads/gspcav1-20060925 CC=cc modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
CC [M] /home/anne/Downloads/gspcav1-20060925/gspca_core.o
/home/anne/Downloads/gspcav1-20060925/gspca_core.c:36:26: error:
linux/config.h: No such file or directory
make[2]: *** [/home/anne/Downloads/gspcav1-20060925/gspca_core.o] Error 1
make[1]: *** [_module_/home/anne/Downloads/gspcav1-20060925] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
This problem has come up in relation to a bunch of out-of-tree kernel
drivers since FC6 was released. The linux/config.h header file no longer
exists and is not needed. You should be able to just delete the source
line in the driver that references it (gspca_core.c line 36 I think).
Paul.