Francis Galiegue a �crit :
>
> On Thu, 10 Aug 2000, Guillaume Rousse wrote:
>
> > Francis Galiegue a �crit :
>
> > >
> > > I don't see your problem, actually... All that's needed is that /usr/src/linux
> > > point to the kernel sources, then make dep all (in the emu10k1 source dir) to
> > > build the module...
> > The problem is :
> > /sbin/depmod -a 2.2.16-9mdk
> > depmod: *** Unresolved symbols in
> > /lib/modules/2.2.16-9mdk/misc/emu10k1.o
> > root@agathe emu10k1]# modprobe sound
> > /lib/modules/2.2.16-9mdk/misc/emu10k1.o: unresolved symbol
> > unregister_sound_dsp_Rcd083b10
>
> Uhm, it looks like the driver has problems with CONFIG_MODVERSIONS? Very
> strange...
>
> Is it a kernel compiled by yourself? If yes, did you compile it with
> CONFIG_MODVERSIONS? What cmdline did you type to compile the emu10k1 module?
Right, it is a custom compiled kernel, and i disabled MODVERSION as
usual.
I used make to compile the driver.
>
> >
> > Another problem, wich is evocated in README is 'make sure your kernel
> > options are correctly recovered'. That's not the case, particulary for
> > kernel_moduleversion, as the configure.h file used is not the good one.
> >
> > Maybe the first is a consequence of the second ?
> >
>
> /usr/src/linux not pointing to the good headers? I'm lost...
>
> Are they the distribution headers?
Sorry if my first post was unclear.
configure.h contains the correct used options (undefine modversions),
but configure_up.h is used instead, and con tains the default options
(define modversions). When i try to use configure.h instead, version.h
fails to provide KERNEL_VERSION, which is used by the MakeFile...
Of course, i could recompile my kernel with modversions actived, but
that would be a dirty fix :-)
--
Guillaume Rousse
Iremia - Universit� de la R�union
Plus petites unit�s de mesure
- de longueur : le millim�tre
- de volume : le millilitre
- d'intelligence : le militaire