Re: FC3 Getting Error during compile - modversions.h
Joerg Albert <[email protected]> Mon, 14 Mar 2005 21:57:05 +0100 (CET)
| Newsgroups | gmane.linux.drivers.atmel-wlan |
|---|---|
| Message-ID | <[email protected]> |
Hi Russ, On Fri, 11 Feb 2005, Russ Wright wrote: > Hello All > > I just grabbed the latest tarball from the website and when I attempt t= o > compile I get an error message: > > > $ make > gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno- > common -Wn o-sign-compare -Wno-unused -D__KERNEL__ -DMODULE - > DEXPORT_SYMTAB -DDRIVER_VERSIO N=3D\"v0.11\" - > I/lib/modules/2.6.10-1.760_FC3/build/include -DMODVERSIONS - > include /lib/modules/2.6.10-1.760_FC3/build/include/linux/modversions.= h > -c at76c503.c > cc1: /lib/modules/2.6.10-1.760_FC3/build/include/linux/modversions.h: N= o > such file or directory > > Notice the path where it is looking for modversions.h that is not the > path to the kernel source. > > I did install the kernel source rpm for my kernel and I did run > > $rpmbuild -bp --target=3Dnoarch /usr/src/redhat/SPECS/kernel-2.6.spec > so I know the kernel source is there. > > > What is wrong here? The Berlios driver doesn't know where to find your kernel source. It assumes the symlink /lib/modules/`uname -r`/build points to the root dir of the kernel source. It gets created during "make modules_install" of th= e kernel build. Try to set the symlink to your kernel source tree manually, but be sure that it is correctly configured (no idea how this works with FC3 - any "config" lines during your call to rpmbuild?). HTH, J=F6rg.