Re: conntrack-tools compile error on both 0.9.10 and 0.9.11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx\" -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@xxxxxxxxxxxxx\" -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
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux