Summary:ASTERISK-03273: [patch] Zaptel doesn't compile under 2.4 kernel
Reporter:brixius (brixius)Labels:
Date Opened:2005-01-14 16:00:38.000-0600Date Closed:2008-06-07 10:47:36
Versions:Frequency of
Environment:Attachments:( 0) 26modparam.patch.txt
Description:cvs head of zaptel does not compile under 2.4 kernel.  It appears that the resolution for bug ASTERISK-3266 (mydiff.txt)which added

+#include <linux/moduleparam.h>

to a bunch of files, this is not a valid header under kernel 2.4 so I believe this should have been

+#ifdef LINUX26
+#include <linux/moduleparam.h>

This compiles under kernel 2.4 but I don't have a 2.6 box to test with at the moment.
Comments:By: brixius (brixius) 2005-01-14 16:02:54.000-0600

Just downloaded cvs head prior to posting bug.  so it would be CVS HEAD 01-14-05 16:00

By: nick (nick) 2005-01-14 18:26:32.000-0600

To put that in a diff -u format, here's a patch.


By: Mark Spencer (markster) 2005-01-15 00:51:44.000-0600

Fixed in CVS head.

By: Russell Bryant (russell) 2005-01-16 19:56:42.000-0600

should be fixed in 1.0 now, too

By: Digium Subversion (svnbot) 2008-06-07 10:47:36

Repository: dahdi
Revision: 558

U   trunk/pciradio.c
U   trunk/tor2.c
U   trunk/torisa.c
U   trunk/wcfxo.c
U   trunk/wct1xxp.c
U   trunk/wct4xxp.c
U   trunk/wctdm.c
U   trunk/wcte11xp.c
U   trunk/zaptel.c
U   trunk/ztdummy.c
U   trunk/ztdynamic.c

r558 | markster | 2008-06-07 10:47:35 -0500 (Sat, 07 Jun 2008) | 2 lines

Fix build for 2.4 kernel (bug ASTERISK-3273)