[Asterisk-Users] Building zaptel.1.0.9 on Suse 9.3

Aldo Bergamini aab.lists at nb-a.com
Sun Jul 31 05:00:38 MST 2005


Dear list,

I am back with my problem compiling zaptel 1.0.9 . I am running SUSE
9.3, with kernel linux-2.6.11.4-21.7
I have the kernel sources on disk. YAST tells me they match the compiled
kernel.

> # ls -l /usr/src
>total 1
>drwxr-xr-x   7 root root 280 2005-07-16 13:24 .
>drwxr-xr-x  12 root root 344 2005-07-16 11:27 ..
>drwxr-xr-x  25 root root 736 2005-07-16 12:12 kernel-modules
>lrwxrwxrwx   1 root root  19 2005-07-16 13:23 linux -> linux-2.6.11.4-21.7
>drwxr-xr-x   3 root root  72 2005-07-16 13:24 linux-2.6.11.4-20a
>drwxr-xr-x  19 root root 720 2005-07-16 13:23 linux-2.6.11.4-21.7
>drwxr-xr-x   3 root root  72 2005-06-02 16:54 linux-2.6.11.4-21.7-obj
>lrwxrwxrwx   1 root root  23 2005-07-16 13:23 linux-obj ->
linux-2.6.11.4-21.7-obj
>drwxr-xr-x   7 root root 168 2005-07-16 11:29 packages

The symlinks seem to be ok; they point to the correct source versions..

Still I run into problems with make linux26:

>epsilon-hq:/home/aaberga/asterisk sources/zaptel-1.0.9 # su 
>epsilon-hq:/home/aaberga/asterisk sources/zaptel-1.0.9 # make linux26
>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
>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
>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    -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo
zonedata.c
>cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo
tonezone.c
>ar rcs libtonezone.a zonedata.lo tonezone.lo
>cc -o ztcfg ztcfg.o -lm -L. libtonezone.a
>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 -c ztspeed.c
>cc -o ztspeed ztspeed.o
>cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -
DZAPTEL_CONFIG=\"/etc/zaptel.conf\"    zttest.c   -o zttest

Make runs into problems:

>make -C /lib/modules/`uname -r`/build SUBDIRS=/home/aaberga/asterisk
sources/zaptel-1.0.9 modules
>make[1]: Entering directory `/usr/src/linux-2.6.11.4-21.7-obj/i386/default'
>make -C ../../../linux-2.6.11.4-21.7 O=../linux-2.6.11.4-21.7-obj/i386/
default sources/zaptel-1.0.9
>make[3]: *** No rule to make target `sources/zaptel-1.0.9'.  Stop.
>make[2]: *** [sources/zaptel-1.0.9] Error 2
>make[1]: *** [sources/zaptel-1.0.9] Error 2
>make[1]: Leaving directory `/usr/src/linux-2.6.11.4-21.7-obj/i386/default'
>make: *** [linux26] Error 2


But I do not know what to do with this error  <<No rule to make target
`sources/zaptel-1.0.9'>>

Thanks for any help
Aldo






More information about the asterisk-users mailing list