Re: getting FUSD compiled with current kernels

From: Sam Ravnborg
Date: Sat Sep 29 2007 - 13:15:14 EST


On Sat, Sep 29, 2007 at 06:37:51PM +0200, Florian Schmidt wrote:
> On Saturday 29 September 2007, Florian Schmidt wrote:
> > On Saturday 29 September 2007, Florian Schmidt wrote:
> > > Hi,
> > >
> > > I'm trying to build FUSD [1] against current kernels [2.6.22]. I get
> > > errors [2]:
> >
> > Oh i forgot to show the code snippets in question. I put them to the
>
> Oh and i also forget to mention that i get the same errors when using:
>
> KDIR=/usr/src/linux-source-2.6.22/ make
>
> [Where the ubuntu kernel package put the source. I configured it with the
> default ubuntu .config and make oldconfig]. I get one more message though:
>
> ~/source/build_stuff/fusd/kfusd$ KDIR=/usr/src/linux-source-2.6.22/ make
> make -C /usr/src/linux-source-2.6.22/
> SUBDIRS=/home/tapas/source/build_stuff/fusd/kfusd
> EXTRA_CFLAGS=-I/home/tapas/source/build_stuff/fusd/kfusd/../include modules
> make[1]: Entering directory `/usr/src/linux-source-2.6.22'
>
> WARNING: Symbol version dump /usr/src/linux-source-2.6.22/Module.symvers
> is missing; modules will have no dependencies and modversions.

This is because you build using a kernel with a non-complete build.
Maybe ubuntu locate output files somewhere else?

If thats the case use:
export KBUILD_OUTPUT=dir
make

to tell kbuild where to find the output files for the kernel source.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/