[no subject]

From: sarat
Date: Fri Jan 27 2006 - 04:30:22 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/