[Asterisk-Users] Zaptel in HEAD broken?

Soren Rathje asterisk at lolle.org
Fri Jan 14 06:02:33 MST 2005


Bill Seddon wrote:
> Are there new instructions for compiling the zaptel driver in HEAD?
>
> I compiled the zaptel driver from HEAD successfully last weekend but
> trying to compile the current driver for another machine results in
> the error:
>
> zaptel.c:45:31: linux/moduleparam.h: No such file or directory
>
> If I go to compile zaptel on the machine that compiled successfully
> last weekend, the same error occurs.  So far as I can tell, I don't
> have a file called moduleparam.h anywhere on either machine.

Yeah, the culprit is bugfix #3334, it is supposed to fix a 2.6 kernel issue
but ended up messing up Zaptel on 2.4.

I have edited:

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

and changed:

#include <linux/moduleparam.h>

to:

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

and now it compiles on 2.4...

/Soren




More information about the asterisk-users mailing list