[Pkg-alsa-devel] Bug#540307: FTBFS with linux kernel 2.6.30

Elimar Riesebieter e.riesebieter at puz.de
Tue Sep 15 11:28:50 UTC 2009


* Ben Hutchings <ben at decadent.org.uk> [090914 23:15]:
> This is a bug in alsa-source: it includes old versions of many Linux
> kernel headers that override those in the linux-headers-$version
> package.
> 
> In particular, the very first reported compiler error results from the
> inclusion of alsa-source's include/linux/compiler.h which does not
> define the __section() macro.

And why does alsa_source builds fine with stock vanilla kernel?:

....
make[4]: Leaving directory `/usr/src/modules/alsa-driver'
/usr/bin/make -C /usr/src/linux-2.6.30 SUBDIRS=/usr/src/modules/alsa-driver  CPP="gcc-4.3 -E" CC="gcc-4.3" modules
make[4]: Entering directory `/usr/src/linux-2.6.30'
  CC [M]  /usr/src/modules/alsa-driver/acore/hrtimer.o
  CC [M]  /usr/src/modules/alsa-driver/acore/hwdep.o
  CC [M]  /usr/src/modules/alsa-driver/acore/memory_wrapper.o
.....

There must be something wrong with the headers. BTW on 2.6.31 it builds fine as
well! All modules ;-)

Elimar

-- 
  BOFH excuse #379:
  We've picked COBOL as the language of choice.





More information about the Pkg-alsa-devel mailing list