Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458400 - net-misc/dahdi-2.6.1-r2 with kernel 3.8 - [...]/work/dahdi-linux-2.6.1/drivers/dahdi/wctdm.c:2604:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wctdm_init_one’
Summary: net-misc/dahdi-2.6.1-r2 with kernel 3.8 - [...]/work/dahdi-linux-2.6.1/driver...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL: http://git.asterisk.org/gitweb/?p=dah...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-02-20 04:36 UTC by Erich Seifert
Modified: 2013-02-21 10:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,98.10 KB, text/plain)
2013-02-20 04:37 UTC, Erich Seifert
Details
dahdi-2.6.1-fix-define-dev.patch (dahdi-2.6.1-fix-define-dev.patch,580 bytes, patch)
2013-02-20 04:39 UTC, Erich Seifert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Seifert 2013-02-20 04:36:52 UTC
emerging net-misc/dahdi-tools-2.6.1-r2 fails at compile stage in combination with sys-kernel/gentoo-sources-3.8.0

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-kernel/gentoo-sources-3.8.0
2. emerge =net-misc/dahdi-tools-2.6.1-r2

Actual Results:  
Fails to compile with various error messages

Expected Results:  
Should compile and install normally
Comment 1 Erich Seifert 2013-02-20 04:37:37 UTC
Created attachment 339474 [details]
build.log

Attached build.log
Comment 2 Erich Seifert 2013-02-20 04:39:05 UTC
Created attachment 339476 [details, diff]
dahdi-2.6.1-fix-define-dev.patch

Added patch from debian report which makes dahdi compile again.
Comment 3 Erich Seifert 2013-02-20 18:38:04 UTC
Sorry, should have been net-misc/dahdi-2.6.1-r2, not dahdi-tools.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2013-02-21 10:39:21 UTC
+*dahdi-2.6.1-r3 (21 Feb 2013)
+
+  21 Feb 2013; Tony Vroon <chainsaw@gentoo.org> +dahdi-2.6.1-r3.ebuild:
+  Removal of __dev prefixes by Tzafrir Cohen allows building against 3.8
+  kernels; upstream commit scavenged by Erich Seifert. Closes bug #458400.