[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
Sat Dec 22 08:05:56 CST 2007


The following issue has been UPDATED. 
====================================================================== 
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-22-2007 08:05 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]
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-22-07 08:05  tzafrir        Additional Information Updated                   

======================================================================




More information about the asterisk-bugs mailing list