Re: problem to install comedi drivers

Corinne,

The root of your problems seems to me to be the fact that you pointed
Comedi to the wrong kernel tree.  Do you have a linux kernel source code
tree at /usr/src/2.4.16-14?  Is it a tree provided by your distribution?
Is there a .config file in that directory?  If so, then try running
./configure in Comedi and telling Comedi to use that tree.  This should
fix your problem with modules being installed in the wrong place, and your
problem with missing kernel symbols.

If this doesn't fix your problem, then you may need to either configure a
kernel tree to match your exact running kernel, or recompile the kernel
altogether and reboot into it before installing Comedi.

-Calin

On Wed, 5 Mar 2003, DONZAUD Corinne wrote:

> Hi,
> once more the french girl who tries to install comedi drivers !
> I resolved the previous problem : I could not compile properly because the
> PC used the french language (LANG=fr_FR) : in Makefile, it was demand to
> replace the word "install" and my french PC gave the word "installes" !
> ok, this problem is solved, I used the american language ans the life is
> nice !
>
> now, new problem :
> the command "make install" creates the directory
>  /lib/modules/2.4.16-14custom
> with the file comedi.o
>          directory kcomedilib (which contains kcomedilib.o)
> 	 directory drivers (wich contains comedi_fc.o mite.o ni_pcimio.o)
>
> when I write : /sbin/modprobe ni_pcimio, the answer is
> "can't locate ni_pcimio"
>
> I tried to copy this tree in /lib/modules/2.4.16-14/misc.
> when I tried the command depmod : the answer is
> "unresolved symbols in /lib/modules/2.4.16-14/misc/buffer.o
>                    /lib/modules/2.4.16-14/misc/cmd.o
> 		   /lib/modules/2.4.16-14/misc/comedi.o
> 		   ....
>
> when I tried "insmod comedi" : the answer is
> /lib/modules/2.4.16-14/misc/comedi.o : unresolved symbols _wake_up
>                                                           register_chrdev
> 		                                          ...
>
>
> when I tried "insmod ni_pcimio" :the answer is
> /lib/modules/2.4.16-14/misc/drivers/ni_pcimio.o : unresolved symbols
> mite_dma_arm
> ...
>
> where are all these mysterious symbols ?
> thank you for your help
> corinne
>
>        ..........................................
>        .   Corinne Donzaud                      .
>        . Institut de Physique Nucleaire d'Orsay .
>        . Universite Paris-Sud bat. 100          .
>        . 91406 Orsay Cedex                      .
>        . tel: (33) (0)1 69 15 62 57             .
>        . fax: (33) (0)1 69 15 64 70             .
>        . e-mail: donzaud_at_ipno.in2p3.fr          .
>        ..........................................
>
>
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
>

Received on 2003-03-07Z13:24:04