[Asterisk-Users] compiling zaptel

Kelly, Michael (Boca Raton) MKelly at adt.com
Tue Sep 14 05:44:25 MST 2004


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 at 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 at 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 at 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 at 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



More information about the asterisk-users mailing list