[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#552203: linux-headers-2.6.30-2-amd64: alsa-source does not compile against debian patched kernel headers



reassign 552203 alsa-source
forcemerge 550595 552203
severity 550595 grave
thanks

On Sat, Oct 24, 2009 at 10:19:35AM +0200, Wolfgang Schnitker wrote:
> this bug is coming out of bug # 550595

Well, you have to show why this is a bug here. I see none, so I'm
merging the two.

> alsa-source does not compile against patched headers.

I was not able to build it at all.

> I tried to build the modules via m-a. 
> m-a buildlog attached to #550595

Okay, problems I read out of that:
- SUBDIRS= is deprecated, use M=.
- Never ever override CPP or CC for Debian provided kernels.

Excerpt from hand-build:
| $ ./configure --with-build=/lib/modules/$(uname -r)/build
[...]
| $ make
[...]
| make -C /lib/modules/2.6.31-trunk-amd64/source SUBDIRS=/tmp/source/modules/alsa-driver  CPP="gcc -E" CC="gcc" modules
| make[1]: Entering directory `/usr/src/linux-headers-2.6.31-trunk-common'
| 
|   ERROR: Kernel configuration is invalid.
|          include/linux/autoconf.h or include/config/auto.conf are missing.
|          Run 'make oldconfig && make prepare' on kernel src to fix it.
| 
| 
|   WARNING: Symbol version dump /usr/src/linux-headers-2.6.31-trunk-common/Module.symvers
|            is missing; modules will have no dependencies and modversions.
| 
| find: `/usr/src/linux-headers-2.6.31-trunk-common/alsa-kernel/': No such file or directory

So it also ignores the provided tree.

Setting to grave as modules have to work against Debian kernels.

Bastian

-- 
Insults are effective only where emotion is present.
		-- Spock, "Who Mourns for Adonais?"  stardate 3468.1



Reply to: