Linking precompile archive/object files with kernel module possible?
I'm trying to build a filesystem kernel module in which I call functions that are in a precompiled proprietary library. Is this possible? I've tried to extract the object files from the archive and then manually link them with my module object file. It links without complaints but when I try to load the module into the kernel it fails with
insmod: error inserting 'dsfs.ko': -1 Invalid module format
I was able to get this module to work when I had created my own library object files (before the vendor had given me their library). It seems the module build system has no problem linking several object files to create a module as long as it can build them all. Any ideas?
Last edited by Mechanic; 08-25-2006 at 02:14 PM.
|