Bruce 0 Posted 2008-05-28 16:48:22 Share Posted 2008-05-28 16:48:22 g++ -c ipq_cap.cpp -O2 -I/usr/local/include -Wall -fPIC -I /usr/src/stg-2.405.9.8/projects/stargazer/../../include -DLINUX In file included from ipq_cap.cpp:2: /usr/include/linux/netfilter.h:41: error: ‘__be32’ does not name a type /usr/include/linux/netfilter.h:42: error: ‘__be32’ does not name a type /usr/include/linux/netfilter.h:43: error: field ‘in’ has incomplete type /usr/include/linux/netfilter.h:44: error: field ‘in6’ has incomplete type gmake[2]: *** [ipq_cap.o] Error 1 gmake[2]: Leaving directory `/usr/src/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux' gmake[1]: *** [capture/ipq_linux] Error 2 gmake[1]: Leaving directory `/usr/src/stg-2.405.9.8/projects/stargazer/plugins' gmake: *** [plugins] Error 2 вот. что может быть? юзаю cpp-4.3.0-8.i386 Link to post Share on other sites
madf 279 Posted 2008-05-29 06:29:12 Share Posted 2008-05-29 06:29:12 О! Опять RedHat ушки показала! Попробув build вызывать так: CFLAGS=-D_GNU_SOURCE ./build Link to post Share on other sites
Bruce 0 Posted 2008-05-29 09:46:50 Author Share Posted 2008-05-29 09:46:50 Поставил. Не помогло. Что еще делать? Link to post Share on other sites
madf 279 Posted 2008-05-29 09:53:13 Share Posted 2008-05-29 09:53:13 Отправь мне лог сборки на faust@stg.dp.ua Проблема решаема. Link to post Share on other sites
oath 2 Posted 2008-06-15 13:47:18 Share Posted 2008-06-15 13:47:18 точно такую же ошибку отхватил сегодня на FC8 причем месяц назад ставил на этот же дистрибутив было все ОК методом сравнения двух /usr/include/linux/netfilter.h в более новом добавлено enum nf_inet_hooks { NF_INET_PRE_ROUTING, NF_INET_LOCAL_IN, NF_INET_FORWARD, NF_INET_LOCAL_OUT, NF_INET_POST_ROUTING, NF_INET_NUMHOOKS }; union nf_inet_addr { __u32 all[4]; __be32 ip; __be32 ip6[4]; struct in_addr in; struct in6_addr in6; }; удалил их все скомпилировалось без проблем Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now