: Build failure in /usr/src/alsa/alsa-driver/acore/init.c
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=665>
======================================================================
Reported By: ronis Assigned To: perex ====================================================================== Project: ALSA - driver Issue ID: 665 Category: 0_compilation problem_!!! Reproducibility: always Severity: block Priority: normal Status: assigned Distribution: Kernel Version: ====================================================================== Date Submitted: 11-22-2004 19:31 CET Last Modified: 11-23-2004 18:27 CET
======================================================================
Summary: Build failure in/usr/src/alsa/alsa-driver/acore/init.c
Description:
There's an unterminated #ifdef in init.c. (PM_CONFIG or more likely CONFIG_PCI). Here's the log:
CC [M] /usr/src/alsa/alsa-driver/acore/init.o/usr/src/alsa/alsa-driver/acore/init.c:680:1: unterminated #ifdef make[4]: *** [/usr/src/alsa/alsa-driver/acore/init.o] Error 1 make[3]: *** [/usr/src/alsa/alsa-driver/acore] Error 2 make[2]: *** [_module_/usr/src/alsa/alsa-driver] Error 2 make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.9'
make: *** [compile] Error 2
Adding an extra #endif at the end of the file fixes things, although, I'm not 100% sure that this is the right place top put things.
(BTW, I'm now running 2.6.9 but didn't have a chance to midify my profile)
======================================================================
----------------------------------------------------------------------
ronis - 11-23-04 18:20
----------------------------------------------------------------------
Yes. Basically, the first think I do is to run "cvs -z3 update -dP" from
the directory
above all my alsa-* directories.
On the other hand, I don't actually do anything in the kernel tree. My build-script
works in
DIRS=( lib driver oss tools utils ) (alsa- is prepeded to each entry)
FLAGS=( "--with-debug=no --with-gnu-ld" "--with-cards=atiixp,atiixp-modem --with-sequencer=yes" "--disable-alsatest --with-gnu-ld" "--disable-alsatest --with-gnu-ld" "--disable-alsatest --with-gnu-ld" )
(the FLAGS are what I configure with in each, and then run make)
----------------------------------------------------------------------
tiwai - 11-23-04 18:27
----------------------------------------------------------------------
Hmm, it works fine on my system. At least there should be no rejected files. So, I suspect that your tree is somehow broken.
Try once cvs clean checkout.
Issue History
Date Modified Username Field Change
======================================================================
11-22-04 19:31 ronis New Issue 11-23-04 15:59 tiwai Note Added: 0002517 11-23-04 16:52 ronis Note Added: 0002523 11-23-04 17:44 tiwai Note Added: 0002524 11-23-04 18:20 ronis Note Added: 0002525 11-23-04 18:27 tiwai Note Added: 0002526
======================================================================
-------------------------------------------------------
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/