Re: contrack-tools compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, that helped.

Regards

On 7/9/07, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
nano bug wrote:
> Hello,
>
> I'm trying to compile contrack-tools 0.9.4 and I get the following error :
>
>
> Making all in extensions
> make[1]: Entering directory `/root/workspace/conntrack-tools-0.9.4/extensions'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/root/workspace/conntrack-tools-0.9.4/extensions'
> Making all in src
> make[1]: Entering directory `/root/workspace/conntrack-tools-0.9.4/src'
> if gcc -DPACKAGE_NAME=\"conntrack
> -tools\" -DPACKAGE_TARNAME=\"conntrack-tools\" -DPACKAGE_VERSION=\"
> 0.9.4\" -DPACKAGE_STRING=\"conntrack-tools\ 0.9.4\"
> -DPACKAGE_BUGREPORT=\"pablo@xxxxxxxxxxxxx\"
> -DPACKAGE=\"conntrack-tools\" -DVERSION=\"0.9.4\" -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    -g -O2 -MT proxy.o
> -MD -MP -MF ".deps/proxy.Tpo" \
>           -c -o proxy.o `test -f 'proxy.c' || echo './'`proxy.c; \
>         then mv -f ".deps/proxy.Tpo" ".deps/proxy.Po"; \
>         else rm -f ".deps/proxy.Tpo"; exit 1; \
>         fi
> In file included from /usr/include/sys/uio.h:24,
>                  from /usr/include/sys/socket.h:27,
>                  from /usr/local/include/libnfnetlink/libnfnetlink.h:19,
>                  from  proxy.c:19:
> /usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
> /usr/include/linux/types.h:22: error: previous declaration of 'dev_t' was here
> /usr/include/sys/types.h:67: error: conflicting types for 'gid_t'
> /usr/include/linux/types.h:54: error: previous declaration of 'gid_t' was here
> /usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
> /usr/include/linux/types.h:24: error: previous declaration of 'mode_t' was here
> /usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
> /usr/include/linux/types.h:25: error: previous declaration of 'nlink_t' was here
> /usr/include/sys/types.h:82: error: conflicting types for 'uid_t'
> /usr/include/linux/types.h:53: error: previous declaration of 'uid_t' was here
> In file included from /usr/include/sys/types.h:133,
>                  from /usr/include/sys/uio.h:24,
>                  from /usr/include/sys/socket.h:27,
>                  from /usr/local/include/libnfnetlink/libnfnetlink.h:19,
>                  from proxy.c:19:
> /usr/include/time.h:105: error: conflicting types for 'timer_t'
> /usr/include/linux/types.h:31: error: previous declaration of
> 'timer_t' was here
> In file included from /usr/include/sys/types.h:220,
>                  from /usr/include/sys/uio.h:24,
>                  from /usr/include/sys/socket.h:27,
>                  from /usr/local/include/libnfnetlink/libnfnetlink.h:19,
>                  from proxy.c:19:
> /usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
> /usr/include/linux/types.h:21: error: previous declaration of 'fd_set' was here
> In file included from /usr/include/sys/uio.h:24,
>                  from /usr/include/sys/socket.h:27,
>                  from /usr/local/include/libnfnetlink/libnfnetlink.h:19,
>                  from proxy.c:19:
> /usr/include/sys/types.h:235: error: conflicting types for 'blkcnt_t'
> /usr/include/linux/types.h:152: error: previous declaration of
> 'blkcnt_t' was here
> make[1]: *** [proxy.o] Error 1
> make[1]: Leaving directory `/root/workspace/conntrack-tools-0.9.4/src'
> make: *** [all-recursive] Error 1
>
>
> I'm using libnetfilter_conntrack-0.0.80 and libnfnetlink-0.0.25 and
> gcc version 4.1.2 on Slackware 12.0. Can someone tell how can I fix
> this ?

Please, try with a libnfnetlink SVN snapshot, I plan to release a new
version of libnfnetlink soon.

--
"Países en desarrollo es el nombre con que los expertos designan a los
países arrollados por el desarrollo ajeno" -- Patas Arriba. La Escuela
del Mundo al Revés -- E. Galeano




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux