Gentoo Archives: gentoo-embedded

From: Natanael Copa <natanael.copa@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] conntrackd on uclibc?
Date: Thu, 08 Feb 2007 16:37:57
Message-Id: 1170952571.14212.51.camel@localhost
1 Hi,
2
3 Has anybody got conntrackd work on hardened/uclibc?
4
5 https://bugs.gentoo.org/show_bug.cgi?id=165669
6
7 Looks like an uclibc issue to me. Compiles fine against glibc om my 64
8 bit desktop.
9
10 Any pointers?
11
12 if i386-gentoo-linux-uclibc-gcc -DPACKAGE_NAME=\"conntrackd\" -DPACKAGE_TARNAME=\"conntrackd\" -DPACKAGE_VERSION=\"0.9.2\" -DPACKAGE_STRING=\"conntrackd\ 0.9.2\" -DPACKAGE_BUGREPORT=\"pablo@×××××××××.org\" -DPACKAGE=\"conntrackd\" -DVERSION=\"0.9.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_LINUX_CAPABILITY_H=1 -DHAVE_LIBNFNETLINK=1 -DHAVE_LIBNETFILTER_CONNTRACK=1 -DHAVE_LIBPTHREAD=1 -DHAVE_ARPA_INET_H=1 -DHAVE_INET_PTON=1 -DHAVE_INET_PTON_IPV6=1 -I. -I. -I../include -march=i386 -Os -pipe -fomit-frame-pointer -MT cache_persistence.o -MD -MP -MF ".deps/cache_persistence.Tpo" \
13 -c -o cache_persistence.o `test -f 'cache_persistence.c' || echo './'`cache_persistence.c; \
14 then mv -f ".deps/cache_persistence.Tpo" ".deps/cache_persistence.Po"; \
15 else rm -f ".deps/cache_persistence.Tpo"; exit 1; \
16 fi
17 In file included from /usr/include/sys/uio.h:24,
18 from /usr/include/sys/socket.h:27,
19 from /usr/include/libnfnetlink/libnfnetlink.h:19,
20 from proxy.c:19:
21 /usr/include/sys/types.h:61: error: conflicting types for 'dev_t'
22 /usr/include/linux/types.h:27: error: previous declaration of 'dev_t' was here
23 /usr/include/sys/types.h:71: error: conflicting types for 'mode_t'
24 /usr/include/linux/types.h:33: error: previous declaration of 'mode_t' was here
25 /usr/include/sys/types.h:76: error: conflicting types for 'nlink_t'
26 /usr/include/linux/types.h:36: error: previous declaration of 'nlink_t' was here
27 In file included from /usr/include/sys/types.h:215,
28 from /usr/include/sys/uio.h:24,
29 from /usr/include/sys/socket.h:27,
30 from /usr/include/libnfnetlink/libnfnetlink.h:19,
31 from proxy.c:19:
32 /usr/include/sys/select.h:68: error: conflicting types for 'fd_set'
33 /usr/include/linux/types.h:24: error: previous declaration of 'fd_set' was here
34 In file included from /usr/include/sys/uio.h:24,
35 from /usr/include/sys/socket.h:27,
36 from /usr/include/libnfnetlink/libnfnetlink.h:19,
37 from proxy.c:19:
38 /usr/include/sys/types.h:230: error: conflicting types for 'blkcnt_t'
39 /usr/include/linux/types.h:158: error: previous declaration of 'blkcnt_t' was here
40 if i386-gentoo-linux-uclibc-gcc -DPACKAGE_NAME=\"conntrackd\" -DPACKAGE_TARNAME=\"conntrackd\" -DPACKAGE_VERSION=\"0.9.2\" -DPACKAGE_STRING=\"conntrackd\ 0.9.2\" -DPACKAGE_BUGREPORT=\"pablo@×××××××××.org\" -DPACKAGE=\"conntrackd\" -DVERSION=\"0.9.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_LINUX_CAPABILITY_H=1 -DHAVE_LIBNFNETLINK=1 -DHAVE_LIBNETFILTER_CONNTRACK=1 -DHAVE_LIBPTHREAD=1 -DHAVE_ARPA_INET_H=1 -DHAVE_INET_PTON=1 -DHAVE_INET_PTON_IPV6=1 -I. -I. -I../include -march=i386 -Os -pipe -fomit-frame-pointer -MT cache_lifetime.o -MD -MP -MF ".deps/cache_lifetime.Tpo" \
41 -c -o cache_lifetime.o `test -f 'cache_lifetime.c' || echo './'`cache_lifetime.c; \
42 then mv -f ".deps/cache_lifetime.Tpo" ".deps/cache_lifetime.Po"; \
43 else rm -f ".deps/cache_lifetime.Tpo"; exit 1; \
44 fi
45 make[1]: *** [proxy.o] Error 1
46 make[1]: *** Waiting for unfinished jobs....
47 make[1]: Leaving directory `/var/tmp/portage/conntrackd-0.9.2/work/conntrackd-0.9.2/src'
48 make: *** [all-recursive] Error 1
49
50
51
52 --
53 gentoo-embedded@g.o mailing list