[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
Mon May 24 14:09:39 CDT 2010
A NOTE has been added to this issue.
======================================================================
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: assigned
JIRA:
Reviewboard Link:
======================================================================
Date Submitted: 2010-05-24 10:56 CDT
Last Modified: 2010-05-24 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...
======================================================================
----------------------------------------------------------------------
(0122323) sruffell (administrator) - 2010-05-24 14:09
https://issues.asterisk.org/view.php?id=17382#c122323
----------------------------------------------------------------------
I would agree with tzafrir...also, this breaks compilation against 2.6.9.
Issue History
Date Modified Username Field Change
======================================================================
2010-05-24 14:09 sruffell Note Added: 0122323
======================================================================
More information about the asterisk-bugs
mailing list