insmod Unresolved externals

Hi All,
I'm hoping that someone can help me here. I downloaded comedi-0.7.66 
and  comedilib. I am running Redhat Linux 8.0. Kernel version 2.4.18-14.

I had some difficulty compiling the kernel modules but setting the 
-D__KERNEL__ and -DEXPORT_SYMTAB seemed to help. Things compile. The 
problem occurs when I go to load the modules. I started with a :

/sbin/modprobe ni_pcimio (the support I wanted) which failed with a 'can't 
find module.'

I tried to make the problem simplier and load a module at a time. As best I 
can tell, comedi.o is the lowest level of support. So I did a:
/sbin/insmod comedi

This too resulted in an error, "unresolved symbol 
comedi_get_device_by_minor" I have tried many different things to aleviate 
this problem. The actual code resides as an inline in comedidev.h. The 
optimizer level -O is set which should expand this inline. It appears that 
many of the other supporting modules depend on this one, so certainly they 
will have unresolved externals as well. By chance I did try this with some 
other modules. The module "mite" did load.

Any suggestions? I've looked in "Linux Device Drivers" version 2 but 
haven't run across the trick. I am quite sure this is something stupid.

Regards
Chris

Received on 2003-08-19Z17:10:16