Unable to install Zaptel in Fedora Core 6

Hi

I am unable to install Zaptel 1.4.0 in my Fedora core 6 which is running on Kernal 2.6
When i give make clean it given the below error

grep: /lib/modules/2.6.18-1.2798.fc6/build/include/linux/autoconf.h: No such file or directory
make[1]: Entering directory /usr/src/zaptel-1.4.0/menuselect' rm -f menuselect *.o make[2]: Entering directory/usr/src/zaptel-1.4.0/menuselect/mxml’
/bin/rm -f mxmldoc.o testmxml.o mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o libmxml.a mxmldoc doc/mxml.3 doc/mxmldoc.1 testmxml mxml.xml
/bin/rm -f mxmldoc-static libmxml.a
/bin/rm -f *.bck .bak
/bin/rm -f config.cache config.log config.status
/bin/rm -f -r autom4te
.cache
make[2]: Leaving directory /usr/src/zaptel-1.4.0/menuselect/mxml' make[1]: Leaving directory/usr/src/zaptel-1.4.0/menuselect’
rm -f torisatool makefw tor2fw.h radfw.h
rm -f fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest zttool
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f libtonezone.so libtonezone.a *.lo
make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/usr/src/zaptel-1.4.0 clean
make: ***/lib/modules/2.6.18-1.2798.fc6/build: No such file or directory. Stop.
make: *** [clean] Error 2

even though /lib/modules/2.6.18-1.2798.fc6/build file exists and is used in the instruction before the error
i am using make version 3.81 and on running the configure file it is building zaptel

On running make it gives

grep: /lib/modules/2.6.18-1.2798.fc6/build/include/linux/autoconf.h: No such file or directory
make[1]: Entering directory /usr/src/zaptel-1.4.0/menuselect' make[2]: Entering directory/usr/src/zaptel-1.4.0/menuselect’
make[3]: Entering directory /usr/src/zaptel-1.4.0/menuselect/mxml' gcc -O -Wall -c mxml-attr.c gcc -O -Wall -c mxml-entity.c gcc -O -Wall -c mxml-file.c gcc -O -Wall -c mxml-index.c gcc -O -Wall -c mxml-node.c gcc -O -Wall -c mxml-search.c gcc -O -Wall -c mxml-set.c gcc -O -Wall -c mxml-private.c gcc -O -Wall -c mxml-string.c /bin/rm -f libmxml.a /usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o a - mxml-attr.o a - mxml-entity.o a - mxml-file.o a - mxml-index.o a - mxml-node.o a - mxml-search.o a - mxml-set.o a - mxml-private.o a - mxml-string.o ranlib libmxml.a make[3]: Leaving directory/usr/src/zaptel-1.4.0/menuselect/mxml’
gcc -Wall -o menuselect.o -g -c -D_GNU_SOURCE menuselect.c
gcc -Wall -o menuselect_curses.o -g -c -D_GNU_SOURCE menuselect_curses.c
gcc -Wall -o strcompat.o -g -c -D_GNU_SOURCE strcompat.c
gcc -g -Wall -o menuselect menuselect.o menuselect_curses.o strcompat.o mxml/libmxml.a -lncurses
make[2]: Leaving directory /usr/src/zaptel-1.4.0/menuselect' make[1]: Leaving directory/usr/src/zaptel-1.4.0/menuselect’
grep: /lib/modules/2.6.18-1.2798.fc6/build/include/linux/autoconf.h: No such file or directory
make[1]: Entering directory /usr/src/zaptel-1.4.0' gcc -o makefw makefw.c ./makefw tormenta2.rbt tor2fw > tor2fw.h Loaded 69900 bytes from file ./makefw pciradio.rbt radfw > radfw.h Loaded 42096 bytes from file You do not appear to have the sources for the 2.6.18-1.2798.fc6 kernel installed. make[1]: *** [linux26] Error 1 make[1]: Leaving directory/usr/src/zaptel-1.4.0’
make: *** [all] Error 2

where can i find the sources if that is the problem?

Please Help!!

Yum install them may well help a bit !!!

I tried Yum but no use. it says that the headers are not defined :frowning:

ever heard of google ?

ftp://mirrors.kernel.org/fedora/core/6/ … 6.i386.rpm

Thanks but these packages are already installed in my system, i am unable to find out which resource is it unable to find…

Bit of a clue is…

What does uname -r say ?

then what is in the directory in the /usr/src ?

also have you checked the spinlock.h this seems to be a centos issue but may affect Fedora as well.[/quote]

My Kernal Release Version dispalyed with uname -r is
2.6.18-1.2798.fc6

and in /usr/src the files i have are

asterisk-1.4.1 libpri-1.4.0.tar.gz redhat
asterisk-1.4.1.tar.gz make-3.81 zaptel-1.4.0
libpri-1.4.0 make-3.81.tar.gz.tar zaptel-1.4.0.tar.gz

what about the spinlock.h

or do i need to reinstall my fedora ?

[quote]asterisk-1.4.1 libpri-1.4.0.tar.gz redhat
asterisk-1.4.1.tar.gz make-3.81 zaptel-1.4.0
libpri-1.4.0 make-3.81.tar.gz.tar zaptel-1.4.0.tar.gz[/quote]

Is that it!!!

what about the kernels directory ?

Hmmmmmmmmmmmm.
Kernels is not present. What resides in that directory…??
i will try to repair it anyways

Thanks a lot
:smile:

What resides in that directory…??

[root@cypbx src]# ls -lr kernels total 16 drwxr-xr-x 17 root root 4096 Feb 24 23:58 2.6.9-34.0.1.EL-smp-i686 drwxr-xr-x 17 root root 4096 Feb 24 23:58 2.6.9-34.0.1.EL-i686
This is whats being looked for

OK thanks a Lot…
it was a great help ianplain
thanks again :smile:

also when ever i saw that problem installing kernel-devel and kernel-smp-devel seemed to fix it.