Re: Unresolved externals

On Wed, Aug 20, 2003 at 08:03:31PM -0400, Christopher B. Lirakis wrote:
> I'm having an awful time getting comedi to operate. Does anyone recognize 
> the following sequence?
> /sbin/modprobe ni_pcimio
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol __wake_up
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol register_chrdev
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol create_proc_entry
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol remove_wait_queue
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol request_module
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol __pollwait
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol remove_proc_entry
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol kill_fasync
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol fasync_helper
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol add_wait_queue
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol mem_map
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol 
> comedi_get_device_by_minor
> /lib/modules/2.4.18-14/misc/comedi.o: unresolved symbol init_mm
> /lib/modules/2.4.18-14/misc/comedi.o: insmod 
> /lib/modules/2.4.18-14/misc/comedi.o failed
> /lib/modules/2.4.18-14/misc/comedi.o: insmod ni_pcimio failed
> 
> I had put in a previous post. I managed to get around those problems by 
> realizing I had a directory permissions problem during config that I had 
> missed. I am sure this is a similar kind of problem.

Actually, this looks like a mismatch between the configuration of
the installed kernel and the configuration of the kernel tree used
for the compilation of Comedi.  It also looks like the kernel's
CFLAGS variable was detected incorrectly, since it appears that
CFLAGS is missing -O2.

You might want to start from a clean kernel source from kernel.org
instead of using a vendor kernel.  The upcoming version of Comedi
will help somewhat with vendor kernels, but it is highly discouraged
with 0.7.66.



dave...

Received on 2003-08-21Z00:30:37