Greetings,

I'm working on a pair of externally built modules for a 2.6.2x vintage kernel on an embedded system and am having trouble. I've exported symbols from a HAL module for use in the other module but when I insmod the latter I get an error saying that "no version for "<some function name>" found".

I think I've followed the external build rules for the makefile and its invocation and the build succeeds. The module build process reports:

make[2]: Entering directory `/home/cashwell/marvel/linux/kernels/ linux-2.6.20-custom'
  CC [M]  /home/cashwell/marvel/linux/modules/testirq/testirq_guts.o
  LD [M]  /home/cashwell/marvel/linux/modules/testirq/testirq.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/cashwell/marvel/linux/modules/testirq/testirq.mod.o
  LD [M]  /home/cashwell/marvel/linux/modules/testirq/testirq.ko

But I get an empty Module.symvers and the warning when I insmod the module that uses a function the module above exports.

All the web searching I've done talks about not having the kernel's sym file and that the module build breaks. I haven't been able to find anything that helps with PRODUCING such a file from an externally built module. The Docs say the MODPOST step is supposed to do this even when building external modules, and that step is noted above, but all I get is an empty file.

Anyone have pointers on where I could look?

Thanks,
-Mike


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to