* Errors trying to build conntrack
@ 2006-08-27 0:40 Greg Scott
2006-08-28 6:42 ` Angel Mieres
0 siblings, 1 reply; 2+ messages in thread
From: Greg Scott @ 2006-08-27 0:40 UTC (permalink / raw)
To: netfilter-devel
Hello -
This is not my day! I am trying to build the conntrack utility to help me debug some other problems. First I tried the latest snapshot, conntrack-20060826. But when I unpacked it (tar -xvjf conntrack-20060826.tar.bz2) there was no configure script.
So I tried beta2, conntrack-1.00beta2.tar.bz2. This unpacked cleanly and the configure script ran to completion without errors. But make blew up. I will past in the complete output below.
Any idea how to build conntrack or what I am doing wrong?
Thanks
- Greg Scott
[root@lakeville-fw conntrack-1.00beta2]# make
Making all in src
make[1]: Entering directory `/home/gregs/conntrack/conntrack-1.00beta2/src'
if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"
conntrack\" -DVERSION=\"1.00beta2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -D
HAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBDL=1 -DHAVE_AR
PA_INET_H=1 -DHAVE_INET_PTON=1 -DHAVE_INET_PTON_IPV6=1 -I. -I. -I../include -g -O2 -DCONNTRACK_LIB_DIR=\"/usr/local/lib/conntrac
k/\" -MT conntrack.o -MD -MP -MF ".deps/conntrack.Tpo" \
-c -o conntrack.o `test -f 'conntrack.c' || echo './'`conntrack.c; \
then mv -f ".deps/conntrack.Tpo" ".deps/conntrack.Po"; \
else rm -f ".deps/conntrack.Tpo"; exit 1; \
fi
In file included from conntrack.c:53:
../include/conntrack.h:6:59: error: libnetfilter_conntrack/libnetfilter_conntrack.h: No such file or directory
In file included from conntrack.c:53:
../include/conntrack.h:132: error: field âprotoinfo_attrâ has incomplete type
../include/conntrack.h:140: warning: âunion nfct_protoinfoâ declared inside parameter list
../include/conntrack.h:140: warning: its scope is only this definition or declaration, which is probably not what you want
../include/conntrack.h:140: warning: âstruct nfct_tupleâ declared inside parameter list
../include/conntrack.h:145: warning: âstruct nfct_tupleâ declared inside parameter list
conntrack.c:55:64: error: libnetfilter_conntrack/libnetfilter_conntrack_ipv4.h: No such file or directory
conntrack.c:56:64: error: libnetfilter_conntrack/libnetfilter_conntrack_ipv6.h: No such file or directory
conntrack.c:343: error: âIPS_ASSUREDâ undeclared here (not in a function)
conntrack.c:343: error: âIPS_SEEN_REPLYâ undeclared here (not in a function)
conntrack.c:344: error: âIPS_SRC_NAT_DONEâ undeclared here (not in a function)
conntrack.c:344: error: âIPS_DST_NAT_DONEâ undeclared here (not in a function)
conntrack.c:346: error: âNF_NETLINK_CONNTRACK_NEWâ undeclared here (not in a function)
conntrack.c:346: error: âNF_NETLINK_CONNTRACK_UPDATEâ undeclared here (not in a function)
conntrack.c:347: error: âNF_NETLINK_CONNTRACK_DESTROYâ undeclared here (not in a function)
conntrack.c:444: warning: âunion nfct_addressâ declared inside parameter list
conntrack.c: In function âparse_inetaddrâ:
conntrack.c:450: error: dereferencing pointer to incomplete type
conntrack.c:452: error: dereferencing pointer to incomplete type
conntrack.c: At top level:
conntrack.c:459: warning: âstruct nfct_natâ declared inside parameter list
conntrack.c: In function ânat_parseâ:
conntrack.c:486: error: dereferencing pointer to incomplete type
conntrack.c:487: error: dereferencing pointer to incomplete type
conntrack.c:500: error: dereferencing pointer to incomplete type
conntrack.c:501: error: dereferencing pointer to incomplete type
conntrack.c:519: error: dereferencing pointer to incomplete type
conntrack.c:523: error: dereferencing pointer to incomplete type
conntrack.c:525: error: dereferencing pointer to incomplete type
conntrack.c: At top level:
conntrack.c:600: error: âNFCT_ANY_IDâ undeclared here (not in a function)
conntrack.c: In function âmainâ:
conntrack.c:676: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:677: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:678: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:679: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:680: error: âIPV4_ORIG_SRCâ undeclared (first use in this function)
conntrack.c:680: error: (Each undeclared identifier is reported only once
conntrack.c:680: error: for each function it appears in.)
conntrack.c:681: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:682: error: âIPV6_ORIG_SRCâ undeclared (first use in this function)
conntrack.c:688: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:689: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:690: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:691: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:692: error: âIPV4_ORIG_DSTâ undeclared (first use in this function)
conntrack.c:693: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:694: error: âIPV6_ORIG_DSTâ undeclared (first use in this function)
conntrack.c:700: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:701: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:702: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:703: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:704: error: âIPV4_REPL_SRCâ undeclared (first use in this function)
conntrack.c:705: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:706: error: âIPV6_REPL_SRCâ undeclared (first use in this function)
conntrack.c:712: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:713: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:714: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:715: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:716: error: âIPV4_REPL_DSTâ undeclared (first use in this function)
conntrack.c:717: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:718: error: âIPV6_REPL_DSTâ undeclared (first use in this function)
conntrack.c:726: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:727: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:728: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:729: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:756: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:757: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:758: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:764: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:765: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:766: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:772: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:773: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:774: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:780: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:781: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:782: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:788: warning: passing argument 3 of ânat_parseâ from incompatible pointer type
conntrack.c:793: error: âNFCT_MARKâ undeclared (first use in this function)
conntrack.c:822: warning: passing argument 3 of âh->parse_optsâ from incompatible pointer type
conntrack.c:822: warning: passing argument 4 of âh->parse_optsâ from incompatible pointer type
conntrack.c:822: warning: passing argument 5 of âh->parse_optsâ from incompatible pointer type
conntrack.c:822: warning: passing argument 6 of âh->parse_optsâ from incompatible pointer type
conntrack.c:822: warning: passing argument 7 of âh->parse_optsâ from incompatible pointer type
conntrack.c:844: warning: passing argument 3 of âh->final_checkâ from incompatible pointer type
conntrack.c:844: warning: passing argument 4 of âh->final_checkâ from incompatible pointer type
conntrack.c:853: error: âCONNTRACKâ undeclared (first use in this function)
conntrack.c:853: warning: assignment makes pointer from integer without a cast
conntrack.c:865: warning: assignment makes pointer from integer without a cast
conntrack.c:869: error: invalid use of undefined type âstruct nfct_conntrack_compareâ
conntrack.c:870: error: invalid use of undefined type âstruct nfct_conntrack_compareâ
conntrack.c:871: error: invalid use of undefined type âstruct nfct_conntrack_compareâ
conntrack.c:872: error: invalid use of undefined type âstruct nfct_conntrack_compareâ
conntrack.c:878: error: ânfct_default_conntrack_display_idâ undeclared (first use in this function)
conntrack.c:882: error: ânfct_default_conntrack_displayâ undeclared (first use in this function)
conntrack.c:894: error: âEXPECTâ undeclared (first use in this function)
conntrack.c:894: warning: assignment makes pointer from integer without a cast
conntrack.c:899: error: ânfct_default_expect_display_idâ undeclared (first use in this function)
conntrack.c:903: error: ânfct_default_expect_displayâ undeclared (first use in this function)
conntrack.c:912: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:912: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:913: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:913: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:913: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:914: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:914: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:914: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:917: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:917: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:918: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:918: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:918: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:919: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:919: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:919: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:924: warning: assignment makes pointer from integer without a cast
conntrack.c:928: warning: assignment makes pointer from integer without a cast
conntrack.c:932: warning: assignment makes pointer from integer without a cast
conntrack.c:945: warning: assignment makes pointer from integer without a cast
conntrack.c:948: warning: assignment makes pointer from integer without a cast
conntrack.c:952: warning: assignment makes pointer from integer without a cast
conntrack.c:965: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:965: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:966: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:966: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:966: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:967: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:967: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:967: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:970: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:970: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:971: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:971: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:971: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:972: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:972: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:972: error: invalid use of undefined type âstruct nfct_tupleâ
conntrack.c:976: warning: assignment makes pointer from integer without a cast
conntrack.c:980: warning: assignment makes pointer from integer without a cast
conntrack.c:994: warning: assignment makes pointer from integer without a cast
conntrack.c:999: error: âNFCT_DIR_ORIGINALâ undeclared (first use in this function)
conntrack.c:1003: error: âNFCT_DIR_REPLYâ undeclared (first use in this function)
conntrack.c:1009: warning: assignment makes pointer from integer without a cast
conntrack.c:1020: warning: assignment makes pointer from integer without a cast
conntrack.c:1035: warning: assignment makes pointer from integer without a cast
conntrack.c:1048: warning: assignment makes pointer from integer without a cast
conntrack.c:1056: warning: assignment makes pointer from integer without a cast
conntrack.c:1065: warning: assignment makes pointer from integer without a cast
conntrack.c:1067: error: âNFCT_ALL_CT_GROUPSâ undeclared (first use in this function)
conntrack.c:1067: warning: assignment makes pointer from integer without a cast
conntrack.c:1076: warning: assignment makes pointer from integer without a cast
conntrack.c:1080: error: invalid use of undefined type âstruct nfct_conntrack_compareâ
conntrack.c:1081: error: invalid use of undefined type âstruct nfct_conntrack_compareâ
conntrack.c:1082: error: invalid use of undefined type âstruct nfct_conntrack_compareâ
conntrack.c:1083: error: invalid use of undefined type âstruct nfct_conntrack_compareâ
conntrack.c:1088: error: ânfct_default_conntrack_event_displayâ undeclared (first use in this function)
conntrack.c:1095: error: âNF_NETLINK_CONNTRACK_EXP_NEWâ undeclared (first use in this function)
conntrack.c:1095: warning: assignment makes pointer from integer without a cast
make[1]: *** [conntrack.o] Error 1
make[1]: Leaving directory `/home/gregs/conntrack/conntrack-1.00beta2/src'
make: *** [all-recursive] Error 1
[root@lakeville-fw conntrack-1.00beta2]#
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Errors trying to build conntrack
2006-08-27 0:40 Errors trying to build conntrack Greg Scott
@ 2006-08-28 6:42 ` Angel Mieres
0 siblings, 0 replies; 2+ messages in thread
From: Angel Mieres @ 2006-08-28 6:42 UTC (permalink / raw)
To: Greg Scott; +Cc: netfilter-devel
> Hello -
>
> This is not my day! I am trying to build the conntrack utility to help me debug some other problems. First I tried the latest snapshot, conntrack-20060826. But when I unpacked it (tar -xvjf conntrack-20060826.tar.bz2) there was no configure script.
>
> So I tried beta2, conntrack-1.00beta2.tar.bz2. This unpacked cleanly and the configure script ran to completion without errors. But make blew up. I will past in the complete output below.
>
> Any idea how to build conntrack or what I am doing wrong?
You must install before libnetfilter_conntrack & libnfnetlink.
Please read documentation ;)
Regards,
Angel M.
--
Angel Mieres - amieres@eneotecnologia.com
///////////////////////////////////////// Gentoo has you...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-28 6:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-27 0:40 Errors trying to build conntrack Greg Scott
2006-08-28 6:42 ` Angel Mieres
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.