Re: [asterisk-users] Problem compiling Zaptel
On Sun, Jul 13, 2008 at 10:12:09PM -0400, Noah Miller wrote: Hi Bob - I have a problem compiling Zaptel on an up to date CentOS 5.2 box. Zaptel 1.4.11, CentOS running on AMD dual core X64. ... CC [M] /projects/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.o In file included from /projects/asterisk/zaptel-1.4.11/kernel/xpp/xpd.h:26, from /projects/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.c:27: /projects/asterisk/zaptel-1.4.11/kernel/xpp/xdefs.h:117: error: conflicting types for 'bool' include/linux/types.h:36: error: previous declaration of 'bool' was here make[4]: *** [/projects/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.o] Error 1 Are you using any Xorcom hardware? If not, you can avoid this issue by disabling the appropriate items when you run make menuselect before compiling Zaptel. If you are planning on using Xorcom hardware, there is a patch available, which I believe is on the Xorcom website. Has been commited into the SVN, actually, as I have already pointed out in this list: http://bugs.digium.com/12889 A patch is included there, as well as (in the commit notes) links to the place it got commited into 1.2 and 1.4. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problem compiling Zaptel
On Sun, 2008-07-13 at 22:12 -0400, Noah Miller wrote: Hi Bob - snip Are you using any Xorcom hardware? If not, you can avoid this issue by disabling the appropriate items when you run make menuselect before compiling Zaptel. Thanks! That allowed me to compile. Regards, -- Bob Smither [EMAIL PROTECTED] ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Problem compiling Zaptel
Dear All, I have a problem compiling Zaptel on an up to date CentOS 5.2 box. Zaptel 1.4.11, CentOS running on AMD dual core X64. The configuration step finishes, but during the 'make' step it stops here: ... CC [M] /projects/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.o In file included from /projects/asterisk/zaptel-1.4.11/kernel/xpp/xpd.h:26, from /projects/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.c:27: /projects/asterisk/zaptel-1.4.11/kernel/xpp/xdefs.h:117: error: conflicting types for ‘bool’ include/linux/types.h:36: error: previous declaration of ‘bool’ was here make[4]: *** [/projects/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.o] Error 1 ... I am not sure how to correct this. Any suggestions? Thanks! -- Bob Smither [EMAIL PROTECTED] ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problem compiling Zaptel
Hi Bob - I have a problem compiling Zaptel on an up to date CentOS 5.2 box. Zaptel 1.4.11, CentOS running on AMD dual core X64. ... CC [M] /projects/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.o In file included from /projects/asterisk/zaptel-1.4.11/kernel/xpp/xpd.h:26, from /projects/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.c:27: /projects/asterisk/zaptel-1.4.11/kernel/xpp/xdefs.h:117: error: conflicting types for 'bool' include/linux/types.h:36: error: previous declaration of 'bool' was here make[4]: *** [/projects/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.o] Error 1 Are you using any Xorcom hardware? If not, you can avoid this issue by disabling the appropriate items when you run make menuselect before compiling Zaptel. If you are planning on using Xorcom hardware, there is a patch available, which I believe is on the Xorcom website. - Noah ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Problem compiling Zaptel 1.4.5.1
Hi. Please help. When trying to compile Zaptel 1.4.5.1 I get the following: /build/include/linux/modversions.h -DSTANDALONE_ZAPATA -I.. -o base.o -c base.c base.c:48:29: linux/workqueue.h: No such file or directory base.c:292: warning: `vpm150m_firmware' defined but not used make[2]: *** [base.o] Error 1 make[2]: Leaving directory `/usr/src/zaptel-1.4.5.1/wctdm24xxp' make[1]: *** [wctdm24xxp/wctdm24xxp.o] Error 2 make[1]: Leaving directory `/usr/src/zaptel-1.4.5.1' make: *** [all] Error 2 Can anybody help me with this? I run make distclean, configure and then make. Thanks. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problem compiling Zaptel 1.4.5.1
On Fri, Aug 24, 2007 at 08:29:55AM +, Jan du Toit wrote: Hi. Please help. When trying to compile Zaptel 1.4.5.1 I get the following: /build/include/linux/modversions.h -DSTANDALONE_ZAPATA -I.. -o base.o -c base.c base.c:48:29: linux/workqueue.h: No such file or directory base.c:292: warning: `vpm150m_firmware' defined but not used make[2]: *** [base.o] Error 1 make[2]: Leaving directory `/usr/src/zaptel-1.4.5.1/wctdm24xxp' make[1]: *** [wctdm24xxp/wctdm24xxp.o] Error 2 make[1]: Leaving directory `/usr/src/zaptel-1.4.5.1' make: *** [all] Error 2 Can anybody help me with this? I run make distclean, configure and then make. What kernel version do you use, exactly? What linux distribution? -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problem compiling Zaptel 1.4.5.1
It compiles fine for me but I can't change the soft EC. It always compiles with MG1 no matter what I select in zconfig.h. Downgraded back to 1.4.4 and it works fine again. -Original Message- From: Jan du Toit [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 1:30 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Problem compiling Zaptel 1.4.5.1 Hi. Please help. When trying to compile Zaptel 1.4.5.1 I get the following: /build/include/linux/modversions.h -DSTANDALONE_ZAPATA -I.. -o base.o -c base.c base.c:48:29: linux/workqueue.h: No such file or directory base.c:292: warning: `vpm150m_firmware' defined but not used make[2]: *** [base.o] Error 1 make[2]: Leaving directory `/usr/src/zaptel-1.4.5.1/wctdm24xxp' make[1]: *** [wctdm24xxp/wctdm24xxp.o] Error 2 make[1]: Leaving directory `/usr/src/zaptel-1.4.5.1' make: *** [all] Error 2 Can anybody help me with this? I run make distclean, configure and then make. Thanks. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Problem compiling zaptel on latest RHEL kernel (2.6.9-34.EL)
At 08:33 AM 3/11/2006, you wrote: Here's a quick fix. In your zaptel Makefile, add the following (line 38 for 1.2.4) - THIS SHOLD BE ALL ONE LINE: CFLAGS+=$(shell if uname -r | grep -q 2.6.9-34.EL; then echo -Drw_lock_t=\rwlock_t\; fi) This way, if this is fixed in the next kernel release, you won't need to make another change to the Makefile. Thanks so much for this, it saved my behind quite a while back and again today with this minor change: CFLAGS+=$(shell if uname -r | grep -q 2.6.9-34.0.1.EL; then echo -Drw_lock_t=\rwlock_t\; fi) Ira ___ --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
Re: [Asterisk-Users] Problem compiling zaptel on latest RHEL kernel(2.6.9-34.EL)
Many thanks, Russ - I'll give this a try. Thank goodness a) for test servers and b) for the ability of Linux to rollback with a simple change to grub.conf :-) Regards, -- Anthony Rodgers Business Systems Analyst District of North Vancouver Web: http://www.dnv.org RSS Feed: http://www.dnv.org/rss.asp On 11-Mar-06, at 7:33 AM, Russ Price wrote: Anthony Rodgers wrote: Greetings, I have just updated our test server to 2.6.9-34.EL and get the following error messages when compiling zaptel: make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686' CC [M] /usr/src/zaptel/zaptel-1.2.1/zaptel.o /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: error: syntax error before zone_lock [snipped] This bit me with CentOS 4.2 as well. The problem is actually a typo in the kernel spinlock.h file. See: http://bugs.digium.com/view.php?id=6425 and https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180568 for more information. Here's a quick fix. In your zaptel Makefile, add the following (line 38 for 1.2.4) - THIS SHOLD BE ALL ONE LINE: CFLAGS+=$(shell if uname -r | grep -q 2.6.9-34.EL; then echo -Drw_lock_t=\rwlock_t\; fi) This way, if this is fixed in the next kernel release, you won't need to make another change to the Makefile. Russ ___ --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 ___ --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
Re: [Asterisk-Users] Problem compiling zaptel on latest RHEL kernel(2.6.9-34.EL)
Thanks Russ. I updated the Makefile under /usr/src/zapteland issued rebuild_zaptel. it worked flawlessly:) On 3/13/06, Anthony Rodgers [EMAIL PROTECTED] wrote: Many thanks, Russ - I'll give this a try.Thank goodness a) for test servers and b) for the ability of Linux to rollback with a simple change to grub.conf :-)Regards,--Anthony RodgersBusiness Systems AnalystDistrict of North VancouverWeb: http://www.dnv.orgRSS Feed: http://www.dnv.org/rss.aspOn 11-Mar-06, at 7:33 AM, Russ Price wrote: Anthony Rodgers wrote: Greetings, I have just updated our test server to 2.6.9-34.EL and get the following error messages when compiling zaptel: make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686' CC [M]/usr/src/zaptel/zaptel- 1.2.1/zaptel.o /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: error: syntax error before zone_lock [snipped] This bit me with CentOS 4.2 as well.The problem is actually a typo in the kernel spinlock.h file. See: http://bugs.digium.com/view.php?id=6425 and https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180568 for more information. Here's a quick fix.In your zaptel Makefile, add the following (line 38 for 1.2.4) - THIS SHOLD BE ALL ONE LINE: CFLAGS+=$(shell if uname -r | grep -q 2.6.9-34.EL; then echo -Drw_lock_t=\rwlock_t\; fi) This way, if this is fixed in the next kernel release, you won't need to make another change to the Makefile. Russ ___ --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 ___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --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
Re: [Asterisk-Users] Problem compiling zaptel on latest RHEL kernel (2.6.9-34.EL)
Anthony Rodgers wrote: Greetings, I have just updated our test server to 2.6.9-34.EL and get the following error messages when compiling zaptel: make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686' CC [M] /usr/src/zaptel/zaptel-1.2.1/zaptel.o /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: error: syntax error before zone_lock [snipped] This bit me with CentOS 4.2 as well. The problem is actually a typo in the kernel spinlock.h file. See: http://bugs.digium.com/view.php?id=6425 and https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180568 for more information. Here's a quick fix. In your zaptel Makefile, add the following (line 38 for 1.2.4) - THIS SHOLD BE ALL ONE LINE: CFLAGS+=$(shell if uname -r | grep -q 2.6.9-34.EL; then echo -Drw_lock_t=\rwlock_t\; fi) This way, if this is fixed in the next kernel release, you won't need to make another change to the Makefile. Russ ___ --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
[Asterisk-Users] Problem compiling zaptel on latest RHEL kernel (2.6.9-34.EL)
Greetings, I have just updated our test server to 2.6.9-34.EL and get the following error messages when compiling zaptel: make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686' CC [M] /usr/src/zaptel/zaptel-1.2.1/zaptel.o /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: error: syntax error before zone_lock /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: warning: type defaults to `int' in declaration of `zone_lock' /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: error: incompatible types in initialization /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: error: initializer element is not constant /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: warning: data definition has no type or storage class /usr/src/zaptel/zaptel-1.2.1/zaptel.c:384: error: syntax error before chan_lock /usr/src/zaptel/zaptel-1.2.1/zaptel.c:384: warning: type defaults to `int' in declaration of `chan_lock' /usr/src/zaptel/zaptel-1.2.1/zaptel.c:384: error: incompatible types in initialization /usr/src/zaptel/zaptel-1.2.1/zaptel.c:384: error: initializer element is not constant /usr/src/zaptel/zaptel-1.2.1/zaptel.c:384: warning: data definition has no type or storage class /usr/src/zaptel/zaptel-1.2.1/zaptel.c:187: warning: 'fcstab' defined but not used make[2]: *** [/usr/src/zaptel/zaptel-1.2.1/zaptel.o] Error 1 make[1]: *** [_module_/usr/src/zaptel/zaptel-1.2.1] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.EL-i686' make: *** [linux26] Error 2 If I reboot from the previous kernel 2.6.9-22.0.2.EL, zaptel compiles just fine. This behavior is true for both zaptel-1.2.1 (shown above) and zaptel-1.2.4. Thoughts? Regards, -- Anthony Rodgers Business Systems Analyst District of North Vancouver Web: http://www.dnv.org RSS Feed: http://www.dnv.org/rss.asp ___ --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
Re: [Asterisk-Users] Problem compiling zaptel on latest RHEL kernel (2.6.9-34.EL)
Yes, I see the same behavior on CentOS 4.2 Anthony Rodgers wrote: Greetings, I have just updated our test server to 2.6.9-34.EL and get the following error messages when compiling zaptel: make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686' CC [M] /usr/src/zaptel/zaptel-1.2.1/zaptel.o /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: error: syntax error before zone_lock /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: warning: type defaults to `int' in declaration of `zone_lock' /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: error: incompatible types in initialization /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: error: initializer element is not constant /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: warning: data definition has no type or storage class /usr/src/zaptel/zaptel-1.2.1/zaptel.c:384: error: syntax error before chan_lock /usr/src/zaptel/zaptel-1.2.1/zaptel.c:384: warning: type defaults to `int' in declaration of `chan_lock' /usr/src/zaptel/zaptel-1.2.1/zaptel.c:384: error: incompatible types in initialization /usr/src/zaptel/zaptel-1.2.1/zaptel.c:384: error: initializer element is not constant /usr/src/zaptel/zaptel-1.2.1/zaptel.c:384: warning: data definition has no type or storage class /usr/src/zaptel/zaptel-1.2.1/zaptel.c:187: warning: 'fcstab' defined but not used make[2]: *** [/usr/src/zaptel/zaptel-1.2.1/zaptel.o] Error 1 make[1]: *** [_module_/usr/src/zaptel/zaptel-1.2.1] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.EL-i686' make: *** [linux26] Error 2 If I reboot from the previous kernel 2.6.9-22.0.2.EL, zaptel compiles just fine. This behavior is true for both zaptel-1.2.1 (shown above) and zaptel-1.2.4. Thoughts? Regards, -- Adrian Carter Technical Manager Leading Edge Internet Web http://www.lei.net.au http://support.lei.net.au Direct+61 2 6163 6162 Support 1 300 662 415 E-mail[EMAIL PROTECTED] ___ --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
[Asterisk-Users] Problem Compiling Zaptel 1.2.1
[EMAIL PROTECTED] zaptel-1.2.1]# make gcc -I/lib/modules/2.4.21-4.ELsmp/build/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net/wan -I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS -include /lib/modules/2.4.21-4.ELsmp/build/include/linux/modversions.h -DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/tqueue.h:19, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/aio.h:4, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/net.h:88, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/fs.h:15, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/capability.h:17, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/binfmts.h:4, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:10, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h: In function `__set_64bit_var': /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:24, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h: At top level: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here make: *** [zaptel.o] Error 1 What could I be missing? :) Thank you -- Leandro Rzezak[EMAIL PROTECTED] ___ --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
Re: [Asterisk-Users] Problem Compiling Zaptel 1.2.1
If you've ever compiled and installed an older version of * on this box, specifically from the 1.0 era, it's possible you need to try removing /usr/include/asterisk and see if that helps. Moj Leandro Rzezak wrote: [EMAIL PROTECTED] zaptel-1.2.1]# make gcc -I/lib/modules/2.4.21-4.ELsmp/build/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net/wan -I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS -include /lib/modules/2.4.21-4.ELsmp/build/include/linux/modversions.h -DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/tqueue.h:19, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/aio.h:4, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/net.h:88, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/fs.h:15, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/capability.h:17, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/binfmts.h:4, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:10, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h: In function `__set_64bit_var': /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:24, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h: At top level: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here make: *** [zaptel.o] Error 1 What could I be missing? :) Thank you -- Leandro Rzezak [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ --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 -- Mojo [EMAIL PROTECTED] Office Manger, Horan Company, LLC (907) 747- x112 ___ --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
Re: [Asterisk-Users] Problem Compiling Zaptel 1.2.1
Removed /usr/include/asterisk, same thing.. Any clue?On 1/9/06, Mojo with Horan Company, LLC [EMAIL PROTECTED] wrote:If you've ever compiled and installed an older version of * on this box, specifically from the 1.0 era, it's possible you need to try removing/usr/include/asterisk and see if that helps.MojLeandro Rzezak wrote: [EMAIL PROTECTED] zaptel-1.2.1]# make gcc -I/lib/modules/2.4.21- 4.ELsmp/build/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/2.4.21-4.ELsmp /build/drivers/net/wan -I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS -include /lib/modules/2.4.21-4.ELsmp/build/include/linux/modversions.h -DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/tqueue.h:19,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/aio.h:4,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/net.h:88,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/fs.h:15,from /lib/modules/2.4.21-4.ELsmp /build/include/linux/capability.h:17,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/binfmts.h:4,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:10, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5,from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h: In function `__set_64bit_var': /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:24, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5,from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h: At top level: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21- 4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here make: *** [zaptel.o] Error 1 What could I be missing? :) Thank you -- Leandro Rzezak [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ --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--Mojo [EMAIL PROTECTED] Office Manger, Horan Company, LLC(907) 747- x112___--Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Leandro Rzezak[EMAIL PROTECTED] ___ --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
Re: [Asterisk-Users] Problem Compiling Zaptel 1.2.1
Are you running a 64-bit CPU or a 32bit one? I'm asking because I see the line with __set_64bit_var in there. In addition, are you using an SMP box, or is it just hyperthreading, or is this an accident and you're really just using single cpu? I don't know aything about asterisk and 64-bit compatibility (or SMP compatibility) but I thought these details might help someone else help you :) Moj Leandro Rzezak wrote: Removed /usr/include/asterisk, same thing.. Any clue? On 1/9/06, *Mojo with Horan Company, LLC* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: If you've ever compiled and installed an older version of * on this box, specifically from the 1.0 era, it's possible you need to try removing /usr/include/asterisk and see if that helps. Moj Leandro Rzezak wrote: [EMAIL PROTECTED] zaptel-1.2.1]# make gcc -I/lib/modules/2.4.21- 4.ELsmp/build/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/2.4.21-4.ELsmp /build/drivers/net/wan -I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS -include /lib/modules/2.4.21-4.ELsmp/build/include/linux/modversions.h -DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/tqueue.h:19, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/aio.h:4, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/net.h:88, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/fs.h:15, from /lib/modules/2.4.21-4.ELsmp /build/include/linux/capability.h:17, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/binfmts.h:4, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:10, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h: In function `__set_64bit_var': /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:24, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h: At top level: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21- 4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here make: *** [zaptel.o] Error 1 What could I be missing? :) Thank you -- Leandro Rzezak [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ --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 -- Mojo [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office Manger, Horan Company, LLC (907) 747- x112 ___ --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 -- Leandro Rzezak [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing
Re: [Asterisk-Users] Problem Compiling Zaptel 1.2.1
Hi all, Im using Asterisk 1.2.1 with zaptel and Libpri in same version on a Dell PIV Dual-Core 64 bits with no problems. I Compiled it on a Fedora Core 4 -- Argh Rafael Marconi Em 09/01/2006, às 19:34, Mojo with Horan Company, LLC escreveu: Are you running a 64-bit CPU or a 32bit one? I'm asking because I see the line with __set_64bit_var in there. In addition, are you using an SMP box, or is it just hyperthreading, or is this an accident and you're really just using single cpu? I don't know aything about asterisk and 64-bit compatibility (or SMP compatibility) but I thought these details might help someone else help you :) Moj Leandro Rzezak wrote: Removed /usr/include/asterisk, same thing.. Any clue? On 1/9/06, *Mojo with Horan Company, LLC* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: If you've ever compiled and installed an older version of * on this box, specifically from the 1.0 era, it's possible you need to try removing /usr/include/asterisk and see if that helps. Moj Leandro Rzezak wrote: [EMAIL PROTECTED] zaptel-1.2.1]# make gcc -I/lib/modules/2.4.21- 4.ELsmp/build/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/2.4.21-4.ELsmp /build/drivers/net/wan -I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS -include /lib/modules/2.4.21-4.ELsmp/build/include/linux/modversions.h -DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/tqueue.h:19, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/aio.h:4, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/net.h:88, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/fs.h:15, from /lib/modules/2.4.21-4.ELsmp /build/include/linux/ capability.h:17, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/binfmts.h:4, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:10, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h: In function `__set_64bit_var': /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict- aliasing rules /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict- aliasing rules In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:24, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h: At top level: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21- 4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here make: *** [zaptel.o] Error 1 What could I be missing? :) Thank you -- Leandro Rzezak [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] - --- ___ --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 -- Mojo [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office Manger, Horan Company, LLC (907) 747- x112 ___ --Bandwidth and Colocation provided by Easynews.com http://Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit:
Re: [Asterisk-Users] Problem Compiling Zaptel 1.2.1
Hello and thank you for your answer. I'm using a 32bits single CPU with Hyperthreading.On 1/9/06, Mojo with Horan Company, LLC [EMAIL PROTECTED] wrote:Are you running a 64-bit CPU or a 32bit one? I'm asking because I see the line with __set_64bit_var in there.In addition, are you using an SMP box, or is it just hyperthreading, oris this an accident and you're really just using single cpu?I don't know aything about asterisk and 64-bit compatibility (or SMP compatibility) but I thought these details might help someone else helpyou :)MojLeandro Rzezak wrote: Removed /usr/include/asterisk, same thing.. Any clue? On 1/9/06, *Mojo with Horan Company, LLC* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: If you've ever compiled and installed an older version of * on this box, specifically from the 1.0 era, it's possible you need to try removing /usr/include/asterisk and see if that helps. Moj Leandro Rzezak wrote: [EMAIL PROTECTED] zaptel-1.2.1]# make gcc -I/lib/modules/2.4.21- 4.ELsmp/build/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/lib/modules/2.4.21- 4.ELsmp/build/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/2.4.21-4.ELsmp /build/drivers/net/wan -I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS -include /lib/modules/2.4.21-4.ELsmp/build/include/linux/modversions.h -DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c In file included from /lib/modules/2.4.21- 4.ELsmp/build/include/linux/tqueue.h:19,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/aio.h:4,from /lib/modules/2.4.21- 4.ELsmp/build/include/linux/net.h:88,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/fs.h:15,from /lib/modules/2.4.21- 4.ELsmp /build/include/linux/capability.h:17,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/binfmts.h:4,from /lib/modules/2.4.21- 4.ELsmp/build/include/linux/sched.h:10,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22,from /lib/modules/2.4.21- 4.ELsmp/build/include/linux/slab.h:14,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5,from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h: In function `__set_64bit_var': /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:24,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14,from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h: At top level: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21- 4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here make: *** [zaptel.o] Error 1 What could I be missing? :) Thank you -- Leandro Rzezak [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] ___ --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 -- Mojo [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] Office Manger, Horan Company, LLC (907) 747- x112 ___ --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 -- Leandro Rzezak [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ --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--Mojo [EMAIL PROTECTED]Office Manger, Horan Company, LLC(907) 747- x112 ___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users-- Leandro Rzezak [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit:
[Asterisk-Users] Problem compiling zaptel-1.0.3
I am having a problem compiling zaptel on my Arch Linux (linux 2.6.10) system: CC [M] /home/sbn/src/zaptel-1.0.3/wcfxs.o /home/sbn/src/zaptel-1.0.3/wcfxs.c: In function `wcfxs_interrupt': /home/sbn/src/zaptel-1.0.3/wcfxs.c:473: sorry, unimplemented: inlining failed in call to 'wcfxs_proslic_check_hook': function body not available /home/sbn/src/zaptel-1.0.3/wcfxs.c:810: sorry, unimplemented: called from here /home/sbn/src/zaptel-1.0.3/wcfxs.c:474: sorry, unimplemented: inlining failed in call to 'wcfxs_proslic_recheck_sanity': function body not available /home/sbn/src/zaptel-1.0.3/wcfxs.c:812: sorry, unimplemented: called from here /home/sbn/src/zaptel-1.0.3/wcfxs.c:472: sorry, unimplemented: inlining failed in call to 'wcfxs_voicedaa_check_hook': function body not available /home/sbn/src/zaptel-1.0.3/wcfxs.c:814: sorry, unimplemented: called from here make[2]: *** [/home/sbn/src/zaptel-1.0.3/wcfxs.o] Error 1 make[1]: *** [_module_/home/sbn/src/zaptel-1.0.3] Error 2 make[1]: Leaving directory `/home/sbn/src/linux-2.6.10' make: *** [linux26] Error 2 Any ideas? I've attached the entire output from make, if that would help. Scott Script started on Fri 21 Jan 2005 11:33:01 AM PST [EMAIL PROTECTED] zaptel-1.0.3]$ make clean;make KERNEL_SOURCE=/home/sbn/src/linux-2.6.10 rm -f torisatool makefw tor2fw.h rm -f zttool rm -f *.o ztcfg tzdriver sethdlc sethdlc-new rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo rm -f *.ko *.mod.c .*o.cmd rm -f gendigits tones.h rm -f libtonezone* rm -f tor2ee rm -f core cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\/etc/zaptel.conf\ -c -o gendigits.o gendigits.c cc -o gendigits gendigits.o -lm ./gendigits cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\/etc/zaptel.conf\makefw.c -o makefw ./makefw tormenta2.rbt tor2fw tor2fw.h Loaded 69900 bytes from file cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\/etc/zaptel.conf\ -c -o ztcfg.o ztcfg.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\/etc/zaptel.conf\ -DBUILDING_TONEZONE -o zonedata.lo zonedata.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\/etc/zaptel.conf\ -DBUILDING_TONEZONE -o tonezone.lo tonezone.c ar rcs libtonezone.a zonedata.lo tonezone.lo cc -o ztcfg ztcfg.o -lm -L. libtonezone.a cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\/etc/zaptel.conf\ -c -o torisatool.o torisatool.c cc -o torisatool torisatool.o cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\/etc/zaptel.conf\ -c -o ztmonitor.o ztmonitor.c cc -o ztmonitor ztmonitor.o cc -c ztspeed.c cc -o ztspeed ztspeed.o make -C /home/sbn/src/linux-2.6.10 SUBDIRS=/home/sbn/src/zaptel-1.0.3 modules make[1]: Entering directory `/home/sbn/src/linux-2.6.10' CC [M] /home/sbn/src/zaptel-1.0.3/zaptel.o /home/sbn/src/zaptel-1.0.3/zaptel.c: In function `zt_chan_write': /home/sbn/src/zaptel-1.0.3/zaptel.c:1720: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c: In function `ioctl_load_zone': /home/sbn/src/zaptel-1.0.3/zaptel.c:2356: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c: In function `zt_common_ioctl': /home/sbn/src/zaptel-1.0.3/zaptel.c:2707: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c:2767: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c:2770: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c:2852: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c:2882: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c: In function `zt_chanandpseudo_ioctl': /home/sbn/src/zaptel-1.0.3/zaptel.c:3591: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c:3601: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c:3604: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c:3655: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c:3659: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result /home/sbn/src/zaptel-1.0.3/zaptel.c: At top level: /home/sbn/src/zaptel-1.0.3/zaptel.c:163: warning: 'fcstab'
[Asterisk-Users] Problem compiling ZAPTEL on Linux 2.6.6
Hi, I have Debian Linux with kernel 2.6.6. The all packages compiled except ZAPTEL where I have the following error: voipgw:/usr/src/zaptel# make make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modules make[1]: Entering directory `/usr/src/linux-2.6.6' CC [M] /usr/src/zaptel/zaptel.o /usr/src/zaptel/zaptel.c: In function `zt_net_open': /usr/src/zaptel/zaptel.c:1165: warning: passing arg 1 of `hdlc_open' from incompatible pointer type /usr/src/zaptel/zaptel.c: In function `zt_net_stop': /usr/src/zaptel/zaptel.c:1237: warning: passing arg 1 of `hdlc_close' from incompatible pointer type /usr/src/zaptel/zaptel.c: In function `zt_xmit': /usr/src/zaptel/zaptel.c:1293: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:1293: warning: type defaults to `int' in declaration of `__mptr' /usr/src/zaptel/zaptel.c:1293: warning: initialization from incompatible pointer type /usr/src/zaptel/zaptel.c:1293: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:1293: invalid type argument of `-' /usr/src/zaptel/zaptel.c:1353: warning: comparison of distinct pointer types lacks a cast /usr/src/zaptel/zaptel.c: In function `zt_chan_unreg': /usr/src/zaptel/zaptel.c:1486: warning: passing arg 1 of `unregister_hdlc_devicevoipgw:/usr/src/zaptel# make make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modules make[1]: Entering directory `/usr/src/linux-2.6.6' CC [M] /usr/src/zaptel/zaptel.o /usr/src/zaptel/zaptel.c: In function `zt_net_open': /usr/src/zaptel/zaptel.c:1165: warning: passing arg 1 of `hdlc_open' from incompatible pointer type /usr/src/zaptel/zaptel.c: In function `zt_net_stop': /usr/src/zaptel/zaptel.c:1237: warning: passing arg 1 of `hdlc_close' from incompatible pointer type /usr/src/zaptel/zaptel.c: In function `zt_xmit': /usr/src/zaptel/zaptel.c:1293: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:1293: warning: type defaults to `int' in declaration of `__mptr' /usr/src/zaptel/zaptel.c:1293: warning: initialization from incompatible pointer type /usr/src/zaptel/zaptel.c:1293: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:1293: invalid type argument of `-' /usr/src/zaptel/zaptel.c:1353: warning: comparison of distinct pointer types lacks a cast /usr/src/zaptel/zaptel.c: In function `zt_chan_unreg': /usr/src/zaptel/zaptel.c:1486: warning: passing arg 1 of `unregister_hdlc_device' from incompatible pointer type /usr/src/zaptel/zaptel.c: In function `zt_ctl_ioctl': /usr/src/zaptel/zaptel.c:2950: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:2955: warning: passing arg 1 of `unregister_hdlc_device' from incompatible pointer type /usr/src/zaptel/zaptel.c:3035: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:3037: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:3038: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:3040: warning: assignment from incompatible pointer type /usr/src/zaptel/zaptel.c:3047: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:3048: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:3049: warning: passing arg 1 of `register_hdlc_device' from incompatible pointer type /usr/src/zaptel/zaptel.c: In function `__zt_getbuf_chunk': /usr/src/zaptel/zaptel.c:4626: structure has no member named `netdev' /usr/src/zaptel/zaptel.c: In function `__zt_putbuf_chunk': /usr/src/zaptel/zaptel.c:5499: structure has no member named `netdev' make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1 make[1]: *** [/usr/src/zaptel] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.6' make: *** [linux26] Error 2 Could you be so kind to give me some suggestions? ___ 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
Re: [Asterisk-Users] Problem compiling ZAPTEL on Linux 2.6.6
On Wed, 2004-06-02 at 14:56, Miroslav Nachev wrote: I have Debian Linux with kernel 2.6.6. The all packages compiled except ZAPTEL where I have the following error: voipgw:/usr/src/zaptel# make make linux26 F ___ 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
Re[2]: [Asterisk-Users] Problem compiling ZAPTEL on Linux 2.6.6
Hello Fran, I try with make linux26 but the result is the same: voipgw:/usr/src/zaptel# make linux26 make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modules make[1]: Entering directory `/usr/src/linux-2.6.6' CC [M] /usr/src/zaptel/zaptel.o /usr/src/zaptel/zaptel.c: In function `zt_net_open': /usr/src/zaptel/zaptel.c:1165: warning: passing arg 1 of `hdlc_open' from incompatible pointer type /usr/src/zaptel/zaptel.c: In function `zt_net_stop': /usr/src/zaptel/zaptel.c:1237: warning: passing arg 1 of `hdlc_close' from incompatible pointer type /usr/src/zaptel/zaptel.c: In function `zt_xmit': /usr/src/zaptel/zaptel.c:1293: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:1293: warning: type defaults to `int' in declaration of `__mptr' /usr/src/zaptel/zaptel.c:1293: warning: initialization from incompatible pointer type /usr/src/zaptel/zaptel.c:1293: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:1293: invalid type argument of `-' /usr/src/zaptel/zaptel.c:1353: warning: comparison of distinct pointer types lacks a cast /usr/src/zaptel/zaptel.c: In function `zt_chan_unreg': /usr/src/zaptel/zaptel.c:1486: warning: passing arg 1 of `unregister_hdlc_device' from incompatible pointer type /usr/src/zaptel/zaptel.c: In function `zt_ctl_ioctl': /usr/src/zaptel/zaptel.c:2950: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:2955: warning: passing arg 1 of `unregister_hdlc_device' from incompatible pointer type /usr/src/zaptel/zaptel.c:3035: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:3037: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:3038: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:3040: warning: assignment from incompatible pointer type /usr/src/zaptel/zaptel.c:3047: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:3048: structure has no member named `netdev' /usr/src/zaptel/zaptel.c:3049: warning: passing arg 1 of `register_hdlc_device' from incompatible pointer type /usr/src/zaptel/zaptel.c: In function `__zt_getbuf_chunk': /usr/src/zaptel/zaptel.c:4626: structure has no member named `netdev' /usr/src/zaptel/zaptel.c: In function `__zt_putbuf_chunk': /usr/src/zaptel/zaptel.c:5499: structure has no member named `netdev' make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1 make[1]: *** [/usr/src/zaptel] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.6' make: *** [linux26] Error 2 -- Best regards, Miroslavmailto:[EMAIL PROTECTED] Wednesday, June 2, 2004, 6:17:12 PM, you wrote: FB On Wed, 2004-06-02 at 14:56, Miroslav Nachev wrote: I have Debian Linux with kernel 2.6.6. The all packages compiled except ZAPTEL where I have the following error: voipgw:/usr/src/zaptel# make FB make linux26 FB F FB ___ FB Asterisk-Users mailing list FB [EMAIL PROTECTED] FB http://lists.digium.com/mailman/listinfo/asterisk-users FB To UNSUBSCRIBE or update options visit: FBhttp://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
[Asterisk-Users] Problem compiling zaptel with BRIstuff 0.0.2
This is what i got ... and i could not find the problem by my own /sbin/depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/qozap.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/tor2.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/torisa.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcfxo.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcfxs.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wct1xxp.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wct4xxp.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcusb.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/zaptel.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/ztd-eth.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/ztdynamic.o [ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample /etc/zaptel.conf [EMAIL PROTECTED] zaptel_bri]# DISCLAIMER: The content of this e-mail message does not constitute a commitment of DKMA bvba This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the intended recipient only. Any use of the information contained herein ( including, but not limited to, total or partial reproduction, communication or distribution in any form ) by persons other than the designated recipient(s) is prohibited.If an addressing or transmission error has misdirected this e-mail, please notify the author, either by telephone or by e-mail and delete the material from any computer. ___ 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
Re: [Asterisk-Users] Problem compiling zaptel with BRIstuff 0.0.2
Have you installed the zaptel module (zaptel.o) in your modules ? Try an : insmod zaptel If it does not work, it means it has not been installed. - Original Message - From: Michael Devenijn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 10:45 AM Subject: [Asterisk-Users] Problem compiling zaptel with BRIstuff 0.0.2 This is what i got ... and i could not find the problem by my own /sbin/depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/qozap.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/tor2.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/torisa.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcfxo.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcfxs.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wct1xxp.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wct4xxp.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcusb.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/zaptel.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/ztd-eth.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/ztdynamic.o [ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample /etc/zaptel.conf [EMAIL PROTECTED] zaptel_bri]# DISCLAIMER: The content of this e-mail message does not constitute a commitment of DKMA bvba This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the intended recipient only. Any use of the information contained herein ( including, but not limited to, total or partial reproduction, communication or distribution in any form ) by persons other than the designated recipient(s) is prohibited.If an addressing or transmission error has misdirected this e-mail, please notify the author, either by telephone or by e-mail and delete the material from any computer. ___ 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
RE: [Asterisk-Users] Problem compiling zaptel with BRIstuff 0.0.2
yes i installed it ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Frederic Olivie Sent: woensdag 19 mei 2004 12:44 To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Problem compiling zaptel with BRIstuff 0.0.2 Have you installed the zaptel module (zaptel.o) in your modules ? Try an : insmod zaptel If it does not work, it means it has not been installed. - Original Message - From: Michael Devenijn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 10:45 AM Subject: [Asterisk-Users] Problem compiling zaptel with BRIstuff 0.0.2 This is what i got ... and i could not find the problem by my own /sbin/depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/qozap.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/tor2.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/torisa.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcfxo.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcfxs.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wct1xxp.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wct4xxp.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcusb.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/zaptel.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/ztd-eth.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/ztdynamic.o [ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample /etc/zaptel.conf [EMAIL PROTECTED] zaptel_bri]# DISCLAIMER: The content of this e-mail message does not constitute a commitment of DKMA bvba This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the intended recipient only. Any use of the information contained herein ( including, but not limited to, total or partial reproduction, communication or distribution in any form ) by persons other than the designated recipient(s) is prohibited.If an addressing or transmission error has misdirected this e-mail, please notify the author, either by telephone or by e-mail and delete the material from any computer. ___ 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 ___ 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
Re: [Asterisk-Users] Problem compiling zaptel with BRIstuff 0.0.2
Do an : insmod qozap You'll have the list of unresolved symbols. You can post a subset here, it will help determine what's missing. - Original Message - From: Michael Devenijn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 12:56 PM Subject: RE: [Asterisk-Users] Problem compiling zaptel with BRIstuff 0.0.2 yes i installed it ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Frederic Olivie Sent: woensdag 19 mei 2004 12:44 To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Problem compiling zaptel with BRIstuff 0.0.2 Have you installed the zaptel module (zaptel.o) in your modules ? Try an : insmod zaptel If it does not work, it means it has not been installed. - Original Message - From: Michael Devenijn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 10:45 AM Subject: [Asterisk-Users] Problem compiling zaptel with BRIstuff 0.0.2 This is what i got ... and i could not find the problem by my own /sbin/depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/qozap.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/tor2.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/torisa.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcfxo.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcfxs.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wct1xxp.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wct4xxp.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/wcusb.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/zaptel.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/ztd-eth.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2115.nptl/misc/ztdynamic.o [ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample /etc/zaptel.conf [EMAIL PROTECTED] zaptel_bri]# DISCLAIMER: The content of this e-mail message does not constitute a commitment of DKMA bvba This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the intended recipient only. Any use of the information contained herein ( including, but not limited to, total or partial reproduction, communication or distribution in any form ) by persons other than the designated recipient(s) is prohibited.If an addressing or transmission error has misdirected this e-mail, please notify the author, either by telephone or by e-mail and delete the material from any computer. ___ 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 ___ 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
re: [Asterisk-Users] Problem compiling zaptel
modversions.h is actually created when you configure your kernel. You need a kernel source tree which matches the kernel you're running. I don't mean to start a distribution flame war on here, but if you don't know how to compile a kernel (and don't really want to learn) install RedHat and just be sure to choose the development pieces (or do a full install) and you'll get a kernel source tree already setup to build against the binary one it installs. If you do want to compile your own kernel, I believe there is a kernel howto you can find on linux.com. Mark On Sun, 23 Feb 2003, Martin Pycko wrote: modversions.h is a part of kernel sources. If you don't have it in /usr/src/linux/include/linux than I bet you didn't install the kernel sources (not headers) or you have a symlink of /usr/src/linux/include/ pointing to /usr/include regards Martin On Sun, 23 Feb 2003, Amos Latteier wrote: Martin Pycko wrote: You need to install kernel SOURCES and place it in /usr/src and then create a symlink to it called linux so you would have /usr/src/linux directory . Thanks for the suggestion, however, I tried this but I still can't compile. $ make cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o gendigits.o gendigits.c cc -o gendigits gendigits.o -lm ./gendigits gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/usr/src/linux/drivers/net/wan -I /usr/src/linux/include -I/usr/src/linux/include/net -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA -c zaptel.c In file included from zaptel.c:35: /usr/src/linux/include/linux/module.h:21: linux/modversions.h: No such file or directory make: *** [zaptel.o] Error 1 I don't know very much about compiling, but it seems that module.h is looking for modversions.h. #ifdef __GENKSYMS__ # define _set_ver(sym) sym # undef MODVERSIONS # define MODVERSIONS #else /* ! __GENKSYMS__ */ # if !defined(MODVERSIONS) defined(EXPORT_SYMTAB) # define _set_ver(sym) sym # include linux/modversions.h # endif #endif /* __GENKSYMS__ */ I don't have any modversions.h file on my computer. It appears to me that perhaps neither __GENKSYMS__ nor MODVERSIONS are defined, but EXPORT_SYMTAB is. I don't know what these variables mean, or if these settings are correct or not. There's also a line in the Makefile that seems to look for a modversions.h file and include it if it's found. KFLAGS+=$(shell [ -f $(KINCLUDES)/linux/modversions.h ] echo -DMODVERSIONS -include $(K\ INCLUDES)/linux/modversions.h) Should this also tweak some of the variables that module.h is looking for to let it know that it shouldn't include modversions.h? I'm way beyond my depth here. Thanks for any suggestions! -Amos ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users