Re: Help? Porting SuSE 2.4 kernel module which uses comedi to SuSE 2.6

On 03/08/05 21:11, David P. Mott wrote:
> Now, I have unresolved symbols.  This makes sense, because I haven't 
> told the makefile where these symbols are yet:
>    comedi_dio_config, comedi_close, comedi_open, comedi_dio_write

The symbols should be resolved at module load time.  You don't need to 
specify anything in your makefile.  You should only need to load the 
comedi modules before you insmod your watchdog module.  Assuming you 
have installed the comedi modules, this should be as simple as:

# modprobe some_comedi_driver
# modprobe kcomedilib
# insmod your_module.ko

You'll also need to configure the comedi device using the comedi_config 
command, possibly before you load your module.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2005-08-04Z14:17:52