Re: PCL-812PG: unresolved symbol comedi_done

On Fri, 13.08.04, Felipe Zottola Diz <fzottola_at_cantv.net> wrote:

> [root_at_dynamica05 root]# insmod pcl812
> /lib/modules/2.4.18-3comedi/misc/pcl812.o: unresolved symbol range_unknown
> /lib/modules/2.4.18-3comedi/misc/pcl812.o: unresolved symbol comedi_done
> /lib/modules/2.4.18-3comedi/misc/pcl812.o: unresolved symbol comedi_eobuf
> /lib/modules/2.4.18-3comedi/misc/pcl812.o: unresolved symbol comedi_bufcheck
> /lib/modules/2.4.18-3comedi/misc/pcl812.o: unresolved symbol
> comedi_driver_register
> /lib/modules/2.4.18-3comedi/misc/pcl812.o: unresolved symbol range_unipolar5
> /lib/modules/2.4.18-3comedi/misc/pcl812.o: unresolved symbol
> comedi_driver_unregister
> /lib/modules/2.4.18-3comedi/misc/pcl812.o:

[snip]

> Binary file ./modules/pcl812.o matches
> Binary file ./modules/comedi.o matches
> [root_at_dynamica05 comedi-0.7.59]#

Isn't that odd? _Two_ modules match the symbols you searched for. I wonder
what happens if you try to load the other module, too... ;-)

Hint: always use "modprobe" instead of "insmod" unless you know what you are
doing :)

Explanation: All comedi drivers are built on top of the comedi "driver
framework". This "framework" (found in comedi.o) has to be loaded in order
for the drivers to work, and modprobe does this for you (because modprobe
detects dependencies and resolves them).

hth,
Nils

Received on 2004-08-13Z10:06:43