Bug 17312 - Блокирует сборку ipcad
Summary: Блокирует сборку ipcad
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: glibc-kernheaders (show other bugs)
Version: unstable
Hardware: all Linux
: P2 blocker
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 08:42 MSD by Denis Klimov
Modified: 2012-03-16 13:59 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Klimov 2008-09-24 08:42:18 MSD
При сборке
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 Sir Raorn 2008-09-24 14:51:51 MSD
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 Denis Klimov 2008-09-26 11:56:27 MSD
Благодарю :о)
ipcad пропатчил, отправил в Сизиф.