Skip to contentSkip to conversation

Problems in exporting symbols

DISCUSSION kumar M 3 participants 3 messages Jan 5, 2002 – Jan 6, 2002

lore
Share & tools
lore

kumar M

author
#0 lore raw

Hi,

I am getting a kernel mismatch error when I insmod a binary module
compiled on a 2.4.2 kernel (kernel name say linux-2-4-2-v1) on a different system with the same 2.4.2 kernel but with a different kernel name (linux-2-4-2-v2). I dont want to recompile the module everytime I give a new name to a kernel or for every different system. How do I fix this problem ?

TIA,
Kumar

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

#1 lore raw
Quoted 6 lines · kumar M

I am getting a kernel mismatch error when I insmod a binary module compiled on a 2.4.2 kernel (kernel name say linux-2-4-2-v1) on a different system with the same 2.4.2 kernel but with a different kernel name (linux-2-4-2-v2). I dont want to recompile the module everytime I give a new name to a kernel or for every different system.
How do I fix this problem ?

Try insmod -f, but don't complain if it destroys your system. Modules tend to be very kernel specific, forcing a module load into a different kernel is a good way to kill your machine.

#2 lore raw
In reply to kumar M

look at Documentation/Configure.help and specifically the CONFIG_MODVERSION option.....

hope this helps.

Vikram

Quoted 23 lines · kumar M

Hi,

I am getting a kernel mismatch error when I insmod a binary module compiled on a 2.4.2 kernel (kernel name say linux-2-4-2-v1) on a different system with the same 2.4.2 kernel but with a different kernel name (linux-2-4-2-v2). I dont want to recompile the module everytime I give a new name to a kernel or for every different system.
How do I fix this problem ?

TIA,
Kumar

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/