Hi there,

I've some problems when trying to compile alsa-driver 1.0.15.
If a do a "make" i get this error[1]:
I was looking to adriver.h (line 930) and there's an include to a file
(pci.h) that isn't present in this package.
My kernel is 2.6.22.13 ... i will try with 1.0.15rc1 package.

I read about upgrading kernel, but i have some Xen VMs working preety good.

Any suggestion?


1-
make[1]: Entering directory `/usr/src/linux-2.6.22.13-0.3'
  CC [M]  /srv/ftp/utils/alsa-driver-1.0.15/acore/hwdep.o
In file included from /srv/ftp/utils/alsa-driver-1.0.15/include/adriver.h:930,
                 from
/srv/ftp/utils/alsa-driver-1.0.15/include/sound/driver.h:46,
                 from /srv/ftp/utils/alsa-driver-1.0.15/acore/hwdep.c:22:
/usr/src/linux-2.6.22.13-0.3/include/linux/pci.h:552: error: expected
identifier or '(' before numeric constant
In file included from
/srv/ftp/utils/alsa-driver-1.0.15/include/sound/driver.h:46,
                 from /srv/ftp/utils/alsa-driver-1.0.15/acore/hwdep.c:22:
/srv/ftp/utils/alsa-driver-1.0.15/include/adriver.h: In function
'snd_pci_orig_save_state':
/srv/ftp/utils/alsa-driver-1.0.15/include/adriver.h:1172: error: too
many arguments to function 'pci_save_state'
/srv/ftp/utils/alsa-driver-1.0.15/include/adriver.h: In function
'snd_pci_orig_restore_state':
/srv/ftp/utils/alsa-driver-1.0.15/include/adriver.h:1176: error: too
many arguments to function 'pci_restore_state'
make[4]: *** [/srv/ftp/utils/alsa-driver-1.0.15/acore/hwdep.o] Error 1
make[3]: *** [/srv/ftp/utils/alsa-driver-1.0.15/acore] Error 2
make[2]: *** [_module_/srv/ftp/utils/alsa-driver-1.0.15] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.13-0.3'
make: *** [compile] Error 2
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to