Wollte gerade den Kernel 2.4.21 erstellen.
Hat bis zum make bzImage auch alles geklappt.
Doch beim make modules kommt dieses hier:
hab ich was falsch gemacht oder wie muss ich das machen o.O?
Code: Alles auswählen
ipt_ecn.c:15: linux/netfilter_ipv4/ipt_ecn.h: No such file or directory
ipt_ecn.c:23: warning: `struct ipt_ecn_info' declared inside parameter list
ipt_ecn.c:23: warning: its scope is only this definition or declaration, which is probably not what you want.
ipt_ecn.c: In function `match_ip':
ipt_ecn.c:25: `IPT_ECN_IP_MASK' undeclared (first use in this function)
ipt_ecn.c:25: (Each undeclared identifier is reported only once
ipt_ecn.c:25: for each function it appears in.)
ipt_ecn.c:25: dereferencing pointer to incomplete type
ipt_ecn.c:26: warning: control reaches end of non-void function
ipt_ecn.c: At top level:
ipt_ecn.c:30: warning: `struct ipt_ecn_info' declared inside parameter list
ipt_ecn.c: In function `match_tcp':
ipt_ecn.c:34: dereferencing pointer to incomplete type
ipt_ecn.c:34: `IPT_ECN_OP_MATCH_ECE' undeclared (first use in this function)
ipt_ecn.c:35: dereferencing pointer to incomplete type
ipt_ecn.c:44: dereferencing pointer to incomplete type
ipt_ecn.c:44: `IPT_ECN_OP_MATCH_CWR' undeclared (first use in this function)
ipt_ecn.c:45: dereferencing pointer to incomplete type
ipt_ecn.c: In function `match':
ipt_ecn.c:65: dereferencing pointer to incomplete type
ipt_ecn.c:65: `IPT_ECN_OP_MATCH_IP' undeclared (first use in this function)
ipt_ecn.c:66: warning: passing arg 3 of `match_ip' from incompatible pointer type
ipt_ecn.c:69: dereferencing pointer to incomplete type
ipt_ecn.c:69: `IPT_ECN_OP_MATCH_ECE' undeclared (first use in this function)
ipt_ecn.c:69: `IPT_ECN_OP_MATCH_CWR' undeclared (first use in this function)
ipt_ecn.c:72: warning: passing arg 3 of `match_tcp' from incompatible pointer type
ipt_ecn.c: In function `checkentry':
ipt_ecn.c:85: sizeof applied to an incomplete type
ipt_ecn.c:88: dereferencing pointer to incomplete type
ipt_ecn.c:88: `IPT_ECN_OP_MATCH_MASK' undeclared (first use in this function)
ipt_ecn.c:91: dereferencing pointer to incomplete type
ipt_ecn.c:94: dereferencing pointer to incomplete type
ipt_ecn.c:94: `IPT_ECN_OP_MATCH_ECE' undeclared (first use in this function)
ipt_ecn.c:94: `IPT_ECN_OP_MATCH_CWR' undeclared (first use in this function)
make[2]: *** [ipt_ecn.o] Error 1
make[2]: Leaving directory `/root/source/linux-2.4.21/net/ipv4/netfilter'
make[1]: *** [_modsubdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/root/source/linux-2.4.21/net'
make: *** [_mod_net] Error 2
aber wieso?