David
Please use the stable pfring code and not the one is SVN that I am currently 
changing.

Luca



On 21/mar/2011, at 17:23, David Kwan <[email protected]> wrote:

> Hi all,
> 
> I downloaded the latest pfring from svn, 
> ixgbe-2.1.4-FlowDirector-TNAPI_25012011.tgz from nmon.net and found out that 
> it cannot be compiled in my machine running Ubuntu 10.04 x64 kernel: 
> 2.6.32-21-server.
> Seems that some structs in pf_ring.h has changed that lead to these errors.
> Are there a update something like ixgbe-3.1.15-FlowDirector-TNAPI that can 
> solve the problem?
> 
> error message as follow:
> 
> $ make
> make -C /lib/modules/2.6.32-21-server/build 
> SUBDIRS=/PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src
>  modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-server'
>   CC [M]  
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_main.o
> In file included from 
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_main.c:60:
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_tnapi.c:
>  In function ‘pkt_poll_thread’:
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_tnapi.c:245:
>  warning: ISO C90 forbids mixed declarations and code
>   CC [M]  
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_common.o
>   CC [M]  
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_api.o
>   CC [M]  
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_param.o
>   CC [M]  
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.o
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:
>  In function ‘ixgbe_set_eeprom’:
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:911:
>  error: ‘MAGIC_HW_FILTERING_RULE_ELEMENT’ undeclared (first use in this 
> function)
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:911:
>  error: (Each undeclared identifier is reported only once
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:911:
>  error: for each function it appears in.)
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:936:
>  error: ‘hw_filtering_rule_element’ has no member named ‘command’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:936:
>  error: ‘CHECK_COMMAND’ undeclared (first use in this function)
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:945:
>  error: ‘hw_filtering_rule’ has no member named ‘queue_id’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:948:
>  error: ‘hw_filtering_rule’ has no member named ‘queue_id’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:950:
>  error: ‘hw_filtering_rule’ has no member named ‘rule_type’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:950:
>  error: ‘perfect_filter_rule’ undeclared (first use in this function)
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:956:
>  error: ‘hw_filtering_rule_element’ has no member named ‘add_rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:957:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:957:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:958:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:958:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:960:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:966:
>  error: ‘hw_filtering_rule_element’ has no member named ‘add_rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:967:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:967:
>  error:  ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:967:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:967:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:967:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:967:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:967:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:968:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:968:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:968:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:968:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:968:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:968:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:968:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:969:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:969:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:970:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:970:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:974:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:974:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:976:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:976:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:979:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:979:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:979:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:979:
>  error: ‘hw_filtering_rule’ has no member named ‘rule’
> /PF_RING_svn/drivers/intel/ixgbe/ixgbe-2.1.4-FlowDirector-TNAPI_25012011/src/ixgbe_ethtool.c:979:
>  error: ‘hw_filtering_rule’ has no member na=
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to