[Asterisk-Users] Re: Asterisk-Users Digest, Vol 6, Issue 227

Xu, Duo xuduo18 at yahoo.com
Sun Jan 16 09:06:55 MST 2005


Thanks! Thanks! Thanks!
I've got it work!!! :-)


Message: 13
Date: Sun, 16 Jan 2005 12:17:21 -0000
From: "Bill Seddon" <bill.seddon at lyquidity.com>
Subject: RE: [Asterisk-Users] failed to compile zaptel
on redhat
To: "'Asterisk Users Mailing List - Non-Commercial
Discussion'"
	<asterisk-users at lists.digium.com>
Message-ID:
<ECOWS02MB8QDGMou3fY0007760a at smtp-out2.blueyonder.co.uk>
Content-Type: text/plain;	charset="us-ascii"

<< then it looks like the does not have the full
kernel sources 
installed>>

...or isn't running the 2.6 kernel.  

I had the same problem with the CVS on Friday (but not
from the week
before).  It turns out that moduleparam.h is included
as part of a bug 
fix
on 2.6 but instead of being #ifdef'd for 2.6 and
later, the inclusion 
was
absolute causing compilations of zaptel on earlier
Linux kernels to 
fail.

The advice I received was:

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

Bill Seddon


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 




More information about the asterisk-users mailing list