erro ao compilar versão estavel do kernel 3.3.5

1. erro ao compilar versão estavel do kernel 3.3.5

janael pinheiro
janaelpinheiro

(usa Debian)

Enviado em 09/05/2012 - 10:39h

estou tentando compilar o kernel 3.3.5 com base em dicas aqui do VOL, só que tá sempre aparecendo esse erro:

In file included from include/linux/netfilter_ipv4/ipt_ECN.h:4,
from net/ipv4/netfilter/ipt_ECN.c:20:
include/linux/netfilter/xt_ecn.h:13:37: error: linux/netfilter/xt_dscp.h: No such file or directory
In file included from net/ipv4/netfilter/ipt_ECN.c:20:
include/linux/netfilter_ipv4/ipt_ECN.h:8: error: ‘XT_DSCP_MASK’ undeclared here (not in a function)
net/ipv4/netfilter/ipt_ECN.c:29: warning: ‘struct ipt_ECN_info’ declared inside parameter list
net/ipv4/netfilter/ipt_ECN.c:29: warning: its scope is only this definition or declaration, which is probably not what you want
net/ipv4/netfilter/ipt_ECN.c: In function ‘set_ect_ip’:
net/ipv4/netfilter/ipt_ECN.c:33: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:40: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c: At top level:
net/ipv4/netfilter/ipt_ECN.c:48: warning: ‘struct ipt_ECN_info’ declared inside parameter list
net/ipv4/netfilter/ipt_ECN.c: In function ‘set_ect_tcp’:
net/ipv4/netfilter/ipt_ECN.c:58: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:58: error: ‘IPT_ECN_OP_SET_ECE’ undeclared (first use in this function)
net/ipv4/netfilter/ipt_ECN.c:58: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ipt_ECN.c:58: error: for each function it appears in.)
net/ipv4/netfilter/ipt_ECN.c:59: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:60: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:60: error: ‘IPT_ECN_OP_SET_CWR’ undeclared (first use in this function)
net/ipv4/netfilter/ipt_ECN.c:61: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:69: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:70: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:71: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:72: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c: In function ‘ecn_tg’:
net/ipv4/netfilter/ipt_ECN.c:84: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:84: error: ‘IPT_ECN_OP_SET_IP’ undeclared (first use in this function)
net/ipv4/netfilter/ipt_ECN.c:85: warning: passing argument 2 of ‘set_ect_ip’ from incompatible pointer type
net/ipv4/netfilter/ipt_ECN.c:29: note: expected ‘const struct ipt_ECN_info *’ but argument is of type ‘const struct ipt_ECN_info *’
net/ipv4/netfilter/ipt_ECN.c:88: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:88: error: ‘IPT_ECN_OP_SET_ECE’ undeclared (first use in this function)
net/ipv4/netfilter/ipt_ECN.c:88: error: ‘IPT_ECN_OP_SET_CWR’ undeclared (first use in this function)
net/ipv4/netfilter/ipt_ECN.c:90: warning: passing argument 2 of ‘set_ect_tcp’ from incompatible pointer type
net/ipv4/netfilter/ipt_ECN.c:48: note: expected ‘const struct ipt_ECN_info *’ but argument is of type ‘const struct ipt_ECN_info *’
net/ipv4/netfilter/ipt_ECN.c: In function ‘ecn_tg_check’:
net/ipv4/netfilter/ipt_ECN.c:101: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:101: error: ‘IPT_ECN_OP_MASK’ undeclared (first use in this function)
net/ipv4/netfilter/ipt_ECN.c:102: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:105: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:106: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:109: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ECN.c:109: error: ‘IPT_ECN_OP_SET_ECE’ undeclared (first use in this function)
net/ipv4/netfilter/ipt_ECN.c:109: error: ‘IPT_ECN_OP_SET_CWR’ undeclared (first use in this function)
net/ipv4/netfilter/ipt_ECN.c: At top level:
net/ipv4/netfilter/ipt_ECN.c:121: error: invalid application of ‘sizeof’ to incomplete type ‘struct ipt_ECN_info’
make[3]: *** [net/ipv4/netfilter/ipt_ECN.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2



  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts