При сборке x86_64-alt-linux-gcc -DIPCAD_VERSION=\"3.7.3\" -DCONFIG_FILE=\"/etc/ipcad.conf\" -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE -DPSRC_pcap -DIFST_linux -pipe -Wall -O2 -pipe -Wall -O2 -I/usr/local/include -DHAVE_CONFIG_H -W -Wall -o psrc.o -c psrc.c loop-ipq.c: In function 'process_ipq': loop-ipq.c:106: error: 'NF_ACCEPT' undeclared (first use in this function) loop-ipq.c:106: error: (Each undeclared identifier is reported only once loop-ipq.c:106: error: for each function it appears in.) Вот часть лога после %configure In file included from conftest.c:44: /usr/include/linux/netfilter.h:45: error: field 'in' has incomplete type /usr/include/linux/netfilter.h:46: error: field 'in6' has incomplete type configure:4775: $? = 1 configure: failed program was: | #ifdef HAVE_LINUX_SOCKET_H | #include <linux/socket.h> | #endif | | #include <linux/netfilter.h> configure:4798: result: no
devel@ конечно не читаем? > ipcad-3.7.3-alt2 > loop-ipq.c: In function 'process_ipq': > loop-ipq.c:106: error: 'NF_ACCEPT' undeclared (first use in this function) > loop-ipq.c:106: error: (Each undeclared identifier is reported only once > loop-ipq.c:106: error: for each function it appears in.) > make: Leaving directory `/usr/src/RPM/BUILD/ipcad-3.7.3' --- configure.in.orig 2008-09-16 13:11:13 +0400 +++ configure.in 2008-09-16 13:14:57 +0400 @@ -162,7 +162,10 @@ #include <linux/socket.h> #endif]) AC_CHECK_HEADERS(linux/netfilter.h,,, -[#ifdef HAVE_LINUX_SOCKET_H +[#ifdef HAVE_NETINET_IN_H +#include <netinet/in.h> +#endif +#ifdef HAVE_LINUX_SOCKET_H #include <linux/socket.h> #endif])
Благодарю :о) ipcad пропатчил, отправил в Сизиф.