Hi,
Was 7.0.9 supposed to solve the compilation problems on newer kernels?    I'm running 3.5.0-44-generic and got this error:

/wanpipe-7.0.9/patches/kdrivers/src/net/../wanrouter/af_wanpipe_src.c:1740:33: error: macro "sk_for_each" requires 3 arguments, but only 2 given


In truth I did get it to compile by adding the 'node' argument to the LINUX_3_0 section in af_wanpipe_src.c and again in af_wanpipe_datascope.c after I got the exact type of error.

#if defined(LINUX_3_0)
        sk_for_each(sk, &wanpipe_sklist) {
#elif defined(LINUX_2_6)
        sk_for_each(sk, node, &wanpipe_sklist) {


The reason I ask for help is that on an A200 card everything works fine except for caller id.   I thought that I should make sure my compilation workaround wasn't the source of the caller id issue.   If not I'll start a new thread.  

Thanks much,




Peter Hartmann
Hartmann Computer Consulting
http://blog.hartmanncomputer.com


On Thu, Jan 9, 2014 at 4:10 AM, François <fdelawarde@wirelessmundi.com> wrote:
Hi all,

Nevermind, 7.0.9 was released a few hours after this message!

Thanks Sangoma!

--
François <fdelawarde@wirelessmundi.com>
Wireless Mundi S.L.


On Wed, 2014-01-08 at 13:40 +0100, François wrote:
Hi Moises,

I still see no sign of new "official" release (7.0.9?) from there:
http://wiki.sangoma.com/Driver-Downloads

Did you confirm if your patch doesn't break anything?

Thanks,
--
François <fdelawarde@wirelessmundi.com>
Wireless Mundi S.L.




On Mon, 2013-12-02 at 01:29 -0500, Moises Silva wrote:

On Sun, Dec 1, 2013 at 7:26 AM, Steve Underwood <steveu@coppice.org> wrote:
Hi all,

Does anyone run wanpipe with any recent version of Linux? Wanpipe 7.0.8
seems fine when compiled for Centos 6.4. However, If I try any recent
kernel (e.g. the ones in recent versions if Fedora) wanpipe fails to
build for a variety of reasons (i.e. if I work around one blockage I
just keeping hitting another one).



Yeah, I just had this problem myself this weekend and made a patch. Find it here: http://moythreads.com/wanpipe-proc-fs-fixes.patch


The newer linux versions moved a bunch of proc fs data structures to private headers and now you need to use their API, which is nicer, but breaks our code.


It should be available in our next release as soon as we confirm my patch does not break other shit :)


I've tested it on Fedora 19 with DAHDI and E&M signaling. Just patch -p1 < xxx.patch, ignore any warnings during ./Setup install about the kernel not being configured and just proceed.


Cheers,


Moy

Moises Silva
Manager, Software Engineering

msilva@sangoma.com

Sangoma Technologies

100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada






t.   +1 800 388 2475 (N. America)

t.   +1 905 474 1990 x128

f.   +1 905 474 9223

 









Products | Solutions | Events | Contact | Wiki | Facebook | Twitter`| | YouTube







_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org