From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000687]: Cannot build gentoo-ebuild for 1.0.7 Date: Wed, 1 Dec 2004 20:42:15 +0100 Message-ID: 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 AAD912FE for ; Wed, 1 Dec 2004 20:42:15 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net 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: m_wright Assigned To: perex ====================================================================== Project: ALSA - driver Issue ID: 687 Category: 0_compilation problem_!!! Reproducibility: always Severity: minor Priority: normal Status: assigned Distribution: Gentoo Linux Kernel Version: 2.6.9-ck2 ====================================================================== Date Submitted: 11-28-2004 19:06 CET Last Modified: 12-01-2004 20:42 CET ====================================================================== Summary: Cannot build gentoo-ebuild for 1.0.7 Description: The gentoo ebuild for 1.0.7-r1 (basically 1.0.7) fails on linux kernel 2.6.9-ck2 with the following errors: /var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/acore/memory_wrapper.c: In function `snd_compat_vmalloc_to_page': /var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/acore/memory_wrapper.c:41: warning: implicit declaration of function `VMALLOC_VMADDR' /var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/acore/memory_wrapper.c:47: warning: implicit declaration of function `pte_offset' /var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/acore/memory_wrapper.c:47: warning: assignment makes pointer from integer without a cast ====================================================================== ---------------------------------------------------------------------- tiwai - 12-01-04 19:06 ---------------------------------------------------------------------- Yes, that's exactly my guess. The question is why. The configure script checked the mach-* directory as shown in the configure output, so it should have set -I option there. checking for processor type... i686 checking for i386 machine type... default Anyway, if possible, try CVS version instead. The configure has been much changed since 1.0.7 release. ---------------------------------------------------------------------- ebichu - 12-01-04 20:42 ---------------------------------------------------------------------- Is it because configure is checking the processor type and machine type *after* checking for vmalloc_to_page? It looks like a Gentoo-specific bug, as the Gentoo ebuild script patches the configure script to change the order of the configuration options. It seems this was done to support compilation on sparc64 (at least according to the comments in Gentoo's CVS). I'll bounce this back to the Gentoo developers. Issue History Date Modified Username Field Change ====================================================================== 11-28-04 19:06 m_wright New Issue 11-28-04 19:06 m_wright Distribution => Gentoo Linux 11-28-04 19:06 m_wright Kernel Version => 2.6.9-ck2 11-29-04 15:27 tiwai Note Added: 0002638 11-29-04 16:41 m_wright Note Added: 0002653 11-29-04 17:20 tiwai Note Added: 0002655 12-01-04 16:01 ebichu Note Added: 0002665 12-01-04 16:01 ebichu Issue Monitored: ebichu 12-01-04 16:35 tiwai Note Added: 0002666 12-01-04 18:25 ebichu Note Added: 0002667 12-01-04 19:06 tiwai Note Added: 0002668 12-01-04 20:42 ebichu Note Added: 0002669 ====================================================================== ------------------------------------------------------- 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/