Re: Help with compiling netfilter/iptables modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I got compile .c module to .ko but when I try insmod :

insmod: cannot insert `ipt_LOG.ko': Invalid module format (-1): Exec
format error

dmesg :

version magic '2.6.9 gcc-3.4' should be '2.6.12 gcc-3.4'

My CDK version has kernel 2.6.9 and the modules should be compiled
with 2.6.12 , no ??
Does this mean I have to compile kernel 2.6.12 ?? or there is another
possibility ??

Thanks again,
Regards,


2010/9/21 Jan Engelhardt <jengelh@xxxxxxxxxx>:
> On Tuesday 2010-09-21 13:09, Josu Gomez wrote:
>
>>It's possible to create from .c (source) a .ko (module) without
>>compile a kernel ??
>
> It is.
>
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux