You do not appear to have the sources for the 2.6.9-42.ELsmp

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

You do not appear to have the sources for the 2.6.9-42.ELsmp

Postby abhasbajpai » Thu Sep 28, 2006 12:58 am

hi
i am getting this error while installing zaptel
You do not appear to have the sources for the 2.6.9-42.ELsmp

exact code
[root@Zee zaptel-1.2.6]# make
Makefile:173: target `ztdummy.o' given more than once in the same rule.
ZAPTELVERSION="1.2.6" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else \
mv version.h.tmp version.h ; \
fi

rm -f version.h.tmp

You do not appear to have the sources for the 2.6.9-42.ELsmp kernel installed.
make: *** [linux26] Error 1
[root@Zee zaptel-1.2.6]# make clean
Makefile:173: target `ztdummy.o' given more than once in the same rule.
rm -f torisatool makefw tor2fw.h radfw.h
rm -f ztcfg torisatool makefw ztmonitor ztspeed zttool zttest fxotune
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so *.lo
make -C SUBDIRS=/usr/src/asterisk/zaptel-1.2.6 clean
make: *** SUBDIRS=/usr/src/asterisk/zaptel-1.2.6: No such file or directory. Stop.
make: *** [clean] Error 2
[root@Zee zaptel-1.2.6]# clear
[root@Zee zaptel-1.2.6]# make
Makefile:173: target `ztdummy.o' given more than once in the same rule.
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 > tones.h
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
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
ZAPTELVERSION="1.2.6" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else \
mv version.h.tmp version.h ; \
fi

rm -f version.h.tmp
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 -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o libtonezone.a -lm
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 -o ztspeed.o -c ztspeed.c
cc -o ztspeed ztspeed.o
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

You do not appear to have the sources for the 2.6.9-42.ELsmp kernel installed.
make: *** [linux26] Error 1




i google also but cant get any solution
using centos 4 with yum update
help needed urgently :?:

uname -r
2.6.9-42.ELsmp

[root@Zee kernels]# pwd
/usr/src/kernels
[root@Zee kernels]# ls
2.6.9-42.0.2.EL-hugemem-i686 2.6.9-42.0.2.EL-smp-i686
2.6.9-42.0.2.EL-i686 2.6.9-42.EL-i686
[root@Zee kernels]#

[root@Zee asterisk]# rpm -qa|grep kernel
kernel-smp-2.6.9-42.EL
kernel-smp-devel-2.6.9-42.0.2.EL
kernel-devel-2.6.9-42.0.2.EL
kernel-2.6.9-42.0.2.EL
kernel-ib-1.0-1
kernel-devel-2.6.9-42.EL
kernel-hugemem-devel-2.6.9-42.0.2.EL
kernel-smp-2.6.9-42.0.2.EL
kernel-2.6.9-42.EL
kernel-utils-2.4-13.1.83
abhasbajpai
 
Posts: 89
Joined: Sun Aug 13, 2006 1:22 am

Postby mflorell » Thu Sep 28, 2006 6:25 am

We recommend using Linux 2.6.13 or higher if you want to use ztdummy. see voip-info.org for more info.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby rudra_ach » Thu Sep 28, 2006 6:43 am

install kernel-smp-devel rpm , that matches your kernel version.you can get it from rpm.pbone.net
rudra_ach
 
Posts: 108
Joined: Fri Jun 23, 2006 11:22 am


Return to Support

Who is online

Users browsing this forum: No registered users and 63 guests