Bug 17312 - Блокирует сборку ipcad
: Блокирует сборку ipcad
Status: CLOSED NOTABUG
: Sisyphus
(All bugs in Sisyphus/glibc-kernheaders)
: unstable
: all Linux
: P2 blocker
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2008-09-24 08:42 by
Modified: 2012-03-16 13:59 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-09-24 08:42:18
При сборке
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
------- Comment #1 From 2008-09-24 14:51:51 -------
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])
------- Comment #2 From 2008-09-26 11:56:27 -------
Благодарю :о)
ipcad пропатчил, отправил в Сизиф.