[Asterisk-Users] Zaptel in HEAD broken?

Bill Seddon bill.seddon at lyquidity.com
Sun Jan 16 05:17:44 MST 2005


Soren, thanks for the information and advice.

Bill Seddon

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Soren Rathje
Sent: January 14, 2005 1:03 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Zaptel in HEAD broken?

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

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users







More information about the asterisk-users mailing list