All of lore.kernel.org
 help / color / mirror / Atom feed
From: t@tomdeb.org
To: netfilter@lists.netfilter.org
Subject: conntrack-tools fails to compile
Date: Sat, 2 Jun 2007 10:32:48 +0100	[thread overview]
Message-ID: <20070602103248.62320224@snoopy> (raw)

Hi,

I am trying to compile conntrack-tools on centos5. After
successfully built and installed rpms of libnfnetlink and
libnetfilter_conntrack, I get the following error when making
conntrack_tools:

In file included from /usr/include/sys/uio.h:24,
                 from /usr/include/sys/socket.h:27,
                 from /usr/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:13: 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:27: 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:15: 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:16: 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:26: 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/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:22: 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/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:12: 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/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:114: error: previous declaration of
'blkcnt_t' was
he                                                           re
make[1]: *** [proxy.o] Error 1 make[1]: Leaving directory
`/home/t/conntrack-tools/src' make: *** [all-recursive] Error 1


I get the same results on 0.9.3 and the svn trunk 


any help would be greatly appreciated.

Tom

any 


             reply	other threads:[~2007-06-02  9:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-02  9:32 t [this message]
2007-06-04 14:12 ` conntrack-tools fails to compile Pablo Neira Ayuso

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=20070602103248.62320224@snoopy \
    --to=t@tomdeb.org \
    --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.