[asterisk-users] zaptel module dependences

Anthony Francis anthonyf at rockynet.com
Tue May 29 08:06:49 MST 2007


Khaled Chehab wrote:
>
> I am using centos 4.4 server cd ,when I am trying to compile zaptel 
> 1.4.2 ,the following error appears
>
> From where I can get the missing rpms .or kernel source ,or the kernel 
> header
>
> Generating input for menuselect ...
>
> grep: /include/linux/autoconf.h: No such file or directory
>
> make[1]: Entering directory `/usr/src/zaptel'
>
> gcc     gendigits.c  -lm -o gendigits
>
> ./gendigits > tones.h
>
> gcc -o makefw makefw.c
>
> ./makefw tormenta2.rbt tor2fw > tor2fw.h Loaded 69900 bytes from file
>
> ./makefw pciradio.rbt radfw > radfw.h
>
> Loaded 42096 bytes from file
>
> You do not appear to have the sources for the 2.6.9-42.ELsmp kernel 
> installed.
>
> make[1]: *** [modules] Error 1
>
> make[1]: Leaving directory `/usr/src/zaptel'
>
> make: *** [all] Error 2 [root at XPL zaptel-1.4.2]# rpm -q kernel
>
> 2.6.9-42.ELsmp 
>
>  
>
> Regards
>
>  
>
>  
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> *********************************************
> No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. 
>
>
> This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.
>
> If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. 
>
>
> Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects.
> *********************************************
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com 
> <http://Easynews.com> --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users 
> <http://lists.digium.com/mailman/listinfo/asterisk-users>
>
>  
>
>
>
> ------------------------------------------------------------------------
> *********************************************
> No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates.
>
> This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.
>
> If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person.
>
> Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects.
> *********************************************
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   

ln -s /lib/modules/`uname -r`/build /usr/src/linux-2.6

ln -s /lib/modules/`uname -r`/build /usr/src/linux


in /usr/src/kernels/${YOUR_KERNEL}/ Do:
make prepare

Oh and make sure you build lib pri before you build zaptel.



More information about the asterisk-users mailing list