* conntrack-tools compile error on both 0.9.10 and 0.9.11
@ 2009-03-03 15:55 dstorvik
2009-03-03 16:03 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: dstorvik @ 2009-03-03 15:55 UTC (permalink / raw)
To: netfilter@vger.kernel.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: conntrack-tools compile error on both 0.9.10 and 0.9.11
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
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2009-03-03 16:03 UTC (permalink / raw)
To: dstorvik; +Cc: netfilter@vger.kernel.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-03 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox