Re: Configuring Comedi-0.7.70

On 03/11/05 10:43, Pedro Serra wrote:
> Hi
> 
> I've compiled and installed the comedi-0.7.70 and comedilib-0.7.19 whit 
> success. When I configure my board (Advantech PCM 3730)
> 
>>> /sbin/modprobe comedi
> 
> 
> The output is:
> 
> /lib/modules/2.4.18-3/comedi/comedi.o : unresolved symbol 
> register_chrdev_R02ca188e
> /lib/modules/2.4.18-3/comedi/comedi.o : unresolved symbol 
> __pollwait_R88d2ac43
> /lib/modules/2.4.18-3/comedi/comedi.o : unresolved symbol 
> fasync_helper_R3587b11f
> /lib/modules/2.4.18-3/comedi/comedi.o : unresolved symbol 
> remove_proc_entry_Rb4cc32b6
> /lib/modules/2.4.18-3/comedi/comedi.o : unresolved symbol 
> remove_wait_queue_R8b89dc43
> /lib/modules/2.4.18-3/comedi/comedi.o : unresolved symbol 
> add_wait_queue_R4567cd50
> /lib/modules/2.4.18-3/comedi/comedi.o : unresolved symbol 
> create_proc_entry_Ra60a30fa
> /lib/modules/2.4.18-3/comedi/comedi.o : unresolved symbol init_mm_R114872b3
> /lib/modules/2.4.18-3/comedi/comedi.o : unresolved symbol 
> kill_fsync_Re54149a8
> /lib/modules/2.4.18-3/comedi/comedi.o : unresolved symbol mem_map_R2d57b9df
> /lib/modules/2.4.18-3/comedi/comedi.o : insmod 
> /lib/modules/2.4.18-3/comedi/comedi.o failed
> /lib/modules/2.4.18-3/comedi/comedi.o : insmod comedi failed

I tried the following on Red Hat 7.3 earlier today, running Red Hat's 
2.4.18-3 kernel:

cd /usr/src/linux-2.4.18-3
cp /boot/config.h-2.4.18-3 .config
make oldconfig
make deps
make          <--- quit this after a couple of minutes with Ctrl-C
make clean

cd /path/to/comedi-0.7.70
./configure
make
make install
modprobe comedi

I didn't get any unresolved symbols doing this.  The important thing to 
watch out for is that the kernel sources are configured to match the 
running kernel.

-- 
-=( 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-11-03Z17:03:48