Jump to content

Сборка старгазера под Федорой 9


Recommended Posts

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
  • 3 weeks later...

точно такую же ошибку отхватил сегодня на 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...