[Asterisk-Users] Compilation error with 2.6 kernel

Iassen Hristov ih.ng at databrokers.net
Sat Sep 11 14:04:02 MST 2004


I found the issue. I had linked /usr/src/linux-2.6 to /usr/src/linux
The correct link is to the linux-obj folder

cd /usr/src
ln -s linux-obj/i386/default linux-2.6

The answer was in
/usr/src/linux/README.SUSE

I am now able to compile successfully. Granted I don't have the hardware
yet, so I don't know if it works. 

Anybody using a X100P or TDM400P with Suse 9.1?

---
Iassen Hristov


--On Saturday, September 11, 2004 04:13:28 PM -0400 Iassen Hristov
<ih.ng at databrokers.net> wrote:

> I am trying to compile zapata under a 2.6 kernel (Suse 9.1 all patches
> installed).
> 
> I am getting the error bellow:
> 
> Any ideas?
> 
> Anybody able to successfully compile this in Suse 9.1?
> 
> 
> 
> 500 at suse91lx:~/dl/pbx/zaptel-1.0-RC2> make linux26
> cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA   -c -o
> zttool.o zttool.c
> cc -o zttool zttool.o -lnewt
> make -C /usr/src/linux-2.6 SUBDIRS=/home/500/dl/pbx/zaptel-1.0-RC2 modules
> make[1]: Entering directory `/usr/src/linux-2.6.5-7.108'
> Makefile:438: .config: No such file or directory
> 
> WARNING: Symbol version dump /usr/src/linux-2.6.5-7.108/Module.symvers is
> missing, modules will have CONFIG_MODVERSIONS disabled.
> 
>   CC [M]  /home/500/dl/pbx/zaptel-1.0-RC2/zaptel.o
> /bin/sh: line 1: scripts/basic/fixdep: No such file or directory
> make[2]: *** [/home/500/dl/pbx/zaptel-1.0-RC2/zaptel.o] Error 1
> make[1]: *** [_module_/home/500/dl/pbx/zaptel-1.0-RC2] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.5-7.108'
> make: *** [linux26] Error 2
> 
> _______________________________________________
> 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