[App_rpt-users] errors in compileing sources

George Csahanin george at dyb.com
Tue Mar 1 08:37:12 UTC 2011


Scratching my head on this, can anyone help me with what to look for that is 
missing?

What is net_device "priv"?

Here's the tail end of teh compiler out:



/usr/trunk/zaptel/kernel/wctc4xxp/base.c:63:1: warning: "WARN" redefined
In file included from /usr/src/linux-2.6.29.6/arch/x86/include/asm/bug.h:38,
                 from include/linux/kernel.h:21,
                 from /usr/trunk/zaptel/kernel/wctc4xxp/base.c:23:
include/asm-generic/bug.h:81:1: warning: this is the location of the previous 
definition
/usr/trunk/zaptel/kernel/wctc4xxp/base.c: In function 
'wctc4xxp_net_set_multi':
/usr/trunk/zaptel/kernel/wctc4xxp/base.c:611: error: 'struct net_device' has 
no member named 'priv'
/usr/trunk/zaptel/kernel/wctc4xxp/base.c: In function 'wctc4xxp_net_up':
/usr/trunk/zaptel/kernel/wctc4xxp/base.c:619: error: 'struct net_device' has 
no member named 'priv'
/usr/trunk/zaptel/kernel/wctc4xxp/base.c: In function 'wctc4xxp_net_down':
/usr/trunk/zaptel/kernel/wctc4xxp/base.c:634: error: 'struct net_device' has 
no member named 'priv'
/usr/trunk/zaptel/kernel/wctc4xxp/base.c: In function 
'wctc4xxp_net_hard_start_xmit':
/usr/trunk/zaptel/kernel/wctc4xxp/base.c:651: error: 'struct net_device' has 
no member named 'priv'
/usr/trunk/zaptel/kernel/wctc4xxp/base.c: In function 'wctc4xxp_poll':
/usr/trunk/zaptel/kernel/wctc4xxp/base.c:712: warning: passing argument 1 of 
'netif_rx_complete' from incompatible pointer type
/usr/trunk/zaptel/kernel/wctc4xxp/base.c:712: error: too many arguments to 
function 'netif_rx_complete'
/usr/trunk/zaptel/kernel/wctc4xxp/base.c: In function 
'wctc4xxp_net_get_stats':
/usr/trunk/zaptel/kernel/wctc4xxp/base.c:721: error: 'struct net_device' has 
no member named 'priv'
/usr/trunk/zaptel/kernel/wctc4xxp/base.c: In function 'wctc4xxp_net_ioctl':
/usr/trunk/zaptel/kernel/wctc4xxp/base.c:758: error: 'struct net_device' has 
no member named 'priv'
/usr/trunk/zaptel/kernel/wctc4xxp/base.c: In function 'wctc4xxp_net_register':
/usr/trunk/zaptel/kernel/wctc4xxp/base.c:794: error: 'struct net_device' has 
no member named 'priv'
/usr/trunk/zaptel/kernel/wctc4xxp/base.c: In function 
'wctc4xxp_net_capture_cmd':
/usr/trunk/zaptel/kernel/wctc4xxp/base.c:886: warning: passing argument 1 of 
'netif_rx_schedule' from incompatible pointer type
/usr/trunk/zaptel/kernel/wctc4xxp/base.c:886: error: too many arguments to 
function 'netif_rx_schedule'
make[4]: *** [/usr/trunk/zaptel/kernel/wctc4xxp/base.o] Error 1
make[3]: *** [/usr/trunk/zaptel/kernel/wctc4xxp] Error 2
make[2]: *** [_module_/usr/trunk/zaptel/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.29.6'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/trunk/zaptel'
make: *** [all] Error 2




More information about the App_rpt-users mailing list