keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Technical information on install and config asterisk, zaptel under different OSs

Softecho (OCTVQE8-01.04.02-PR) with Zaptel(zaptel-1.4.8)

15 years 2 months ago #2698 by chienhungk
Dear sir,
The compile error result is the same as my previous post (Softecho with DAHDI)
Linux platform : Fedora 9 (2.6.27.7-53.fc9.i686)
Zaptel version : 1.4.8
Softecho version : OCTVQE8-01.04.02-PR

The procedure is following as below:
1. cd octvqe8-01.04.02-pr
2. cp -rf octvqe ../zaptel-1.4.8
3. cd ../zaptel-1.4.8/octvqe/
4. make
make -C /lib/modules/2.6.27.7-53.fc9.i686/build SUBDIRS=/usr/local/src/zaptel-1.4.8/octvqe modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.7-53.fc9.i686'
scripts/Makefile.build:46: *** CFLAGS was changed in "/usr/local/src/zaptel-1.4.8/octvqe/Makefile". Fix it to use EXTRA_CFLAGS。 停止。
make[1]: *** [_module_/usr/local/src/zaptel-1.4.8/octvqe] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.7-53.fc9.i686'
make: *** [linux26] 错误 2

above all,
Is there anyone can explain that "Fix it to use EXTRA_CFLAGS"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 years 2 months ago #2699 by james.zhu
hello,
please refer this link:
http://bugs.digium.com/view.php?id=11620
regards!
James.zhu

15 years 2 months ago #2700 by chienhungk
Hi James
follow the link you provided, i found one problem
1. rename Makefile.kernel26 to Kbuild
^^^^^^^^^^^^^^^^^^^^
Q: there is no file called Makefile.kernel26 under /zaptel-1.4.8/octvqe/ directory

2. in Kbuild , add the line: obj-m = zaptel.o <mod1>.o <mod1>.o
^^^^^^^^^^^^^^^^^^^^^^^
Q: <mod1>.o , i guess is module name i need to fill it in ,but i dont know what module name exactly i need to fill it .
3. Build with: make MODULES="zaptel <mod1> <mod2>" [install]
15 years 2 months ago #2702 by james.zhu
hello,
q1) please check the Makefile.kernel26, nobody said it was under octvqe. i think it should be under zaptel-1.4.8
q2) link to q1
I suggest using centos-5.0. DO NOT take a risk.
regards!
James.zhu

Time to create page: 0.039 seconds
Powered by Kunena Forum