- 论坛徽章:
- 36
|
贴一个网上搜出的类似问题以及回答:
On Tue, 2006-03-28 at 20:30 -0800, munees waran wrote:
>
> Hi All,
>
> I have developed hello world program in Red hat linux (kernel version
> 2.4). Then I tried to port it in suse linux (kernel version 2.6).
>
> I got the following error:
> insmod: error inserting 'hello.o' :-l Invalid module format
>
> Pls help me to resolve this issue.
>
you mis-built the module for 2.6, you need a very different makefile for
a 2.6 kernel. See Documentation/kbuild for details and examples
因此,我还是有点怀疑是内核版本不匹配的问题。 |
|