From: Takashi Iwai <tiwai@suse.de>
To: Willy Tarreau <w@1wt.eu>
Cc: alsa-devel@alsa-project.org, "Gabor Z. Papp" <gzp@papp.hu>
Subject: Re: [PATCH] fix emu10k1 build in 1.0.13
Date: Mon, 06 Nov 2006 11:49:18 +0100 [thread overview]
Message-ID: <s5hvelssvdd.wl%tiwai@suse.de> (raw)
In-Reply-To: <20061031223421.GA3684@1wt.eu>
At Tue, 31 Oct 2006 23:34:21 +0100,
Willy Tarreau wrote:
>
> Hi Takashi !
>
> On Tue, Oct 31, 2006 at 03:27:58PM +0100, Takashi Iwai wrote:
> > At Sat, 28 Oct 2006 23:34:41 +0200,
> > Willy Tarreau wrote:
> > >
> > > Hi guys,
> > >
> > > Gabor Z.Papp reported to me that alsa-driver-1.0.13 did not build under
> > > 2.4.34-pre4. I found there was a missing export-objs in the emu10k1
> > > Makefile. This trivial patch fixes it.
> >
> > Strange, this is already set in alsa-driver/pci/emu10k1/Makefile that
> > includes alsa-kernel/pci/emu10k1/Makefile. Your patch would simply
> > override it...
>
> Interesting... Here's what I get :
>
> $ ./configure --with-cards=emu10k1 --with-oss=yes --with-sequencer=yes --with-kernel=/lib/modules/2.4.33-wt2/build
> ...
> $ make
> ...
> make[2]: Entering directory `/data/src/audio/alsa/alsa-driver-1.0.13/pci/emu10k1'
> make[2]: Circular io.c <- io.c dependency dropped.
> gcc -D__KERNEL__ -DMODULE=1 -I/data/src/audio/alsa/alsa-driver-1.0.13/include -I/lib/modules/2.4.33-wt2/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DKBUILD_BASENAME=io -c -o io.o io.c
> In file included from io.c:2:
> ../../alsa-kernel/pci/emu10k1/io.c:65: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile'
> ../../alsa-kernel/pci/emu10k1/io.c:65: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
> ../../alsa-kernel/pci/emu10k1/io.c:65: warning: data definition has no type or storage class
> ../../alsa-kernel/pci/emu10k1/io.c:97: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile'
> ../../alsa-kernel/pci/emu10k1/io.c:97: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
> ../../alsa-kernel/pci/emu10k1/io.c:97: warning: data definition has no type or storage class
> make[2]: *** [io.o] Error 1
> make[2]: Leaving directory `/data/src/audio/alsa/alsa-driver-1.0.13/pci/emu10k1'
> make[1]: *** [_modsubdir_emu10k1] Error 2
> make[1]: Leaving directory `/data/src/audio/alsa/alsa-driver-1.0.13/pci'
> make: *** [compile] Error 1
>
>
> Ah OK just found it, it was just a typo :
>
> --- ./pci/emu10k1/Makefile.orig Tue Oct 31 23:30:10 2006
> +++ ./pci/emu10k1/Makefile Tue Oct 31 23:30:15 2006
> @@ -5,7 +5,7 @@
> include $(SND_TOPDIR)/toplevel.config
> include $(SND_TOPDIR)/Makefile.conf
>
> -export-objs := memory.o voice.o io.c
> +export-objs := memory.o voice.o io.o
>
> include $(SND_TOPDIR)/alsa-kernel/pci/emu10k1/Makefile
>
>
> I've verified that it was the only one in this case. Please
> apply this patch instead.
A good catch. Fixed it on HG repo.
Thanks!
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
prev parent reply other threads:[~2006-11-06 10:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-28 21:34 [PATCH] fix emu10k1 build in 1.0.13 Willy Tarreau
2006-10-31 14:27 ` Takashi Iwai
2006-10-31 22:34 ` Willy Tarreau
2006-11-06 10:49 ` Takashi Iwai [this message]
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=s5hvelssvdd.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=gzp@papp.hu \
--cc=w@1wt.eu \
/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