From: Pablo Neira Ayuso <pablo@netfilter.org>
To: dstorvik <dstorvik@consultech.net>
Cc: "netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: conntrack-tools compile error on both 0.9.10 and 0.9.11
Date: Tue, 03 Mar 2009 17:03:05 +0100 [thread overview]
Message-ID: <49AD54B9.1080503@netfilter.org> (raw)
In-Reply-To: <F5E47532014E8E45A339717AF42215342F2B942BC2@hild.consultech.local>
dstorvik wrote:
> I'm running Fedora 9 and have installed Libnfnetlink 0.0.40 and libnetfilter-conntrack 0.0.99
>
> When I try and make either 0.9.10 or 0.9.11 I get compile errors as follows, can anybody help steer me in the right direction?
> Thanks
> Derek
>
> Error for 0.9.10
>
> gcc -DPACKAGE_NAME=\"conntrack-tools\" -DPACKAGE_TARNAME=\"conntrack-tools\" -DPACKAGE_VERSION=\"0.9.10\" -DPACKAGE_STRING=\"conntrack-tools\ 0.9.10\" -DPACKAGE_BUGREPORT=\"pablo@netfilter.org\" -DPACKAGE=\"conntrack-tools\" -DVERSION=\"0.9.10\" -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_ARPA_INET_H=1 -DHAVE_INET_PTON=1 -DHAVE_INET_PTON_IPV6=1 -I. -I../include -std=gnu99 -W -Wall -Wmissing-prototypes -Wwrite-strings -Wcast-qual -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -g -O2 -I/usr/local/include -MT mcast.o -MD -MP -MF .deps/mcast.Tpo -c -
o mcast.o mcast.c
> mcast.c: In function âmcast_server_create_multiâ:
> mcast.c:165: error: âINT_MAXâ undeclared (first use in this function)
> mcast.c:165: error: (Each undeclared identifier is reported only once
> mcast.c:165: error: for each function it appears in.)
> mcast.c: In function âmcast_client_create_multiâ:
> mcast.c:335: error: âINT_MAXâ undeclared (first use in this function)
> make[1]: *** [mcast.o] Error 1
> make[1]: Leaving directory `/root/Download/conntrack-tools-0.9.10/src'
> make: *** [all-recursive] Error 1
>
>
> Error for 0.9.11
>
> make[1]: Entering directory `/root/Download/conntrack-tools-0.9.11/src'
> gcc -DPACKAGE_NAME=\"conntrack-tools\" -DPACKAGE_TARNAME=\"conntrack-tools\" -DPACKAGE_VERSION=\"0.9.11\" -DPACKAGE_STRING=\"conntrack-tools\ 0.9.11\" -DPACKAGE_BUGREPORT=\"pablo@netfilter.org\" -DPACKAGE=\"conntrack-tools\" -DVERSION=\"0.9.11\" -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_ARPA_INET_H=1 -DHAVE_INET_PTON=1 -DHAVE_INET_PTON_IPV6=1 -I. -I../include -std=gnu99 -W -Wall -Wmissing-prototypes -Wwrite-strings -Wcast-qual -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -g -O2 -I/usr/local/include -MT mcast.o -MD -MP -MF .deps/mcast.Tpo -c -
o mcast.o mcast.c
> mcast.c: In function âmcast_server_create_multiâ:
> mcast.c:158: error: âINT_MAXâ undeclared (first use in this function)
> mcast.c:158: error: (Each undeclared identifier is reported only once
> mcast.c:158: error: for each function it appears in.)
> mcast.c: In function âmcast_client_create_multiâ:
> mcast.c:321: error: âINT_MAXâ undeclared (first use in this function)
> make[1]: *** [mcast.o] Error 1
> make[1]: Leaving directory `/root/Download/conntrack-tools-0.9.11/src'
> make: *** [all-recursive] Error 1
This is fixed in netfilter's git tree, please apply this patch:
http://git.netfilter.org/cgi-bin/gitweb.cgi?p=conntrack-tools.git;a=commitdiff_plain;h=9bf002ff7935e7dff625683787fc3a06ac2ef2cb;hp=87c8c090e1b64eac27edb968845cb1e8ee65b06b
--
"Los honestos son inadaptados sociales" -- Les Luthiers
prev parent reply other threads:[~2009-03-03 16:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-03 15:55 conntrack-tools compile error on both 0.9.10 and 0.9.11 dstorvik
2009-03-03 16:03 ` Pablo Neira Ayuso [this message]
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=49AD54B9.1080503@netfilter.org \
--to=pablo@netfilter.org \
--cc=dstorvik@consultech.net \
--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