: Cannot build gentoo-ebuild for 1.0.7
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=687>
======================================================================
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/