|
ALSA problems on Debian (CS46xx)
I've been trying and trying and trying to get this working for ages now but still haven't made a breakthrough.
I've used apt-get to install the kernel 2.2.20 source (my distro) and have downloaded the alsa-source and used debconf to select the right package.
I'm trying to make a .deb of this sound module as it seems the only way to get the thing working. I've tried doing ./configure, etc. With the .tar from the alsa-project site but that didn't work.
I believe I get the same error every time and I can't figure it. I'll just post what it shouts at me::
for module in /usr/src/modules/alsa-driver ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.2.20" KSRC="/usr/src/linux" \
KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf" \
KPKG_DEST_DIR="/usr/src/linux/.." \
KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \
KPKG_EXTRAV_ARG="" \
KDREV="10.00.Custom" kdist_image; then \
echo "Module $module processed fine"; \
else \
echo "Module $module failed."; \
echo "Hit return to Continue"; \
read ans; \
fi; \
); \
fi; \
done
make[1]: Entering directory `/usr/src/modules/alsa-driver'
make -f debian/rules binary-modules
make[2]: Entering directory `/usr/src/modules/alsa-driver'
make compile
make[3]: Entering directory `/usr/src/modules/alsa-driver'
make[4]: Entering directory `/usr/src/modules/alsa-driver/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/modules/alsa-driver/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i386 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DEXPORT_SYMTAB -c memalloc.c
In file included from /usr/src/linux/include/linux/string.h:37,
from /usr/src/linux/include/linux/signal.h:64,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/pagemap.h:12,
from /usr/src/modules/alsa-driver/include/compat_22.h:7,
from /usr/src/modules/alsa-driver/include/adriver.h:74,
from memalloc.inc:13,
from memalloc.c:1:
/usr/src/linux/include/asm/string.h:476:17: missing terminating " character
In file included from /usr/src/linux/include/linux/string.h:37,
from /usr/src/linux/include/linux/signal.h:64,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/pagemap.h:12,
from /usr/src/modules/alsa-driver/include/compat_22.h:7,
from /usr/src/modules/alsa-driver/include/adriver.h:74,
from memalloc.inc:13,
from memalloc.c:1:
/usr/src/linux/include/asm/string.h: In function `memscan':
/usr/src/linux/include/asm/string.h:477: error: parse error before "repnz"
/usr/src/linux/include/asm/string.h:478: error: `scasb' undeclared (first use in this function)
/usr/src/linux/include/asm/string.h:478: error: (Each undeclared identifier is reported only once
/usr/src/linux/include/asm/string.h:478: error: for each function it appears in.)
/usr/src/linux/include/asm/string.h:478:21: invalid suffix "f" on integer constant
/usr/src/linux/include/asm/string.h:480:17: missing terminating " character
In file included from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/pagemap.h:12,
from /usr/src/modules/alsa-driver/include/compat_22.h:7,
from /usr/src/modules/alsa-driver/include/adriver.h:74,
from memalloc.inc:13,
from memalloc.c:1:
/usr/src/linux/include/linux/signal.h: In function `siginitset':
/usr/src/linux/include/linux/signal.h:193: warning: deprecated use of label at end of compound statement
/usr/src/linux/include/linux/signal.h: In function `siginitsetinv':
/usr/src/linux/include/linux/signal.h:205: warning: deprecated use of label at end of compound statement
{standard input}: Assembler messages:
{standard input}:7: Warning: ignoring changed section attributes for .modinfo
make[4]: *** [memalloc.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.
Hit return to Continue
This is after I've typed make-kpkg modules_image.
Thanks,
Ben
|