Hi, I am quite new to Asterisk and Linux in general. When l try to install the Zaptel component, l get the following error: asterisk:/usr/src/zaptel# 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=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA -c zaptel.c In file included from zaptel.c:36: /usr/include/linux/module.h:21: linux/modversions.h: No such file or directory make: *** [zaptel.o] Error 1 asterisk:/usr/src/zaptel# Can anyone point me in the right direction. Cheers, Phil
Depending on your distribution, you will either need to install your own kernel, or install the kernel source. it should come as a package for your distro. On Sat, Aug 30, 2003 at 08:23:08PM +1000, Phillip Britt wrote:> Hi, > > I am quite new to Asterisk and Linux in general. When l try to install the > Zaptel component, l get the following error: > > asterisk:/usr/src/zaptel# 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=0xd0000 -DDEFAULT_TONE_ZONE=0 > -DSTANDALONE_ZAPATA -c zaptel.c > In file included from zaptel.c:36: > /usr/include/linux/module.h:21: linux/modversions.h: No such file or > directory > make: *** [zaptel.o] Error 1 > asterisk:/usr/src/zaptel# > > > Can anyone point me in the right direction. > > Cheers, > Phil > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
On Sat, 2003-08-30 at 12:23, Phillip Britt wrote:> Hi, > > I am quite new to Asterisk and Linux in general. When l try to install the > Zaptel component, l get the following error: > > asterisk:/usr/src/zaptel# 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=0xd0000 -DDEFAULT_TONE_ZONE=0 > -DSTANDALONE_ZAPATA -c zaptel.c > In file included from zaptel.c:36: > /usr/include/linux/module.h:21: linux/modversions.h: No such file or > directory > make: *** [zaptel.o] Error 1 > asterisk:/usr/src/zaptel#Looks like you have not installed any kernel source to me. -- Dave Cotton <dcotton@linuxautrement.com>
Thanks for the info. I am running Debian. Do you know if l would need to install my own Kernel on that distribution. I have checked and it looks like the kernel sources are installed. Any other suggestions? Thanks, Phil -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of andrewg@felinemenace.org Sent: Saturday, August 30, 2003 8:31 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Installation Problem Depending on your distribution, you will either need to install your own kernel, or install the kernel source. it should come as a package for your distro. On Sat, Aug 30, 2003 at 08:23:08PM +1000, Phillip Britt wrote:> Hi, > > I am quite new to Asterisk and Linux in general. When l try to installthe> Zaptel component, l get the following error: > > asterisk:/usr/src/zaptel# 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=0xd0000 -DDEFAULT_TONE_ZONE=0 > -DSTANDALONE_ZAPATA -c zaptel.c > In file included from zaptel.c:36: > /usr/include/linux/module.h:21: linux/modversions.h: No such file or > directory > make: *** [zaptel.o] Error 1 > asterisk:/usr/src/zaptel# > > > Can anyone point me in the right direction. > > Cheers, > Phil > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > 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
* cd /usr/src/linux (you did unarchive the sources, and ln -s /usr/src/<whatever Debian called it> /usr/src/linux, right?) * make config, hit enter through the whole thing * make dep Go about compiling *. modversions.h is generated by make dep. Daryl> -----Original Message----- > From: Phillip Britt [mailto:phil@wideband.net.au] > Sent: Saturday, August 30, 2003 11:09 PM > To: asterisk-users@lists.digium.com > Subject: RE: [Asterisk-Users] Installation Problem > > > Thanks for the info. I am running Debian. Do you know if l > would need to install my own Kernel on that distribution. I > have checked and it looks like the kernel sources are installed. > > Any other suggestions? > > Thanks, > Phil > > -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of > andrewg@felinemenace.org > Sent: Saturday, August 30, 2003 8:31 PM > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] Installation Problem > > Depending on your distribution, you will either need to > install your own kernel, or install the kernel source. it > should come as a package for your distro. > > > On Sat, Aug 30, 2003 at 08:23:08PM +1000, Phillip Britt wrote: > > Hi, > > > > I am quite new to Asterisk and Linux in general. When l try to > > install > the > > Zaptel component, l get the following error: > > > > asterisk:/usr/src/zaptel# 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=0xd0000 -DDEFAULT_TONE_ZONE=0 > > -DSTANDALONE_ZAPATA -c zaptel.c In file included from zaptel.c:36: > > /usr/include/linux/module.h:21: linux/modversions.h: No such file or > > directory > > make: *** [zaptel.o] Error 1 > > asterisk:/usr/src/zaptel# > > > > > > Can anyone point me in the right direction. > > > > Cheers, > > Phil > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/aster> isk-users > > > _______________________________________________ > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/aster> isk-users >
Phil - Here are my "generic" notes and reminders for Asterisk on Debian. These may be hacks; your mileage may vary. debian asterisk install notes: - in asterisk/Makefile: added "-I/usr/local/ssl/include" to CFLAGS line - in asterisk/res/Makefile: added "-L/usr/local/ssl/lib" to CRYPTO_LIBS line - in zaptel/Makefile: commented out KFLAGS+=-DCONFIG_ZAPATA_PPP line - installed libnewt-dev - installed newt-tcl (?needed) - installed "apt-get source openssl" - installed "apt-get install openssl" JT>Thanks for the info. I am running Debian. Do you know if l would need to >install my own Kernel on that distribution. I have checked and it looks >like the kernel sources are installed. > >Any other suggestions? > >Thanks, >Phil > >-----Original Message----- >From: asterisk-users-admin@lists.digium.com >[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of >andrewg@felinemenace.org >Sent: Saturday, August 30, 2003 8:31 PM >To: asterisk-users@lists.digium.com >Subject: Re: [Asterisk-Users] Installation Problem > >Depending on your distribution, you will either need to install your own >kernel, or install the kernel source. it should come as a package for your >distro. > > >On Sat, Aug 30, 2003 at 08:23:08PM +1000, Phillip Britt wrote: >> Hi, >> >> I am quite new to Asterisk and Linux in general. When l try to install >the >> Zaptel component, l get the following error: >> >> asterisk:/usr/src/zaptel# 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=0xd0000 -DDEFAULT_TONE_ZONE=0 >> -DSTANDALONE_ZAPATA -c zaptel.c >> In file included from zaptel.c:36: >> /usr/include/linux/module.h:21: linux/modversions.h: No such file or >> directory >> make: *** [zaptel.o] Error 1 >> asterisk:/usr/src/zaptel# >> >> >> Can anyone point me in the right direction. >> >> Cheers, >> Phil >> >> _______________________________________________ >> Asterisk-Users mailing list >> Asterisk-Users@lists.digium.com >> 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 > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users
Hi All, Because I am new to both Asterisk and Linux, I decided to use Signate's Asterisk Installation CD which installed without error and I now have a working copy of CentOS (Redhat Enterprise). When the system boots I can see Asterisk starting successfully. If I look in /ect/asterisk, I can see and open all the scripts. All the C files seem to be in place and if I open /var/log/messages I can see the following line: "Apr 4 15:22:56 localhost asterisk: Safe-asterisk startup succeeded" So far so good; however, if I search in /var/log/messages for: "XXX # ##:##:## pbx1 kernal: Found a Wildcard FXO: Wildcard X101P" it isn't there. Also if I look in /proc/interrupts for "wcfxo", it also isn't there. Furthermore, when I shut the system down, I can see the message "Shutting down asterisk [FAILED]" Can anyone tell a dumb newbie why the system won't recognize the card and the system can't shut down asterisk? Thanks in advance for any help Jerry
Try modprobe wctdm. It looks like the drivers for the card are not loaded. You will also need to edit /etc/zaptel.conf and /etc/asterisk/Zapata.conf -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jerry Hobbs Sent: Monday, April 04, 2005 10:46 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Installation problem Hi All, Because I am new to both Asterisk and Linux, I decided to use Signate's Asterisk Installation CD which installed without error and I now have a working copy of CentOS (Redhat Enterprise). When the system boots I can see Asterisk starting successfully. If I look in /ect/asterisk, I can see and open all the scripts. All the C files seem to be in place and if I open /var/log/messages I can see the following line: "Apr 4 15:22:56 localhost asterisk: Safe-asterisk startup succeeded" So far so good; however, if I search in /var/log/messages for: "XXX # ##:##:## pbx1 kernal: Found a Wildcard FXO: Wildcard X101P" it isn't there. Also if I look in /proc/interrupts for "wcfxo", it also isn't there. Furthermore, when I shut the system down, I can see the message "Shutting down asterisk [FAILED]" Can anyone tell a dumb newbie why the system won't recognize the card and the system can't shut down asterisk? Thanks in advance for any help Jerry _______________________________________________ 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