From: morlix <morlix@morlix.de>
To: netfilter@vger.kernel.org
Subject: Error while trying to compile libnetfilter_cttimeout 1.0.0
Date: Fri, 05 Oct 2012 15:08:27 +0200 [thread overview]
Message-ID: <506EDBCB.6030703@morlix.de> (raw)
Hello,
i want to compile libnetfilter_cttimeout 1.0.0 in my IPFire (Firewall
distribution) development environment.
But a i got the following error after entering make:
make[1]: Entering directory `/usr/src/libnetfilter_cttimeout-1.0.0'
make all-recursive
make[2]: Entering directory `/usr/src/libnetfilter_cttimeout-1.0.0'
Making all in src
make[3]: Entering directory `/usr/src/libnetfilter_cttimeout-1.0.0/src'
CC libnetfilter_cttimeout.lo
libnetfilter_cttimeout.c:107: error: 'IPPROTO_DCCP' undeclared here (not
in a function)
libnetfilter_cttimeout.c:107: error: array index in initializer not of
integer type
libnetfilter_cttimeout.c:107: error: (near initialization for
'timeout_protocol')
libnetfilter_cttimeout.c:112: error: 'IPPROTO_UDPLITE' undeclared here
(not in a function)
libnetfilter_cttimeout.c:112: error: array index in initializer not of
integer type
libnetfilter_cttimeout.c:112: error: (near initialization for
'timeout_protocol')
libnetfilter_cttimeout.c: In function 'timeout_nlmsg_parse_attr_cb':
libnetfilter_cttimeout.c:541: warning: passing argument 1 of
'mnl_attr_get_type' from incompatible pointer type
libnetfilter_cttimeout.c: In function 'parse_timeout_attr_policy_cb':
libnetfilter_cttimeout.c:586: warning: passing argument 1 of
'mnl_attr_get_type' from incompatible pointer type
libnetfilter_cttimeout.c: In function 'timeout_parse_attr_data':
libnetfilter_cttimeout.c:619: warning: passing argument 1 of
'mnl_attr_get_u32' from incompatible pointer type
libnetfilter_cttimeout.c: In function 'nfct_timeout_nlmsg_parse_payload':
libnetfilter_cttimeout.c:642: warning: passing argument 1 of
'mnl_attr_get_str' from incompatible pointer type
libnetfilter_cttimeout.c:646: warning: passing argument 1 of
'mnl_attr_get_u16' from incompatible pointer type
libnetfilter_cttimeout.c:650: warning: passing argument 1 of
'mnl_attr_get_u8' from incompatible pointer type
make[3]: *** [libnetfilter_cttimeout.lo] Error 1
make[3]: Leaving directory `/usr/src/libnetfilter_cttimeout-1.0.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/libnetfilter_cttimeout-1.0.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/libnetfilter_cttimeout-1.0.0'
make: *** [/usr/src/log/libnetfilter_cttimeout-1.0.0] Error 2
Does anybody have a hint for me on how to fix this?
Kind regards,
morlix
next reply other threads:[~2012-10-05 13:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-05 13:08 morlix [this message]
2012-10-05 14:14 ` Error while trying to compile libnetfilter_cttimeout 1.0.0 Jan Engelhardt
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=506EDBCB.6030703@morlix.de \
--to=morlix@morlix.de \
--cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox