[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
Wed Dec 26 14:08:56 CST 2007


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11620 
====================================================================== 
Reported By:                tzafrir
Assigned To:                qwell
====================================================================== 
Project:                    Zaptel
Issue ID:                   11620
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
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:              
Resolution:                 duplicate
Duplicate:                  11141
Fixed in Version:           
====================================================================== 
Date Submitted:             12-21-2007 21:19 CST
Last Modified:              12-26-2007 14:08 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]
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0011141 Cannot build modules using the latest Z...
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 12-26-07 14:08  
---------------------------------------------------------------------- 
Duplicate of 11141. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-26-07 14:08  qwell          Relationship added       duplicate of 0011141
12-26-07 14:08  qwell          Duplicate ID             0 => 11141          
12-26-07 14:08  qwell          Status                   new => resolved     
12-26-07 14:08  qwell          Resolution               open => duplicate   
12-26-07 14:08  qwell          Assigned To               => qwell           
12-26-07 14:08  qwell          Note Added: 0075971                          
======================================================================




More information about the asterisk-bugs mailing list