[asterisk-bugs] [Zaptel 0011551]: zaptel 1.4.7.1 doesn't build against 2.4 kernel

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jan 25 17:23:14 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11551 
====================================================================== 
Reported By:                richvdh
Assigned To:                kpfleming
====================================================================== 
Project:                    Zaptel
Issue ID:                   11551
Category:                   wct4xxp
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
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:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             12-14-2007 08:43 CST
Last Modified:              01-25-2008 17:23 CST
====================================================================== 
Summary:                    zaptel 1.4.7.1 doesn't build against 2.4 kernel
Description: 
I'm trying to build zaptel 1.4.7.1 against a 2.4.26 kernel. Two problems:

1) wctdm24xxp/base.c includes linux/workqueue.h, which doesn't exist
2) wct4xxp/base.c references msleep(), which again, doesn't exist.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0011514 wcte12xp fails building for kernel 2.4....
related to          0011515 zaptel: compilation warnings on kernel 2.4
====================================================================== 

---------------------------------------------------------------------- 
 kpfleming - 01-25-08 17:23  
---------------------------------------------------------------------- 
With current Zaptel 1.4 branch, building against 2.4.36 (not 2.4.26, which
is ancient), the wctdm24xxp issue is gone because that driver no longer
builds in 2.4 builds (it uses functionality not offered in 2.4 kernels),
and the wct4xxp/base.c issue is gone because the 2.4.36 kernel *does* have
msleep(). I have made another small change to wct4xxp/vpm450m.h to make the
driver build on 2.4.36.

However, in the very near future it is likely that we will stop making
driver changes for builds on 2,4 kernels; as it is there are already three
drivers in the tree that will never build on 2,4 (because they use
workqueues and other 2.6-only features) and that is likely to become an
even larger problem as more drivers get enhanced and improved. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-25-08 17:23  kpfleming      Note Added: 0081196                          
======================================================================




More information about the asterisk-bugs mailing list