: get error when trying to build 1.0.5 drivers with kernel 2.6.10
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=755>
======================================================================
Reported By: wschrep Assigned To: perex ====================================================================== Project: ALSA - driver Issue ID: 755 Category: 0_compilation problem_!!! Reproducibility: always Severity: major Priority: normal Status: assigned Distribution: knoppmyth r4v5 Kernel Version: 2.6.10 ====================================================================== Date Submitted: 12-29-2004 00:50 CET Last Modified: 12-29-2004 00:56 CET
======================================================================
Summary: get error when trying to build 1.0.5 drivers with
kernel 2.6.10
Description:
make -C /lib/modules/2.6.10/build SUBDIRS=/root/alsa/alsa-driver-1.0.5/kbuild modules
make[1]: Entering directory `/usr/src/linux-2.6.10'
CC [M] /root/alsa/alsa-driver-1.0.5/kbuild/../acore/hwdep.o CC [M] /root/alsa/alsa-driver-1.0.5/kbuild/../acore/memalloc.o/root/alsa/alsa-driver-1.0.5/acore/memalloc.c:54: error: initializer element is not constant /root/alsa/alsa-driver-1.0.5/acore/memalloc.c:54: error: (near initialization for `__param_arr_enable.num')
make[3]: *** [/root/alsa/alsa-driver-1.0.5/kbuild/../acore/memalloc.o] Error 1
make[2]: *** [/root/alsa/alsa-driver-1.0.5/kbuild/../acore] Error 2 make[1]: *** [_module_/root/alsa/alsa-driver-1.0.5/kbuild] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.10'
make: *** [compile] Error 2 root@mythtv:~/alsa/alsa-driver-1.0.5 # uname -r
2.6.10
root@mythtv:~/alsa/alsa-driver-1.0.5 # gcc --version
gcc (GCC) 3.3.2 20030812 (Debian prerelease)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
======================================================================
----------------------------------------------------------------------
rlrevell - 12-29-04 00:56
----------------------------------------------------------------------
Please don't report bugs for old ALSA versions. Try 1.0.8-rc1.
Issue History
Date Modified Username Field Change
======================================================================
12-29-04 00:50 wschrep New Issue 12-29-04 00:50 wschrep Distribution => knoppmyth r4v5 12-29-04 00:50 wschrep Kernel Version => 2.6.10 12-29-04 00:56 rlrevell Note Added: 0002988
======================================================================
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/