Re: Doubt on insmod!

Richard B. Johnson (root@chaos.analogic.com)
Tue, 20 Apr 1999 08:47:41 -0400 (EDT)


On Tue, 20 Apr 1999, G Jalaja Devi wrote:

>
>
> When a module is loaded using insmod, it fails due to unresolved externals
> like ( alloc_skb(), netif_rx()..etc).
> What is the solution for this.
>

`man depmod` first. The module cannot be installed unless depmod makes
a dependency list that is free from unresolved symbols. If you use symbols
in your module that are not already exported by the kernel. You will
have to modify /linux/kernel/ksyms.c and export them. Carefull, there
are reasons why there are only a few kernel symbols exported.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.6 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/