[alsa-devel] alsa-driver 1.0.14rc4 compile error resolved (was: Linux 2.6.21 regression with hda-intel (Conexant 5045))

Takashi Iwai tiwai at suse.de
Fri May 18 14:00:08 CEST 2007


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


More information about the Alsa-devel mailing list