Hi I’m italian and I don’t speak very well english … but I try it
I have a debian sarge with kernel-2.4.27
I run
apt-get build-dep asterisk
after I download the asterisk, zaptel, libpri source from the asterisk site …
i extract all in my /usr /src
after i download my kernel source and i compile it and i link /usr/src/linux to this
karonte:/usr/src# l
totale 77552
drwxr-xr-x 25 sasch sasch 4096 2006-09-09 17:45 asterisk-1.2.12
-rw-r--r-- 1 root src 10575163 2006-09-09 04:05 asterisk-1.2.12.tar.gz
-rw-r--r-- 1 root src 44853 2006-09-09 17:14 .config
drwxr-xr-x 5 root root 4096 2006-09-09 17:16 kernel-headers-2.4.27-2
drwxr-xr-x 16 root root 4096 2006-09-08 19:14 kernel-headers-2.6.8-3
drwxr-xr-x 3 root root 4096 2006-09-08 19:14 kernel-headers-2.6.8-3-386
-rw-r--r-- 1 root src 1518492 2006-09-09 17:11 kernel-image-2.4.27_10.00.Custom_i386.deb
drwxr-xr-x 3 root root 4096 2006-09-08 19:14 kernel-kbuild-2.6-3
drwxr-xr-x 16 root root 4096 2006-09-09 17:18 kernel-source-2.4.27
-rw-r--r-- 1 root root 30978768 2006-05-29 18:22 kernel-source-2.4.27.tar.bz2
-rw-r--r-- 1 root root 34881380 2006-07-15 10:24 kernel-source-2.6.8.tar.bz2
drwxr-xr-x 2 sasch sasch 4096 2006-09-09 16:42 libpri-1.2.3
-rw-r--r-- 1 root src 76348 2006-05-31 00:50 libpri-1.2.3.tar.gz
lrwxrwxrwx 1 root src 29 2006-09-09 17:16 linux -> /usr/src/kernel-source-2.4.27
drwxr-xr-x 6 sasch sasch 4096 2006-09-09 17:37 zaptel
-rw-r--r-- 1 root src 941026 2006-09-09 04:10 zaptel-1.2.9.tar.gz
-rw-r--r-- 1 root root 242246 2005-05-22 11:58 zaptel.tar.bz2
karonte:/usr/src#
after i go in zaptel …
run
make clean
make ; make install
and I recive an error
.....
/lib/modules/2.4.27-2-386/build/include/asm/hardirq.h:37:1: warning: "synchronize_irq" redefined
In file included from /lib/modules/2.4.27-2-386/build/include/linux/modversions.h:144,
from <command line>:9:
/lib/modules/2.4.27-2-386/build/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="/etc/zaptel.conf" -I.. fw2h.c -o fw2h
./fw2h OCT6114-128D.ima vpm450m_fw.h
make[1]: *** No rule to make target `../oct612x/include/oct6100api/oct6100_api.h', needed by `vpm450m.o'. Stop.
make[1]: Leaving directory `/usr/src/zaptel-1.2.9/wct4xxp'
make: *** [wct4xxp/wct4xxp.o] Error 2
why ?? after I try to erase on my MakeFile the line
obj-m+=wct4xxp/
and re-run make … but don’t run …
return the error …
can help me
thanks