From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000605]: memalloc.c:53 build error Date: Wed, 27 Oct 2004 17:58:36 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <4c21db9094e407b27e1db6d282e76ed2@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id D2CA527B for ; Wed, 27 Oct 2004 17:58:36 +0200 (MEST) Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: Andrew Assigned To: perex ====================================================================== Project: ALSA - driver Issue ID: 605 Category: 0_compilation problem_!!! Reproducibility: always Severity: major Priority: normal Status: assigned Distribution: Kernel Version: ====================================================================== Date Submitted: 10-26-2004 12:37 CEST Last Modified: 10-27-2004 17:58 CEST ====================================================================== Summary: memalloc.c:53 build error Description: GCC 3.3.4 is in use. ./cvscomile for current CVS tree shows: make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r1' CC [M] /wrk/cvs/alsa/alsa-driver/kbuild/../acore/memalloc.o /wrk/cvs/alsa/alsa-driver/acore/memalloc.c:53: error: invalid lvalue in unary `&' /wrk/cvs/alsa/alsa-driver/acore/memalloc.c:53: error: initializer element is not constant /wrk/cvs/alsa/alsa-driver/acore/memalloc.c:53: error: (near initialization for `__param_arr_enable.num') make[4]: *** [/wrk/cvs/alsa/alsa-driver/kbuild/../acore/memalloc.o] Error 1 ====================================================================== ---------------------------------------------------------------------- Clemens Ladisch - 10-27-04 17:43 ---------------------------------------------------------------------- lee, your fix is just the reserve of the CVS change that broke things (i.e. it's the CVS as it was Friday). There is no fix in CVS. The CVS change was made because of a change in the kernel that was made immediately after the release of 2.6.9. 2.6.9 and later kernels are incompatible (in this regard), and ALSA currently works _only_ with later kernels. The alsa-driver package needs some compatibility code to make it work with older kernels again. I'll write something until tomorrow. ---------------------------------------------------------------------- lee - 10-27-04 17:58 ---------------------------------------------------------------------- OK, thanks, I was seeing this problem before the CVS message so I just figured the CVS update was to fix this, looks like it actually introduces the problem. Issue History Date Modified Username Field Change ====================================================================== 10-26-04 12:37 Andrew New Issue 10-27-04 15:58 Clemens LadischNote Added: 0002274 10-27-04 17:27 lee Note Added: 0002276 10-27-04 17:43 Clemens LadischNote Added: 0002277 10-27-04 17:58 lee Note Added: 0002278 ====================================================================== ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click