Skip to contentSkip to conversation

DISCUSSION sarat 1 participant 1 message Jan 27, 2006

lore
Share & tools
lore

sarat

author
#0 lore raw

hai.. we compiled and installed the 2.6.10 kernel and we selected the loadable kernel modules options and nothing else.. so far it was fine installed and running.. but today i got a firewall module program.. and when we tried to compile it gave warnings like..

********************************************************************************************
[root@localhost newfire]# make -C /var/linux-2.6.10/ SUBDIRS=$PWD modules
make: Entering directory `/var/linux-2.6.10'
CC [M] /var/sarat/newfire/firewall.o
/var/sarat/newfire/firewall.c:53: warning: initialization from incompatible poin ter type
/var/sarat/newfire/firewall.c:53: warning: initialization from incompatible poin ter type
/var/sarat/newfire/firewall.c:53: warning: initialization from incompatible poin ter type
Building modules, stage 2.
MODPOST
*** Warning: "unregister_firewall" [/var/sarat/newfire/firewall.ko] undefined! *** Warning: "register_firewall" [/var/sarat/newfire/firewall.ko] undefined!
CC /var/sarat/newfire/firewall.mod.o
LD [M] /var/sarat/newfire/firewall.ko
make: Leaving directory `/var/linux-2.6.10'
********************************************************************************************

and when we try to insert into kernel it says...

********************************************************************************************
[root@localhost newfire]# insmod firewall.ko
insmod: error inserting 'firewall.ko': -1 Invalid module format
********************************************************************************************

i tried google also but invain.. so plzz help me....

urs sarat