From: Takashi Iwai Subject: Re: alsa-driver 1.0.14rc4 compile error resolved (was: Linux 2.6.21 regression with hda-intel (Conexant 5045)) Date: Fri, 18 May 2007 14:00:08 +0200 Message-ID: References: <1179414132.4415.295.camel@razman.gruemaster.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 6C2602433D for ; Fri, 18 May 2007 14:00:13 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Gunter Ohrner Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 18 May 2007 12:45:58 +0200, Gunter Ohrner wrote: > > Takashi Iwai wrote: > >> >> /usr/src/tmp/alsa-driver-1.0.14rc4/include/adriver.h:1168: error: too > >> >> many arguments to function 'pci_save_state' > > Does the configure script detect it as "mcore2", or not? > > Yes, both configures (1.0.14rc4 and hb-20070518) detect it as mcore2 if I > try to compile it against a corresponding kernel, and both fail with the > mentioned error. > > ******************************* > checking for processor type... mcore2 > ******************************* OK, then at least it's something else. Could you attach config.log with mcore2? > > ******************************* > In file included > from /usr/src/tmp/alsa-driver-hg20070518/include/adriver.h:930, > > from /usr/src/tmp/alsa-driver-hg20070518/include/sound/driver.h:46, > from /usr/src/tmp/alsa-driver-hg20070518/acore/hwdep.c:22: > include/linux/pci.h:531: error: expected identifier or '(' before numeric > constant > In file included > from /usr/src/tmp/alsa-driver-hg20070518/include/sound/driver.h:46, > from /usr/src/tmp/alsa-driver-hg20070518/acore/hwdep.c:22: > /usr/src/tmp/alsa-driver-hg20070518/include/adriver.h: In > function 'snd_pci_orig_save_state': > /usr/src/tmp/alsa-driver-hg20070518/include/adriver.h:1172: error: too many > arguments to function 'pci_save_state' > /usr/src/tmp/alsa-driver-hg20070518/include/adriver.h: In > function 'snd_pci_orig_restore_state': > /usr/src/tmp/alsa-driver-hg20070518/include/adriver.h:1176: error: too many > arguments to function 'pci_restore_state' > make[4]: *** [/usr/src/tmp/alsa-driver-hg20070518/acore/hwdep.o] Fehler 1 > make[3]: *** [/usr/src/tmp/alsa-driver-hg20070518/acore] Fehler 2 > ******************************* > > If I compile against my Pentium M kernel, both configures report "i686" and > at least alsa driver 1.0.14rc4 compiles. (Not tested with the HG snapshot.) Yes, I've also used 2.6.21 and 2.6.22-rc* and it'OK with i686 (I have no such a brand mew laptop here ;) > > (BTW, any reason that you add Reply-To: header?) > > Yes, but no paticularily good one. I tried to improve my client side > configuration a bit and the "Reply-To"s should be gone now. Looks Working fine. Thanks. Takashi