Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Paul Berry <pnberry@gustavus.ak.us>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: configure error with alsa-driver-0.9.7a
Date: Fri, 10 Oct 2003 17:23:08 +0200	[thread overview]
Message-ID: <s5h3ce16rs3.wl@alsa2.suse.de> (raw)
In-Reply-To: <000501c38f14$beaafa60$7ff8e589@farnorth>

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

At Fri, 10 Oct 2003 01:54:25 -0800,
Paul Berry wrote:
> 
> Thank you for the patch Takashi and here is what came of it.
> 
> I'm kinda green at this so this is what I did with the patch. I copied it to
> the alsa-driver-0.9.7a/acore/ folder and ran:
> patch -b --verbose memalloc.c <memalloc-nopci.dif
> 
> everything seemed to go fine so I restarted the make process and here is the
> tail of what followed (the memalloc.o file was created as well):

does the attached patch solve the problem?


Takashi

[-- Attachment #2: linux22-nopci.dif --]
[-- Type: application/octet-stream, Size: 588 bytes --]

Index: alsa-driver/acore/memory_wrapper.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-driver/acore/memory_wrapper.c,v
retrieving revision 1.8
diff -u -r1.8 memory_wrapper.c
--- alsa-driver/acore/memory_wrapper.c	30 Jun 2003 10:07:07 -0000	1.8
+++ alsa-driver/acore/memory_wrapper.c	10 Oct 2003 15:21:15 -0000
@@ -13,8 +13,10 @@
 #include <linux/mm.h>
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
+#ifdef CONFIG_PCI
 #include <sound/memalloc.h>
 #include "pci_compat_22.c"
+#endif
 #endif
 
 /* vmalloc_to_page wrapper */

  reply	other threads:[~2003-10-10 15:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-09  9:11 configure error with alsa-driver-0.9.7a Paul Berry
2003-10-09 10:22 ` Takashi Iwai
2003-10-10  9:54   ` Paul Berry
2003-10-10 15:23     ` Takashi Iwai [this message]
2003-10-11  9:30       ` Paul Berry
  -- strict thread matches above, loose matches on Subject: below --
2003-10-08  9:33 Paul Berry
2003-10-08 12:37 ` Takashi Iwai
2003-10-10  0:29 ` James Courtier-Dutton

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=s5h3ce16rs3.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=pnberry@gustavus.ak.us \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox