2.3.40pre1: Compilation of net/sched/sch_ingress as module fails

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Wed Jan 12 2000 - 07:03:26 EST


[snippage]
gcc -D__KERNEL__ -I/usr/src/linux-2.3.36/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686 -DMODULE -c -o sch_ingress.o sch_ingress.c
sch_ingress.c: In function `ingress_graft':
sch_ingress.c:59: warning: unused variable `p'
sch_ingress.c: In function `ingress_get':
sch_ingress.c:76: warning: unused variable `p'
sch_ingress.c: In function `ingress_change':
sch_ingress.c:98: warning: unused variable `p'
sch_ingress.c: In function `ingress_walk':
sch_ingress.c:110: warning: unused variable `p'
sch_ingress.c: In function `ingress_drop':
sch_ingress.c:183: warning: unused variable `p'
sch_ingress.c: At top level:
sch_ingress.c:223: variable `ing_ops' has initializer but incomplete type
sch_ingress.c:225: extra brace group at end of initializer for `ing_ops'
sch_ingress.c:225: warning: excess elements in struct initializer after `ing_ops'
sch_ingress.c:226: warning: excess elements in struct initializer after `ing_ops'
sch_ingress.c:227: warning: excess elements in struct initializer after `ing_ops'
sch_ingress.c:228: warning: excess elements in struct initializer after `ing_ops'
sch_ingress.c:229: warning: excess elements in struct initializer after `ing_ops'
sch_ingress.c:231: warning: excess elements in struct initializer after `ing_ops'
sch_ingress.c: In function `init_module':
sch_ingress.c:377: warning: implicit declaration of function `nf_register_hook'
sch_ingress.c: In function `cleanup_module':
sch_ingress.c:389: warning: implicit declaration of function `nf_unregister_hook'
make[2]: *** [sch_ingress.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.3.36/net/sched'
make[1]: *** [_modsubdir_sched] Error 2
make[1]: Leaving directory `/usr/src/linux-2.3.36/net'
make: *** [_mod_net] Error 2

--
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- 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/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:20 EST