Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19487 - Compile alsa-driver fails with development-kernel - irq_vectors.h not found, Makefile.conf.in must be modified
Summary: Compile alsa-driver fails with development-kernel - irq_vectors.h not found, ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Arcady Genkin (RETIRED)
URL: http://www.mail-archive.com/alsa-deve...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-17 11:59 UTC by Edulix
Modified: 2003-06-29 20:04 UTC (History)
1 user (show)

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


Attachments
The patch that I propose for alsa-driver 0.9.2. (alsa-driver-0.9.2.patch,2.11 KB, patch)
2003-04-17 12:01 UTC, Edulix
Details | Diff
The patch that I propose for alsa-driver 0.9.0rc6. I changed Makefile.conf and Makefile.conf.in since both had the same content (alsa.patch,2.82 KB, patch)
2003-04-17 12:03 UTC, Edulix
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edulix 2003-04-17 11:59:19 UTC
emerge alsa-driver fails at compile-time, using the mm-sources kenrel (concretly
version 2.5.67-mm3, the latest to now). It says an error: can't find irq_vectors.h.

I searched over google and found someone with the same exactly problem; he had
to change inly a line at the Makefile.conf.in file:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg06996.html
The line to have is

INCLUDE         = -I$(TOPDIR)/include @EXTRA_INCLUDES@ 
-I$(CONFIG_SND_KERNELDIR)/include -I$(CONFIG_SND_KERNELDIR)/include/asm/mach-default

instead of:

INCLUDE         = -I$(TOPDIR)/include @EXTRA_INCLUDES@ 
-I$(CONFIG_SND_KERNELDIR)/include

So I untar the alsa-driver sources I had in /usr/portage/distfiles twice in
different directories and then I changed the Makefile.conf.in only in one. Then
 I did a diff -u dir1 dir2 > alsa-driver-version.conf. But I'm sorry I have no
idea how to continue to use automatically the patch with the ebuild, so I post
this there to finish this and then I'll try the modified ebuild, I hope it
should function.

I have a patch for the 0.9.2 ebuild and another for the 0.9.0rc6, because I was
using this and I had not a reason to change at first sight.

PD: If you fix this, please let me know how did you do it =).

Reproducible: Always
Steps to Reproduce:
1. Boot with the mm-sources kernel (I'm using 2.5.67-mm3)
2. Do a emerge alsa-driver (I've tried o.9.0rc6 and 0.9.2 without luck)
3. It will never finish the compilation

Actual Results:  
It gives me a compile-time error which says that he can't find the irq_vectors.h
file. Of course the emerge fails.

Expected Results:  
alsa-driver, no matter which version, should emerge without problem.
Comment 1 Edulix 2003-04-17 12:01:56 UTC
Created attachment 10786 [details, diff]
The patch that I propose for alsa-driver 0.9.2.
Comment 2 Edulix 2003-04-17 12:03:01 UTC
Created attachment 10787 [details, diff]
The patch that I propose for alsa-driver 0.9.0rc6. I changed Makefile.conf and Makefile.conf.in since both had the same content
Comment 3 Bob Johnson (RETIRED) gentoo-dev 2003-06-29 18:42:22 UTC
development sources are only supported by upstream at this time.