All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: nano bug <linnewbye@gmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: contrack-tools compile error
Date: Mon, 09 Jul 2007 16:26:07 +0200	[thread overview]
Message-ID: <4692457F.7080306@netfilter.org> (raw)
In-Reply-To: <d39c36500707090721x4db02d68n9d51f3d0de1fd772@mail.gmail.com>

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@netfilter.org\"
> -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


  reply	other threads:[~2007-07-09 14:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-09 14:21 contrack-tools compile error nano bug
2007-07-09 14:26 ` Pablo Neira Ayuso [this message]
2007-07-09 14:55   ` nano bug
2007-07-09 14:40 ` Medve Emilian-EMMEDVE1

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4692457F.7080306@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=linnewbye@gmail.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.