Страница 1 из 1

Сборка iptables

Добавлено: 2013-08-14 8:31:24
gumeniuc
Доброго времени суток,

Пропатчил iptables под CentOS, после этого пытаюсь его собрать. В процессе сборки появляются ошибки

Код: Выделить всё

[root@bridge iptables-1.4.0]# make KERNEL_DIR=/root/linux-2.6.20
Extensions found: IPv4:layer7
cc -O2 -Wall -Wunused -I"/lib/modules/2.6.32-358.el6.i686/build"/include -I/root/linux-2.6.20/include -Iinclude/ -DIPTABLES_VERSION=\"1.4.0\"  -fPIC -o extensions/libxt_connmark_sh.o -c extensions/libxt_connmark.c
extensions/libxt_connmark.c: In function 'connmark_parse':
extensions/libxt_connmark.c:59: error: dereferencing pointer to incomplete type
extensions/libxt_connmark.c:60: error: dereferencing pointer to incomplete type
extensions/libxt_connmark.c:63: error: dereferencing pointer to incomplete type
extensions/libxt_connmark.c:68: error: dereferencing pointer to incomplete type
extensions/libxt_connmark.c: In function 'connmark_print':
extensions/libxt_connmark.c:102: error: dereferencing pointer to incomplete type
extensions/libxt_connmark.c:104: error: dereferencing pointer to incomplete type
extensions/libxt_connmark.c:104: error: dereferencing pointer to incomplete type
extensions/libxt_connmark.c: In function 'connmark_save':
extensions/libxt_connmark.c:112: error: dereferencing pointer to incomplete type
extensions/libxt_connmark.c:116: error: dereferencing pointer to incomplete type
extensions/libxt_connmark.c:116: error: dereferencing pointer to incomplete type
extensions/libxt_connmark.c: At top level:
extensions/libxt_connmark.c:123: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_info'
extensions/libxt_connmark.c:124: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_info'
extensions/libxt_connmark.c:137: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_info'
extensions/libxt_connmark.c:138: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_info'
make: *** [extensions/libxt_connmark_sh.o] Error 1
[root@bridge iptables-1.4.0]#

Подскажите, пожалуйста, в чём может быть проблема.
спасибо

Re: Сборка iptables

Добавлено: 2014-01-05 11:19:46
Nardamon
Проблема в том что ты его пропатчил.