[asterisk-bugs] [DAHDI-linux 0017382]: [patch] Failure to include semaphore.h breaks compilation with >2.6.34 kernels (2.6.35-rc0)
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Jun 8 14:09:10 CDT 2010
The following issue has been RESOLVED.
======================================================================
https://issues.asterisk.org/view.php?id=17382
======================================================================
Reported By: Chainsaw
Assigned To: tzafrir
======================================================================
Project: DAHDI-linux
Issue ID: 17382
Category: dahdi (the module)
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
JIRA:
Reviewboard Link:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-05-24 10:56 CDT
Last Modified: 2010-06-08 14:09 CDT
======================================================================
Summary: [patch] Failure to include semaphore.h breaks
compilation with >2.6.34 kernels (2.6.35-rc0)
Description:
DAHDI relied on other headers to drag in semaphore.h, this is no longer the
case since:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3142788b7967ccfd2f1813ee9e11aeb1e1cf7de2
The result is:
In file included from
/var/tmp/portage/net-misc/dahdi-2.3.0/work/dahdi-linux-2.3.0/drivers/dahdi/voicebus/GpakApi.c:36:
/var/tmp/portage/net-misc/dahdi-2.3.0/work/dahdi-linux-2.3.0/drivers/dahdi/voicebus/GpakCust.h:114:
error: field ‘sem’ has incomplete type
Patching the header to include semaphore.h as it should always have done
will not hurt older kernels.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0017383 [patch] usb_buffer_free/alloc renamed i...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-06-08 14:09 svnbot Status assigned => resolved
2010-06-08 14:09 svnbot Resolution open => fixed
======================================================================
More information about the asterisk-bugs
mailing list