* alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7
@ 2004-10-02 0:12 Lee Revell
2004-10-02 0:32 ` Rui Nuno Capela
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Lee Revell @ 2004-10-02 0:12 UTC (permalink / raw)
To: alsa-devel; +Cc: linux-kernel, Ingo Molnar
At first I thought my build was incorrect, but I reproduced this error
with a clean build and ALSA CVS from today:
CC [M] /home/rlrevell/cvs/alsa/alsa-driver/kbuild/../acore/pcm_native.o
/home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c:3202:57: macro "io_remap_page_range" requires 5 arguments, but only 4 given
/home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c: In function `snd_pcm_lib_mmap_iomem':
/home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c:3200: error: `io_remap_page_range' undeclared (first use in this function)
/home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c:3200: error: (Each undeclared identifier is reported only once
/home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c:3200: error: for each function it appears in.)
make[3]: *** [/home/rlrevell/cvs/alsa/alsa-driver/kbuild/../acore/pcm_native.o] Error 1
make[2]: *** [/home/rlrevell/cvs/alsa/alsa-driver/kbuild/../acore] Error 2
make[1]: *** [_module_/home/rlrevell/cvs/alsa/alsa-driver/kbuild] Error 2
make[1]: Leaving directory `/home/rlrevell/kernel-source/linux-2.6.9-rc2-mm4-S7'
make: *** [compile] Error 2
I am not sure if this is an ALSA issue or -mm4. I suspect -mm4 because
-mm3-S6 worked. The VP patch does not seem to be involved.
Lee
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7 2004-10-02 0:12 alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7 Lee Revell @ 2004-10-02 0:32 ` Rui Nuno Capela [not found] ` <32868.192.168.1.8.1096677269.squirrel@192.168.1.8> 2004-10-02 11:47 ` Florian Schmidt 2 siblings, 0 replies; 10+ messages in thread From: Rui Nuno Capela @ 2004-10-02 0:32 UTC (permalink / raw) To: alsa-devel Lee Revell wrote: > At first I thought my build was incorrect, but I reproduced this error > with a clean build and ALSA CVS from today: > > CC [M] /home/rlrevell/cvs/alsa/alsa-driver/kbuild/../acore/pcm_native.o > /home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c:3202:57: macro > "io_remap_page_range" requires 5 arguments, but only 4 given > /home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c: In function > `snd_pcm_lib_mmap_iomem': > /home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c:3200: error: > `io_remap_page_range' undeclared (first use in this function) > /home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c:3200: error: (Each > undeclared identifier is reported only once > /home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c:3200: error: for > each function it appears in.) > make[3]: *** > [/home/rlrevell/cvs/alsa/alsa-driver/kbuild/../acore/pcm_native.o] Error 1 > make[2]: *** [/home/rlrevell/cvs/alsa/alsa-driver/kbuild/../acore] Error 2 > make[1]: *** [_module_/home/rlrevell/cvs/alsa/alsa-driver/kbuild] Error 2 > make[1]: Leaving directory > `/home/rlrevell/kernel-source/linux-2.6.9-rc2-mm4-S7' > make: *** [compile] Error 2 > > I am not sure if this is an ALSA issue or -mm4. I suspect -mm4 because > -mm3-S6 worked. The VP patch does not seem to be involved. > > Lee > Good grief! I'm having this too, and I was desperate thinking I was the only one, and ultimately offering the blame to gcc 3.4.1 which is what I'm test-driving now on my laptop (Mdk 10.1c). Now I remember that -mm4 has some issue about remap_page_range kernel symbol being renamed to something else, which is breaking the build of outsider modules (i.e. not the ones bundled under the kernel source tree). Or so it seems. Maybe someone on the lkml may have a clue and help here? -- rncbc aka Rui Nuno Capela rncbc@rncbc.org ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <32868.192.168.1.8.1096677269.squirrel@192.168.1.8>]
* io_remap_page_range (was Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7) [not found] ` <32868.192.168.1.8.1096677269.squirrel@192.168.1.8> @ 2004-10-02 0:51 ` Lee Revell 2004-10-04 15:26 ` Takashi Iwai [not found] ` <20041002004854.GB26711@thundrix.ch> 1 sibling, 1 reply; 10+ messages in thread From: Lee Revell @ 2004-10-02 0:51 UTC (permalink / raw) To: Rui Nuno Capela; +Cc: linux-kernel, Ingo Molnar, alsa-devel On Fri, 2004-10-01 at 20:34, Rui Nuno Capela wrote: > Lee Revell wrote: > Good grief! I'm having this too, and I was desperate thinking I was the > only one, and ultimately offering the blame to gcc 3.4.1 which is what I'm > test-driving now on my laptop (Mdk 10.1c). > > Now I remember that -mm4 has some issue about remap_page_range kernel > symbol being renamed to something else, which is breaking the build of > outsider modules (i.e. not the ones bundled under the kernel source tree). > Or so it seems. Looking through my archives I cannot find a report of this exact issue, but you are probably right. Looks like ALSA drivers need to be updated. Lee ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: io_remap_page_range (was Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7) 2004-10-02 0:51 ` io_remap_page_range (was Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7) Lee Revell @ 2004-10-04 15:26 ` Takashi Iwai 2004-10-08 19:23 ` Lee Revell 0 siblings, 1 reply; 10+ messages in thread From: Takashi Iwai @ 2004-10-04 15:26 UTC (permalink / raw) To: Lee Revell; +Cc: Rui Nuno Capela, linux-kernel, Ingo Molnar, alsa-devel At Fri, 01 Oct 2004 20:51:08 -0400, Lee Revell wrote: > > On Fri, 2004-10-01 at 20:34, Rui Nuno Capela wrote: > > Lee Revell wrote: > > Good grief! I'm having this too, and I was desperate thinking I was the > > only one, and ultimately offering the blame to gcc 3.4.1 which is what I'm > > test-driving now on my laptop (Mdk 10.1c). > > > > Now I remember that -mm4 has some issue about remap_page_range kernel > > symbol being renamed to something else, which is breaking the build of > > outsider modules (i.e. not the ones bundled under the kernel source tree). > > Or so it seems. > > Looking through my archives I cannot find a report of this exact issue, > but you are probably right. Looks like ALSA drivers need to be updated. The alsa-kernel code there (pcm_native.c) is ok but the patch in alsa-driver looks broken for the recent change of remap_pfn_range(). Also, there was another API brekage about pci_save/restore_state(). Fixed both on CVS now. Takahsi ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: io_remap_page_range (was Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7) 2004-10-04 15:26 ` Takashi Iwai @ 2004-10-08 19:23 ` Lee Revell 2004-10-08 20:11 ` Lee Revell 0 siblings, 1 reply; 10+ messages in thread From: Lee Revell @ 2004-10-08 19:23 UTC (permalink / raw) To: Takashi Iwai; +Cc: Rui Nuno Capela, linux-kernel, Ingo Molnar, alsa-devel On Mon, 2004-10-04 at 11:26, Takashi Iwai wrote: > At Fri, 01 Oct 2004 20:51:08 -0400, > Lee Revell wrote: > > > > On Fri, 2004-10-01 at 20:34, Rui Nuno Capela wrote: > > > Lee Revell wrote: > > > Good grief! I'm having this too, and I was desperate thinking I was the > > > only one, and ultimately offering the blame to gcc 3.4.1 which is what I'm > > > test-driving now on my laptop (Mdk 10.1c). > > > > > > Now I remember that -mm4 has some issue about remap_page_range kernel > > > symbol being renamed to something else, which is breaking the build of > > > outsider modules (i.e. not the ones bundled under the kernel source tree). > > > Or so it seems. > > > > Looking through my archives I cannot find a report of this exact issue, > > but you are probably right. Looks like ALSA drivers need to be updated. > > The alsa-kernel code there (pcm_native.c) is ok but the patch in > alsa-driver looks broken for the recent change of remap_pfn_range(). > > Also, there was another API brekage about pci_save/restore_state(). > > Fixed both on CVS now. I think this is still broken. Same problem when I went to configure ALSA for -mm3-T3. The configure script gets CONFIG_HAVE_OLD_REMAP_PAGE_RANGE wrong; I have the new version but configure fails to detect it. AFAICT the test in configure is a NOOP and CONFIG_HAVE_OLD_REMAP_PAGE_RANGE always gets set to 1. Lee ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: io_remap_page_range (was Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7) 2004-10-08 19:23 ` Lee Revell @ 2004-10-08 20:11 ` Lee Revell 0 siblings, 0 replies; 10+ messages in thread From: Lee Revell @ 2004-10-08 20:11 UTC (permalink / raw) To: Takashi Iwai; +Cc: Rui Nuno Capela, linux-kernel, Ingo Molnar, alsa-devel On Fri, 2004-10-08 at 15:23, Lee Revell wrote: > On Mon, 2004-10-04 at 11:26, Takashi Iwai wrote: > > At Fri, 01 Oct 2004 20:51:08 -0400, > > Lee Revell wrote: > > > > > > On Fri, 2004-10-01 at 20:34, Rui Nuno Capela wrote: > > > > Lee Revell wrote: > > > > Good grief! I'm having this too, and I was desperate thinking I was the > > > > only one, and ultimately offering the blame to gcc 3.4.1 which is what I'm > > > > test-driving now on my laptop (Mdk 10.1c). > > > > > > > > Now I remember that -mm4 has some issue about remap_page_range kernel > > > > symbol being renamed to something else, which is breaking the build of > > > > outsider modules (i.e. not the ones bundled under the kernel source tree). > > > > Or so it seems. > > > > > > Looking through my archives I cannot find a report of this exact issue, > > > but you are probably right. Looks like ALSA drivers need to be updated. > > > > The alsa-kernel code there (pcm_native.c) is ok but the patch in > > alsa-driver looks broken for the recent change of remap_pfn_range(). > > > > Also, there was another API brekage about pci_save/restore_state(). > > > > Fixed both on CVS now. > > I think this is still broken. Same problem when I went to configure > ALSA for -mm3-T3. The configure script gets > CONFIG_HAVE_OLD_REMAP_PAGE_RANGE wrong; I have the new version but > configure fails to detect it. > > AFAICT the test in configure is a NOOP and > CONFIG_HAVE_OLD_REMAP_PAGE_RANGE always gets set to 1. Nope, sorry, it works now. But, I did cvs update, make clean, ./build prep then configure and I was still hitting the bug. I was only able to fix it by deleting my working directory and checking out again. I don't think "make clean" cleans everything up. Lee ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20041002004854.GB26711@thundrix.ch>]
[parent not found: <1096678383.27818.87.camel@krustophenia.net>]
[parent not found: <1096679629.22244.4.camel@krustophenia.net>]
* Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7 [not found] ` <1096679629.22244.4.camel@krustophenia.net> @ 2004-10-02 1:23 ` Lee Revell 0 siblings, 0 replies; 10+ messages in thread From: Lee Revell @ 2004-10-02 1:23 UTC (permalink / raw) To: Tonnerre; +Cc: Rui Nuno Capela, linux-kernel, Ingo Molnar, alsa-devel On Fri, 2004-10-01 at 21:13, Lee Revell wrote: > For now unset CONFIG_OLD_REMAP_PAGE_RANGE and it should work. Not yet > tested. Yup, this works. Trivial patch: --- alsa-driver/configure~ 2004-09-29 16:05:19.000000000 -0400 +++ alsa-driver/configure 2004-10-01 21:14:20.000000000 -0400 @@ -6629,7 +6629,7 @@ CFLAGS=$ac_save_CFLAGS if test "$new_remap" != "1"; then cat >>confdefs.h <<\_ACEOF -#define CONFIG_OLD_REMAP_PAGE_RANGE 1 +#undef CONFIG_OLD_REMAP_PAGE_RANGE _ACEOF fi Lee ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7 2004-10-02 0:12 alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7 Lee Revell 2004-10-02 0:32 ` Rui Nuno Capela [not found] ` <32868.192.168.1.8.1096677269.squirrel@192.168.1.8> @ 2004-10-02 11:47 ` Florian Schmidt 2004-10-02 12:25 ` Florian Schmidt 2004-10-02 15:10 ` Rui Nuno Capela 2 siblings, 2 replies; 10+ messages in thread From: Florian Schmidt @ 2004-10-02 11:47 UTC (permalink / raw) To: Lee Revell; +Cc: alsa-devel, linux-kernel, Ingo Molnar On Fri, 01 Oct 2004 20:12:10 -0400 Lee Revell <rlrevell@joe-job.com> wrote: > At first I thought my build was incorrect, but I reproduced this error > with a clean build and ALSA CVS from today: > > CC [M] > /home/rlrevell/cvs/alsa/alsa-driver/kbuild/../acore/pcm_native.o > /home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c:3202:57: macro > "io_remap_page_range" requires 5 arguments, but only 4 > given/home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c: In > function > `snd_pcm_lib_mmap_iomem':/home/rlrevell/cvs/alsa/alsa-driver/acore/pc > m_native.c:3200: error: `io_remap_page_range' undeclared (first use in > this > function)/home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c:3200: > error: (Each undeclared identifier is reported only > once/home/rlrevell/cvs/alsa/alsa-driver/acore/pcm_native.c:3200: > error: for each function it appears in.) make[3]: *** > [/home/rlrevell/cvs/alsa/alsa-driver/kbuild/../acore/pcm_native.o] > Error 1 make[2]: *** > [/home/rlrevell/cvs/alsa/alsa-driver/kbuild/../acore] Error 2 make[1]: > *** [_module_/home/rlrevell/cvs/alsa/alsa-driver/kbuild] Error 2 > make[1]: Leaving directory > `/home/rlrevell/kernel-source/linux-2.6.9-rc2-mm4-S7' make: *** > [compile] Error 2 > > I am not sure if this is an ALSA issue or -mm4. I suspect -mm4 > because-mm3-S6 worked. The VP patch does not seem to be involved. Hmm, i have no problems compiling the alsa drivers included with the kernel [yes, i'm on mm4-S7].. tapas@mango:~$ gcc --version gcc (GCC) 3.3.4 (Debian 1:3.3.4-13) flo ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7 2004-10-02 11:47 ` Florian Schmidt @ 2004-10-02 12:25 ` Florian Schmidt 2004-10-02 15:10 ` Rui Nuno Capela 1 sibling, 0 replies; 10+ messages in thread From: Florian Schmidt @ 2004-10-02 12:25 UTC (permalink / raw) To: Florian Schmidt; +Cc: Lee Revell, alsa-devel, linux-kernel, Ingo Molnar On Sat, 2 Oct 2004 13:47:32 +0200 Florian Schmidt <mista.tapas@gmx.net> wrote: > > I am not sure if this is an ALSA issue or -mm4. I suspect -mm4 > > because-mm3-S6 worked. The VP patch does not seem to be involved. > > > Hmm, i have no problems compiling the alsa drivers included with the > kernel [yes, i'm on mm4-S7].. > > tapas@mango:~$ gcc --version > gcc (GCC) 3.3.4 (Debian 1:3.3.4-13) oops misread. sorry.. flo ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7 2004-10-02 11:47 ` Florian Schmidt 2004-10-02 12:25 ` Florian Schmidt @ 2004-10-02 15:10 ` Rui Nuno Capela 1 sibling, 0 replies; 10+ messages in thread From: Rui Nuno Capela @ 2004-10-02 15:10 UTC (permalink / raw) To: alsa-devel Florian Schmidt wrote: > > Hmm, i have no problems compiling the alsa drivers included with the > kernel [yes, i'm on mm4-S7].. > It's not about the regular modules in kernel source tree. Those are built OK here too. We're talking about building the alsa-kernel + alsa-driver tandem from ALSA CVS. Cheers. -- rncbc aka Rui Nuno Capela rncbc@rncbc.org ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-10-08 20:11 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-02 0:12 alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7 Lee Revell
2004-10-02 0:32 ` Rui Nuno Capela
[not found] ` <32868.192.168.1.8.1096677269.squirrel@192.168.1.8>
2004-10-02 0:51 ` io_remap_page_range (was Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7) Lee Revell
2004-10-04 15:26 ` Takashi Iwai
2004-10-08 19:23 ` Lee Revell
2004-10-08 20:11 ` Lee Revell
[not found] ` <20041002004854.GB26711@thundrix.ch>
[not found] ` <1096678383.27818.87.camel@krustophenia.net>
[not found] ` <1096679629.22244.4.camel@krustophenia.net>
2004-10-02 1:23 ` [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7 Lee Revell
2004-10-02 11:47 ` Florian Schmidt
2004-10-02 12:25 ` Florian Schmidt
2004-10-02 15:10 ` Rui Nuno Capela
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox