I am using centos 4.4 server cd ,when I am trying to compile zaptel 1.4.2 ... error appears >>From where I can get the missing rpms .or kernel source>From where I can get the centos 4.4 server kernel source.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. ********************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070603/0e3e0b10/attachment.htm
On Sun, Jun 03, 2007 at 02:50:17AM -0700, Khaled Chehab wrote:> I am using centos 4.4 server cd ,when I am trying to compile zaptel 1.4.2 > ... error appears > > > >From where I can get the missing rpms .or kernel sourceyou need kernel-devel or kernel-smp-devel, depending on your running kernel version. -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
I suffered a lot from installing zaptel 1.4.2 on centos servercd ,Sure there is someone did that, Please in need to have the installation procedure step by step. Its too urgent for me . Thanks alot 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. *********************************************
> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Tzafrir Cohen > Sent: Sunday, June 03, 2007 8:22 AM > To: asterisk-users@lists.digium.com > Subject: Re: [asterisk-users] Centos kernel source > > On Sun, Jun 03, 2007 at 02:50:17AM -0700, Khaled Chehab wrote: > > I am using centos 4.4 server cd ,when I am trying to compile zaptel > 1.4.2 > > ... error appears > > > > > >From where I can get the missing rpms .or kernel source > > you need kernel-devel or kernel-smp-devel, depending on your running > kernel version. > > -- > Tzafrir Cohen > icq#16849755 jabber:tzafrir@jabber.org > +972-50-7952406 mailto:tzafrir.cohen@xorcom.com > http://www.xorcom.com iax:guest@local.xorcom.com/tzafrirTry yum install kernel-devel, yum update. Thanks, Steve Totaro
It would be good if you did not trip the part of "I already did what you said." I am not sure what you did. Thanks, Steve Totaro http://www.asteriskhelpdesk.com KB3OPB> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Khaled Chehab > Sent: Sunday, June 03, 2007 8:03 AM > To: 'Asterisk Users Mailing List - Non-Commercial Discussion' > Cc: asterisk-users-bounces@lists.digium.com > Subject: FW: [asterisk-users] Centos kernel source > > > I already did what you said,please see the log results in zaptel.rar > attached when I compile zapltel using > > make > > > > > ********************************************* > No employee or agent is authorized to conclude any binding agreementon> behalf of Xplorium with another party by e-mail without expresswritten> confirmation by an officer of Xplorium. Any views expressed by an > individual in this electronic message do not necessarily reflect viewsof> Xplorium or its subsidiaries and associates. > > This electronic message and its attachments are solely addressed tothe> addressee(s), and contain confidential information protected from > disclosure belonging to Xplorium. > > If you are not the intended addressee of this electronic message andits> attachments, kindly delete it immediately from your system and notifythe> sender by electronic mail. You must not copy this message orattachment or> disclose its content to any other person. > > Xplorium does not guarantee the integrity of this electronic messageand> any of its attachments, or that they are free from computer viruses or > other defects. > *********************************************
You already did what WHO said? What did you already do? Thanks, Steve Totaro http://www.asteriskhelpdesk.com KB3OPB> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Khaled Chehab > Sent: Sunday, June 03, 2007 8:08 AM > To: 'Asterisk Users Mailing List - Non-Commercial Discussion' > Cc: asterisk-users-bounces@lists.digium.com > Subject: FW: [asterisk-users] Centos kernel source > > I already did what you said,please see the results when you compileusing> > make > > > > ptel-1.4.1/pciradio.c:1139: error: dereferencing pointer to incomplete > type > /usr/src/zaptel-1.4.1/pciradio.c:1534: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1535: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1538: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1541: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1544: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1547: warning: implicit declarationof> function `outl' > /usr/src/zaptel-1.4.1/pciradio.c:1547: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1547: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1548: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1548: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1549: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1549: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1551: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1551: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1552: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1552: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1553: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1553: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1556: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1561: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1573: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c: In function > `pciradio_enable_interrupts': > /usr/src/zaptel-1.4.1/pciradio.c:1584: error: dereferencing pointer to > /usr/src/zaptel-1.4.1/pciradio.c:1683: warning: implicit declarationof> function `pci_free_consistent' > /usr/src/zaptel-1.4.1/pciradio.c:1683: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1683: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1698: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1699: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1701: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1702: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1703: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1704: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1759: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1760: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1763: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1766: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1769: error: dereferencing pointer to > incomplete type > /usr/src/zaptel-1.4.1/pciradio.c: At top level: > /usr/src/zaptel-1.4.1/pciradio.c:1773: error: elements of array > `pciradio_pci_tbl' have incomplete type > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: excess elements instruct> initializer > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: (near initializationfor> `pciradio_pci_tbl[0]') > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: excess elements instruct> initializer > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: (near initializationfor> `pciradio_pci_tbl[0]') > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: excess elements instruct> initializer > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: (near initializationfor> `pciradio_pci_tbl[0]') > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: excess elements instruct> initializer > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: (near initializationfor> `pciradio_pci_tbl[0]') > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: excess elements instruct> initializer > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: (near initializationfor> `pciradio_pci_tbl[0]') > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: excess elements instruct> initializer > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: (near initializationfor> `pciradio_pci_tbl[0]') > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: excess elements instruct> initializer > /usr/src/zaptel-1.4.1/pciradio.c:1774: warning: (near initializationfor> `pciradio_pci_tbl[0]') > /usr/src/zaptel-1.4.1/pciradio.c:1775: warning: excess elements instruct> initializer > /usr/src/zaptel-1.4.1/pciradio.c:1775: warning: (near initializationfor> `pciradio_pci_tbl[1]') > /usr/src/zaptel-1.4.1/pciradio.c:1778: error: storage size of > '__mod_pci_device_table' isn't known > /usr/src/zaptel-1.4.1/pciradio.c: In function `pciradio_init': > /usr/src/zaptel-1.4.1/pciradio.c:1799: error: `ENODEV' undeclared(first> use > in this function) > /usr/src/zaptel-1.4.1/pciradio.c: At top level: > /usr/src/zaptel-1.4.1/pciradio.c:1811: warning: `MODULE_PARM_' is > deprecated > (declared at include/linux/module.h:552) > include/linux/elf.h:438: warning: array '_DYNAMIC' assumed to have one > element > include/linux/sched.h:227: error: storage size of `mmap_sem' isn'tknown> include/linux/sched.h:261: error: storage size of `default_kioctx'isn't> known > include/linux/sched.h:268: error: storage size of `action' isn't known > include/linux/sched.h:286: error: storage size of `shared_pending'isn't> known > include/linux/sched.h:407: error: storage size of `wall_to_prev' isn't > known > include/linux/sched.h:556: error: storage size of `start_time' isn'tknown> include/linux/sched.h:567: error: storage size of `rlim' isn't known > include/linux/sched.h:575: error: storage size of `thread' isn't known > include/linux/sched.h:587: error: storage size of `pending' isn'tknown> include/linux/stat.h:68: error: storage size of `atime' isn't known > include/linux/stat.h:69: error: storage size of `mtime' isn't known > include/linux/stat.h:70: error: storage size of `ctime' isn't known > include/linux/pci.h:515: error: storage size of `dev' isn't known > include/linux/fs.h:278: error: storage size of `ia_atime' isn't known > include/linux/fs.h:279: error: storage size of `ia_mtime' isn't known > include/linux/fs.h:280: error: storage size of `ia_ctime' isn't known > include/linux/quota.h:223: error: storage size of `dq_dqb' isn't known > include/linux/fs.h:358: error: storage size of `bd_sem' isn't known > include/linux/fs.h:359: error: storage size of `bd_mount_sem' isn'tknown> include/linux/fs.h:433: error: storage size of `i_atime' isn't known > include/linux/fs.h:434: error: storage size of `i_mtime' isn't known > include/linux/fs.h:435: error: storage size of `i_ctime' isn't known > include/linux/fs.h:443: error: storage size of `i_sem' isn't known > include/linux/fs.h:444: error: storage size of `i_alloc_sem' isn'tknown> include/linux/fs.h:450: error: storage size of `i_data' isn't known > include/linux/fs.h:577: error: storage size of `f_owner' isn't known > include/linux/fs.h:757: error: storage size of `s_umount' isn't known > include/linux/fs.h:758: error: storage size of `s_lock' isn't known > include/linux/fs.h:786: error: storage size of `s_vfs_rename_sem'isn't> known > /usr/src/zaptel-1.4.1/pciradio.c:199: error: storage size of `chans'isn't> known > {standard input}: Assembler messages: > {standard input}:43355: Error: symbol `seq' is already defined > {standard input}:43403: Error: symbol `sem_nsems' is already defined > {standard input}:43426: Error: symbol `lock' is already defined > {standard input}:44597: Error: symbol `files' is already defined > {standard input}:44783: Error: symbol `blocks' is already defined > {standard input}:45465: Error: symbol `saved_state' is already defined > {standard input}:45531: Error: symbol `dma_mask' is already defined > {standard input}:45567: Error: symbol `resource' is already defined > {standard input}:45585: Error: symbol `entry' is already defined > {standard input}:45831: Error: symbol `d_flags' is already defined > {standard input}:46489: Error: symbol `flags' is already defined > {standard input}:46564: Error: symbol `s_type' is already defined > {standard input}:46780: Error: symbol `release' is already defined > {standard input}:46804: Error: symbol `lock' is already defined > {standard input}:46869: Error: symbol `data' is already defined > {standard input}:47025: Error: symbol `private' is already defined > {standard input}:47312: Error: symbol `debouncetime' is alreadydefined> make[3]: *** [/usr/src/zaptel-1.4.1/pciradio.o] Error 1 > make[2]: *** [_module_/usr/src/zaptel-1.4.1] Error 2 > make[2]: Leaving directory `/usr/src/linux-2.6.9' > make[1]: *** [modules] Error 2 > make[1]: Leaving directory `/usr/src/zaptel-1.4.1' > make: *** [all] Error 2 > [root@XPL zaptel-1.4.1]# > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Philipp > Kempgen > Sent: Sunday, June 03, 2007 6:32 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Centos kernel source > > > > > > ********************************************* > No employee or agent is authorized to conclude any binding agreementon> behalf of Xplorium with another party by e-mail without expresswritten> confirmation by an officer of Xplorium. Any views expressed by an > individual in this electronic message do not necessarily reflect viewsof> Xplorium or its subsidiaries and associates. > > This electronic message and its attachments are solely addressed tothe> addressee(s), and contain confidential information protected from > disclosure belonging to Xplorium. > > If you are not the intended addressee of this electronic message andits> attachments, kindly delete it immediately from your system and notifythe> sender by electronic mail. You must not copy this message orattachment or> disclose its content to any other person. > > Xplorium does not guarantee the integrity of this electronic messageand> 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
Khaled Chehab wrote:> I suffered a lot from installing zaptel 1.4.2 on centos servercd ,Sure there > is someone did that, Please in need to have the installation procedure step > by step. Its too urgent for me . > > Thanks alot > >These scripts are working pretty well for me. They are based on a script I found on the wiki. # Script to download pre reqs for installation # ============================================= #!/bin/bash rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 yum -y install kernel-source bison openssl-devel yum -y update # Use "kernel-devel" instead of "kernel-smp-devel" # if not a SMP machine # ========================|==============| | | yum -y install gcc kernel kernel-smp-devel bison openssl-devel shutdown -r now # end script # Script to download asterisk, etc and build/install # =================================================#!/bin/bash rm -f /usr/lib/asterisk/modules/* cd /usr/src rm -rf asterisk wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.18.tar.gz tar -zxvf asterisk-1.2.18.tar.gz mv asterisk-1.2.18 asterisk cd /usr/src rm -rf zaptel wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.17.1.tar.gz tar -zxvf zaptel-1.2.17.1.tar.gz mv zaptel-1.2.17.1 zaptel cd /usr/src rm -rf asterisk-addons wget http://ftp.digium.com/pub/asterisk/releases/asterisk-addons-1.2.6.tar.gz tar -zxvf asterisk-addons-1.2.6.tar.gz mv asterisk-addons-1.2.6 asterisk-addons cd /usr/src rm -rf asterisk-sounds wget http://ftp.digium.com/pub/asterisk/releases/asterisk-sounds-1.2.1.tar.gz tar -zxvf asterisk-sounds-1.2.1.tar.gz mv asterisk-sounds-1.2.1 asterisk-sounds cd /usr/src/zaptel make clean make install make config cd /usr/src/asterisk make clean make install make samples make config cd /usr/src/asterisk-addons make clean make install cd /usr/src/asterisk-sounds make install -- Warm Regards, Lee