[Pkg-alsa-devel] Bug#287010: Modules fail to build

J.H.M. Dassen (Ray) "J.H.M. Dassen (Ray)" <fsmla@xinara.org>, 287010@bugs.debian.org
Thu, 23 Dec 2004 17:28:48 +0100


Package: alsa-source
Version: 1.0.7-2
Severity: normal

The modules fail to build for me when trying to build them for 2.4.29-pre3;
the build ends with a parse error:

gcc-3.3 -D__KERNEL__ -DMODULE=1 -I/usr/src/modules/alsa-driver/include  -I/usr/local/src/linux/include -I/usr/local/src/linux/include2 -I/usr/local/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include   -DEXPORT_SYMTAB -c timer.c
In file included from timer.c:23:
/usr/local/src/linux/include/linux/delay.h:57: error: parse error before "do"
/usr/local/src/linux/include/linux/delay.h:57: error: parse error before '(' token
/usr/local/src/linux/include/linux/delay.h:60: error: parse error before '(' token
make[4]: *** [timer.o] Error 1
make[4]: Leaving directory `/usr/src/modules/alsa-driver/acore'
make[3]: *** [compile] Error 1
make[3]: Leaving directory `/usr/src/modules/alsa-driver'
make[2]: *** [build-stamp] Error 2
make[2]: Leaving directory `/usr/src/modules/alsa-driver'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
Module /usr/src/modules/alsa-driver failed.

Please let me know if you require additional information or want me to test
things.

Regards,
Ray

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (800, 'unstable'), (750, 'experimental'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.29-pre3
Locale: LANG=C, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages alsa-source depends on:
ii  bzip2                        1.0.2-2     high-quality block-sorting file co
ii  debconf                      1.4.41      Debian configuration management sy
ii  debconf-utils                1.4.41      debconf utilities
ii  debhelper                    4.2.28      helper programs for debian/rules
ii  dpkg-dev                     1.10.25     Package building tools for Debian
ii  gcc [c-compiler]             4:3.3.5-1   The GNU C compiler
ii  gcc-2.95 [c-compiler]        1:2.95.4-22 The GNU C compiler
ii  gcc-3.0 [c-compiler]         1:3.0.4-13  The GNU C compiler.
ii  gcc-3.2 [c-compiler]         1:3.2.3-9   The GNU C compiler
ii  gcc-3.3 [c-compiler]         1:3.3.5-5   The GNU C compiler
ii  gcc-3.4 [c-compiler]         3.4.3-6     The GNU C compiler
ii  make                         3.80-9      The GNU version of the "make" util

-- debconf information:
  alsa-common/card-list:
* alsa-source/cards_to_be_built: emu10k1 (PCI: EMU10K1 (SB Live! or E-mu APS))
* alsa-source/debug: false
  alsa-source/cards:
* alsa-source/has_pnp: true
-- 
Obsig: developing a new sig