[asterisk-bugs] [Zaptel 0011620]: zaptel fails on kernel 2.4.24: CFLAGS should be EXTRA_CFLAGS
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Dec 21 21:53:12 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11620
======================================================================
Reported By: tzafrir
Assigned To:
======================================================================
Project: Zaptel
Issue ID: 11620
Category: General
Reproducibility: always
Severity: major
Priority: normal
Status: new
Zaptel Version: 1.4.7.1
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 12-21-2007 21:19 CST
Last Modified: 12-21-2007 21:53 CST
======================================================================
Summary: zaptel fails on kernel 2.4.24: CFLAGS should be
EXTRA_CFLAGS
Description:
As seen on IRC:
<nny_1> getting make[2]: Entering directory
`/usr/src/linux-headers-2.6.24-2-server'
<nny_1> scripts/Makefile.build:46: *** CFLAGS was changed in
"/usr/src/zaptel-1.4.7.1/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
<nny_1> make[2]: *** [_module_/usr/src/zaptel-1.4.7.1] Error 2
<nny_1> make[2]: Leaving directory
`/usr/src/linux-headers-2.6.24-2-server'
<nny_1> make[1]: *** [modules] Error 2
<nny_1> make[1]: Leaving directory `/usr/src/zaptel-1.4.7.1'
<nny_1> make: *** [all] Error 2
Workaround:
1. rename Makefile.kernel26 to Kbuild
2. in Kbuild , add the line: obj-m = zaptel.o <mod1>.o <mod1>.o
3. Build with: make MODULES="zaptel <mod1> <mod2>" [install]
======================================================================
----------------------------------------------------------------------
nny - 12-21-07 21:53
----------------------------------------------------------------------
sorry, got trunicated..
That was with Line 8 comented out
#CFLAGS+=-DSTANDALONE_ZAPATA -DBUILDING_TONEZONE
Issue History
Date Modified Username Field Change
======================================================================
12-21-07 21:53 nny Note Added: 0075834
======================================================================
More information about the asterisk-bugs
mailing list