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
Looks like youre trying to compile it on some new kernel version. Yoiu really dont need support for the built-in network interface support in Zaptel. If you remove it as a compile flag, I bet it will be perfectly happy. JIM
From: george@dyb.com To: app_rpt-users@ohnosec.org Date: Tue, 1 Mar 2011 02:37:12 -0600 Subject: [App_rpt-users] errors in compileing sources
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
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
On Tue, Mar 1, 2011 at 07:43, Jim Duuuude <telesistant@hotmail.com> wrote:
Looks like youre trying to compile it on some new kernel version.
Yoiu really dont need support for the built-in network interface support in Zaptel. If you remove it as a compile flag, I bet it will be perfectly happy.
The wctc4xxp module uses some functions that no longer work in newer kernels. There's a bug fix in the upstream asterisk svn that could possibly be backported. When I was cobbling together the patches for mantis bug 0000072 (http://ohnosec.org/mantis/view.php?id=72) I stumbled on the upstream fixes to wctc4xxp in a google search, but they looked more involved than I had time for, and since I didn't need wctc4xxp support I didn't bother.
From: george@dyb.com To: app_rpt-users@ohnosec.org Date: Tue, 1 Mar 2011 02:37:12 -0600 Subject: [App_rpt-users] errors in compileing sources
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: [SNIP]
-- Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM "The truth will set you free, but first it will piss you off."
Yeah, exactly. Do you really need support for a quad-T1 card??? :-)
From: tom.km5vy@gmail.com Date: Tue, 1 Mar 2011 08:17:08 -0700 Subject: Re: [App_rpt-users] errors in compileing sources To: telesistant@hotmail.com CC: george@dyb.com; app_rpt-users@ohnosec.org
On Tue, Mar 1, 2011 at 07:43, Jim Duuuude <telesistant@hotmail.com> wrote:
Looks like youre trying to compile it on some new kernel version.
Yoiu really dont need support for the built-in network interface support in Zaptel. If you remove it as a compile flag, I bet it will be perfectly happy.
The wctc4xxp module uses some functions that no longer work in newer kernels. There's a bug fix in the upstream asterisk svn that could possibly be backported. When I was cobbling together the patches for mantis bug 0000072 (http://ohnosec.org/mantis/view.php?id=72) I stumbled on the upstream fixes to wctc4xxp in a google search, but they looked more involved than I had time for, and since I didn't need wctc4xxp support I didn't bother.
From: george@dyb.com To: app_rpt-users@ohnosec.org Date: Tue, 1 Mar 2011 02:37:12 -0600 Subject: [App_rpt-users] errors in compileing sources
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: [SNIP]
-- Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM "The truth will set you free, but first it will piss you off."
Nope, don't need that, didn't know that was what it is. Thanks, guys will try it tonight. GeorgeC W2DB ----- Original Message ----- From: Jim Duuuude To: tom.km5vy@gmail.com Cc: george@dyb.com ; app_rpt mailing list Sent: Tuesday, March 01, 2011 9:18 AM Subject: RE: [App_rpt-users] errors in compileing sources Yeah, exactly. Do you really need support for a quad-T1 card??? :-)
From: tom.km5vy@gmail.com Date: Tue, 1 Mar 2011 08:17:08 -0700 Subject: Re: [App_rpt-users] errors in compileing sources To: telesistant@hotmail.com CC: george@dyb.com; app_rpt-users@ohnosec.org
On Tue, Mar 1, 2011 at 07:43, Jim Duuuude <telesistant@hotmail.com> wrote:
Looks like youre trying to compile it on some new kernel version.
Yoiu really dont need support for the built-in network interface support in Zaptel. If you remove it as a compile flag, I bet it will be perfectly happy.
The wctc4xxp module uses some functions that no longer work in newer kernels. There's a bug fix in the upstream asterisk svn that could possibly be backported. When I was cobbling together the patches for mantis bug 0000072 (http://ohnosec.org/mantis/view.php?id=72) I stumbled on the upstream fixes to wctc4xxp in a google search, but they looked more involved than I had time for, and since I didn't need wctc4xxp support I didn't bother.
From: george@dyb.com To: app_rpt-users@ohnosec.org Date: Tue, 1 Mar 2011 02:37:12 -0600 Subject: [App_rpt-users] errors in compileing sources
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: [SNIP]
-- Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM "The truth will set you free, but first it will piss you off."
participants (3)
-
George Csahanin -
Jim Duuuude -
Tom Russo