[PlanetCCRMA] Trying to build module using Planet Kernel

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Mon May 10 12:34:01 2004


> >> Maybe the driver is looking for the configuration information for the
> >> kernel (and deciding the the source is not there when it does not find
> >> it). You could try this, copy the configuration file for the kernel you
> >> are booting in into /usr/src/linux-2.4.26-1.ll.rhfc1.ccrma/.config, all
> >> config files can be found in:
> >>  /usr/src/linux-2.4.26-1.ll.rhfc1.ccrma/configs/
> >>
> >> -- Fernando
> >>
> > Thanks for the quick response below is the section from the Configure 
> > file that hiccups. Seems to be looking for a file version.h that isn't 
> > in the
> > /usr/src/linux-2.4.26-1.ll.rhfc1.ccrma/include/linux directory.  Any 
> > ideas how to generate it or should I modify the Configure file?
> > Thanks again Fernando.
> > Jim
> >
> > # Collect the kernel source tree and test for sanity
> >
> > ask_str "Linux source directory" LINUX_SRC
> >
> > if [ ! -f $LINUX_SRC/include/linux/version.h ] ; then
> >     $ECHO "Linux source tree $LINUX_SRC is incomplete or missing!"
> >     if [ -d $LINUX_SRC/include/linux ] ; then
> >     $ECHO "    The kernel header files are present, but not " \
> >         "the full source code."
> >     fi
> >     $ECHO "    See the HOWTO for a list of FTP sites for current" \
> >      "kernel sources."
> >     fail
> > fi

Well, it looks like I have it here:
# rpm -q -l kernel-source-2.4.26-1.ll.rh90.ccrma|grep linux/version.h
/usr/src/linux-2.4.26-1.ll.rh90.ccrma/include/linux/version.h
(same result of FC1)

If you don't have the file then something erased it (not me! :-)... "rpm
-V kernel-source-2.4.26-1.ll.rh90.ccrma" will verify the installed
package and check for missing or altered files. Most probably you will
need to reinstall it. 

-- Fernando