<< 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 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Goddard Sent: January 16, 2005 9:56 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] failed to compile zaptel on redhat On Sunday 16 January 2005 04:29, Steven Critchfield wrote: > linux/moduleparam.h is actually part of the kernel source. It is created > when you config and compile the kernel. It holds the version symbols > needed to properly link the new drivers into the kernel. No, it is part of the virgin kernel sources and defines the kernel modules parameters api. If he does not have it, then it looks like he does not have the full kernel sources installed. > I suggest you find a kernel compile howto that is at least understanding > of anything specific to the brokenness of RedHat and follow the > suggestions found within. >[...] > > Xu, Duo wrote: > > > why linux/moduleparam.h is missing in the source? I > > > saw it in 2.6 source. B _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
