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

Gunter Ohrner G.Ohrner at post.rwth-aachen.de
Fri May 18 12:45:58 CEST 2007


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
*******************************

*******************************
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.)

> (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.

Greetings,

  Gunter



More information about the Alsa-devel mailing list