All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0000687]: Cannot build gentoo-ebuild for 1.0.7
Date: Wed, 1 Dec 2004 16:01:04 +0100	[thread overview]
Message-ID: <b99e59c5c326d9ef13263af46a284f08@bugtrack.alsa-project.org> (raw)


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 16:01 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 - 11-29-04 17:20 
----------------------------------------------------------------------
Apparently the configure couldn't detect vmalloc_to_page().
Do you have config.log for this check?

----------------------------------------------------------------------
 ebichu - 12-01-04 16:01 
----------------------------------------------------------------------
I'm using a later Gentoo ebuild (alsa-driver-1.0.7-r1) and a vanilla kernel
(2.6.9) but it fails in the same place.  The config.log entry for
vmalloc_to_page is as follows:

configure:5965: checking for vmalloc_to_page
configure:5994: i686-pc-linux-gnu-gcc -c -march=athlon -O3 -pipe
-fomit-frame-pointer -I/usr/src/linux/include  -nostdinc -iwithprefix
include  conftest.c >&5
In file included from /usr/src/linux/include/asm/smp.h:18,
                 from /usr/src/linux/include/linux/smp.h:17,
                 from /usr/src/linux/include/linux/sched.h:23,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from conftest.c:25:
/usr/src/linux/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or
directory
In file included from /usr/src/linux/include/asm/smp.h:18,
                 from /usr/src/linux/include/linux/smp.h:17,
                 from /usr/src/linux/include/linux/sched.h:23,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from conftest.c:25:
/usr/src/linux/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared
here (not in a function)
/usr/src/linux/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES'
undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/smp.h:17,
                 from /usr/src/linux/include/linux/sched.h:23,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from conftest.c:25:
/usr/src/linux/include/asm/smp.h:72:26: mach_apicdef.h: No such file or
directory
configure:6000: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define CONFIG_SND_KERNELDIR "/usr/src/linux"
| #define CONFIG_HAVE_DUMP_STACK 1
| #define CONFIG_SND_VERBOSE_PRINTK 1
| #define CONFIG_SND_ISA 1
| #define CONFIG_ISAPNP_KERNEL 1
| #define CONFIG_PNP_KERNEL 1
| #define CONFIG_HAVE_STRLCPY 1
| #define CONFIG_HAVE_SNPRINTF 1
| #define CONFIG_HAVE_SCNPRINTF 1
| #define CONFIG_HAVE_SSCANF 1
| /* end confdefs.h.  */
| 
| #define __KERNEL__
| #include <linux/config.h>
| #include <linux/time.h>
| #include <linux/mm.h>
| 
| int
| main ()
| {
| 
|   struct page * (*func)(void*);
|   func = vmalloc_to_page;
| 
|   ;
|   return 0;
| }
configure:6021: result: "no"

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                          
======================================================================




-------------------------------------------------------
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/

             reply	other threads:[~2004-12-01 15:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01 15:01 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-01-03 15:54 [ALSA - driver 0000687]: Cannot build gentoo-ebuild for 1.0.7 bugtrack
2004-12-01 22:25 bugtrack
2004-12-01 19:42 bugtrack
2004-12-01 18:06 bugtrack
2004-12-01 17:25 bugtrack
2004-12-01 15:35 bugtrack
2004-11-29 16:20 bugtrack
2004-11-29 15:41 bugtrack
2004-11-29 14:27 bugtrack
2004-11-28 18:06 bugtrack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b99e59c5c326d9ef13263af46a284f08@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.