I take it you are running RedHat 8 (or 9) since this is the most up-to-date kernel. Did you install the kernel-sources and kernel-util rpms as well? You'll need these in order to compile and install zaptel. -sb -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of T. Chan Sent: Friday, January 30, 2004 4:01 PM To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] Compiling zaptel Dear all, I have been testing with Asterisk for a bit of time and yesterday I tried to upgrade my kernel to 2.4.20-28, but after I upgraded the kernel, I was not able to compile Zaptel. The kernel runs good and everything intact, I was trying to recompile Asterisk in order to make sure that everything was clean. I have gone into /usr/src/zaptel, done a make clean and then done a make install as what I have always done after updating the asterisk version. However, now I am getting the following error, wct4xxp.c: In function 't4-interrupt' wct4xxp.c: 1357:structure has no member named 'Lock' make: *** [wct4xxp.o] error and then it stopped compiling, can someone please let me know if I am missing something please, greatly appreciated. thanks TC --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.563 / Virus Database: 355 - Release Date: 1/17/2004 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Dear sb I am running redhat 7.3 upgraded to this version of kernel. Yes, I have installed the kernel-sources but not the kernel-util rpms, I don't think I ever did install kernel-util with the original installation of redhat 7.3 or did I? But I was having no problem installing zap at that time though. Do you think I need that? Thanks TC -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Bisker, Scott (7805) Sent: Friday, January 30, 2004 4:10 PM To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] Compiling zaptel I take it you are running RedHat 8 (or 9) since this is the most up-to-date kernel. Did you install the kernel-sources and kernel-util rpms as well? You'll need these in order to compile and install zaptel. -sb -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of T. Chan Sent: Friday, January 30, 2004 4:01 PM To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] Compiling zaptel Dear all, I have been testing with Asterisk for a bit of time and yesterday I tried to upgrade my kernel to 2.4.20-28, but after I upgraded the kernel, I was not able to compile Zaptel. The kernel runs good and everything intact, I was trying to recompile Asterisk in order to make sure that everything was clean. I have gone into /usr/src/zaptel, done a make clean and then done a make install as what I have always done after updating the asterisk version. However, now I am getting the following error, wct4xxp.c: In function 't4-interrupt' wct4xxp.c: 1357:structure has no member named 'Lock' make: *** [wct4xxp.o] error and then it stopped compiling, can someone please let me know if I am missing something please, greatly appreciated. thanks TC --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.563 / Virus Database: 355 - Release Date: 1/17/2004 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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 Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.563 / Virus Database: 355 - Release Date: 1/17/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.563 / Virus Database: 355 - Release Date: 1/17/2004
Hello List! I am currently trying to compile zaptel. A "make" gives me this error: In file included from /usr/src/zaptel/zaptel.c:40: /usr/src/zaptel/zconfig.h:10:27: linux/version.h: No such file or directory . . . Where in the Makefile do i have to change the path to my include files? I have the following version.h files: /usr/src/kernel-headers-2.6.8-1-386/include/config/isdn/diversion.h /usr/src/kernel-headers-2.6.8-1-386/include/linux/version.h /usr/src/kernel-headers-2.6.8-1/include/linux/dvb/version.h /usr/src/kernel-headers-2.6.8-1/include/linux/version.h /usr/src/kernel-headers-2.6.8-1/include/pcmcia/version.h /usr/src/kernel-headers-2.6.8-1/include/sound/version.h /usr/src/kernel-source-2.6.8/arch/i386/math-emu/version.h /usr/src/kernel-source-2.6.8/drivers/net/sk98lin/h/skversion.h /usr/src/kernel-source-2.6.8/drivers/scsi/qla2xxx/qla_version.h /usr/src/kernel-source-2.6.8/fs/xfs/linux-2.6/xfs_version.h /usr/src/kernel-source-2.6.8/include/linux/dvb/version.h /usr/src/kernel-source-2.6.8/include/pcmcia/version.h /usr/src/kernel-source-2.6.8/include/sound/version.h Thanks, Mario
try making a symbolic link ln -s /usr/src/kernel-source-2.6.8 /usr/src/linux and see if it finds the source. On Mon, 2004-09-13 at 18:06, asterisk@bortal.de wrote:> Hello List! > I am currently trying to compile zaptel. > > A "make" gives me this error: > In file included from /usr/src/zaptel/zaptel.c:40: > /usr/src/zaptel/zconfig.h:10:27: linux/version.h: No such file or directory > . > . > . > Where in the Makefile do i have to change the path to my include files? > I have the following version.h files: > > /usr/src/kernel-headers-2.6.8-1-386/include/config/isdn/diversion.h > /usr/src/kernel-headers-2.6.8-1-386/include/linux/version.h > /usr/src/kernel-headers-2.6.8-1/include/linux/dvb/version.h > /usr/src/kernel-headers-2.6.8-1/include/linux/version.h > /usr/src/kernel-headers-2.6.8-1/include/pcmcia/version.h > /usr/src/kernel-headers-2.6.8-1/include/sound/version.h > /usr/src/kernel-source-2.6.8/arch/i386/math-emu/version.h > /usr/src/kernel-source-2.6.8/drivers/net/sk98lin/h/skversion.h > /usr/src/kernel-source-2.6.8/drivers/scsi/qla2xxx/qla_version.h > /usr/src/kernel-source-2.6.8/fs/xfs/linux-2.6/xfs_version.h > /usr/src/kernel-source-2.6.8/include/linux/dvb/version.h > /usr/src/kernel-source-2.6.8/include/pcmcia/version.h > /usr/src/kernel-source-2.6.8/include/sound/version.h > > > > Thanks, Mario > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
I had the same problem under Red Hat Fedora Core 2. Try this: uname -r (will get you the "2.6.5-1.358", in my case) And then: ln -sf /lib/modules/2.6.5-1.358/build/ /usr/src/linux-2.6 ln -sf /lib/modules/2.6.5-1.358/build/ /usr/src/linux Go to the /usr/src/zaptel directory as root and run: Make clean Make linux2.6 This worked for me. And it also worked under SuSE Professional v9.1 as well. Hope this helps! -----Original Message----- From: ivlok [mailto:ivlok@verizon.net] Sent: Monday, September 13, 2004 11:38 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] compiling zaptel try making a symbolic link ln -s /usr/src/kernel-source-2.6.8 /usr/src/linux and see if it finds the source. On Mon, 2004-09-13 at 18:06, asterisk@bortal.de wrote:> Hello List! > I am currently trying to compile zaptel. > > A "make" gives me this error: > In file included from /usr/src/zaptel/zaptel.c:40: > /usr/src/zaptel/zconfig.h:10:27: linux/version.h: No such file or > directory . > . > . > Where in the Makefile do i have to change the path to my include files? > I have the following version.h files: > > /usr/src/kernel-headers-2.6.8-1-386/include/config/isdn/diversion.h > /usr/src/kernel-headers-2.6.8-1-386/include/linux/version.h > /usr/src/kernel-headers-2.6.8-1/include/linux/dvb/version.h > /usr/src/kernel-headers-2.6.8-1/include/linux/version.h > /usr/src/kernel-headers-2.6.8-1/include/pcmcia/version.h > /usr/src/kernel-headers-2.6.8-1/include/sound/version.h > /usr/src/kernel-source-2.6.8/arch/i386/math-emu/version.h > /usr/src/kernel-source-2.6.8/drivers/net/sk98lin/h/skversion.h > /usr/src/kernel-source-2.6.8/drivers/scsi/qla2xxx/qla_version.h > /usr/src/kernel-source-2.6.8/fs/xfs/linux-2.6/xfs_version.h > /usr/src/kernel-source-2.6.8/include/linux/dvb/version.h > /usr/src/kernel-source-2.6.8/include/pcmcia/version.h > /usr/src/kernel-source-2.6.8/include/sound/version.h > > > > Thanks, Mario > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > 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 Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Hi, I've been running * for a couple of month now. However, now i want to run ztdummy. Compiling works (apart from some warning regarding strict-aliasing), however installation gives missing Unresolved symbols: if [ -d /etc/modutils ]; then \ /sbin/update-modules ; \ fi depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-686/misc/wcusb.o depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-686/misc/zaptel.o depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-686/misc/ztd-eth.o /sbin/depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-686/misc/wcusb.o depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-686/misc/zaptel.o depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-686/misc/ztd-eth.o [ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample /etc/zaptel.conf I ran (as suggested on this list) depmod -ae with the following information: pbx:/usr/src/zaptel# depmod -ae depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-686/misc/wcusb.o depmod: usb_submit_urb_R8c511495 depmod: usb_register_Re5a350f5 depmod: usb_deregister_R7002f0f3 depmod: usb_control_msg_R2ea78c08 depmod: usb_set_interface_Ra1eb4dc9 depmod: usb_set_configuration_Rd5d22e8d depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-686/misc/zaptel.o depmod: create_proc_entry_Rfe079653 depmod: remove_wait_queue_R9bd53081 depmod: proc_mkdir_Reb28b76c depmod: remove_proc_entry_R63256fd5 depmod: __pollwait_R05dbf31f depmod: add_wait_queue_R27b3fac5 depmod: register_chrdev_R007abe28 depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-686/misc/ztd-eth.o depmod: skb_over_panic_R0f38fc6b depmod: dev_queue_xmit_Rea2fb899 depmod: dev_remove_pack_Rdf0e2a5d depmod: alloc_skb_R0f71f7ff depmod: dev_get_by_name_R14968228 depmod: __kfree_skb_R72b0e92c depmod: dev_add_pack_R52914681 depmod: skb_under_panic_Rf1c9f235 Here is a list of the relevant modules loaded: pbx:/usr/src/zaptel# lsmod|grep usb usb-uhci 23344 0 (unused) usbcore 62924 1 [usb-uhci] pbx:/usr/src/zaptel# lsmod|grep ppp ppp_generic 20388 0 (unused) slhc 4784 0 [ppp_generic isdn] Any and all help is greatly appreciated. -- Best regards Peer Oliver Schmidt the internet company
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o zttool.o zttool.c cc -o zttool zttool.o -lnewt cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" zttest.c -o zttest cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o fxotune.o fxotune.c cc -o fxotune fxotune.o -lm make -C /lib/modules/2.6.11.4-21.8-default/build SUBDIRS=/usr/src/zaptel modules make[1]: Entering directory `/usr/src/linux-2.6.11.4-21.8-obj/i386/default' make[1]: *** No rule to make target `modules'. Stop. make[1]: Leaving directory `/usr/src/linux-2.6.11.4-21.8-obj/i386/default' make: *** [linux26] Error 2 Running Suse 9.3 Pro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050906/138826bd/attachment.htm