Takashi Iwai wrote:
> > The define should be (in my case)
> > CONFIG_ISAPNP_KERNEL    = n
> > and then snd-isapnp is correctly built.
> >
> > The configure script seems to fails to set this variable properly.
> 
> thanks for your report.
> this was already fixed on cvs.
> please test the cvs version.
> 

I just got the cvs tree 20 minutes ago (cvs, not snapshot download).

In Makefile.conf the variables still read:

CONFIG_ISAPNP_KERNEL    =
CONFIG_ISAPNP           = y

and the driver won't compile with a huge number of errors.

(I ran ./cvscompile in the alsa-driver dir then rerun ./configure with
my options
--with-isapnp=yes --with-sequencer=yes --with-oss=yes
--with-cards=cs46xx,opti92x-ad1848,dummy)

Kernel is 2.2.23. 
And alsa-driver-0.9-rc7 compiles ok and at least the cs46xx module
loads. (sound output not tested yet, I am at work...)

And I get the same errors as below in alsa-0.9-rc8
------------------------------------------------------------------------------------------
../alsa-kernel/core/memalloc.c: In function `mark_pages':
In file included from memalloc.c:11:
../alsa-kernel/core/memalloc.c:336: warning: implicit declaration of
function `virt_to_page'
../alsa-kernel/core/memalloc.c:336: warning: initialization makes
pointer from integer without a c
ast
../alsa-kernel/core/memalloc.c:339: warning: implicit declaration of
function `SetPageReserved'
../alsa-kernel/core/memalloc.c: In function `unmark_pages':
../alsa-kernel/core/memalloc.c:345: warning: initialization makes
pointer from integer without a c
ast
../alsa-kernel/core/memalloc.c:348: warning: implicit declaration of
function `ClearPageReserved'
../alsa-kernel/core/memalloc.c: In function
`snd_malloc_pci_pages_R0da0ac88':
../alsa-kernel/core/memalloc.c:490: warning: implicit declaration of
function `pci_alloc_consisten
t'
../alsa-kernel/core/memalloc.c:490: warning: assignment makes pointer
from integer without a cast
../alsa-kernel/core/memalloc.c: In function
`snd_free_pci_pages_R45c25f49':
../alsa-kernel/core/memalloc.c:549: warning: implicit declaration of
function `pci_free_consistent
'
../alsa-kernel/core/memalloc.c: In function `snd_mem_init':
../alsa-kernel/core/memalloc.c:737: warning: implicit declaration of
function `create_proc_read_en
try'
../alsa-kernel/core/memalloc.c: At top level:
../alsa-kernel/core/memalloc.c:743: parse error before `snd_mem_exit'
../alsa-kernel/core/memalloc.c:744: warning: return-type defaults to
`int'
../alsa-kernel/core/memalloc.c: In function `snd_mem_exit':
../alsa-kernel/core/memalloc.c:749: warning: control reaches end of
non-void function
../alsa-kernel/core/memalloc.c: In function `__cleanup_module_inline':
../alsa-kernel/core/memalloc.c:753: warning: return from incompatible
pointer type
memalloc.c: At top level:
memalloc.c:15: `snd_pci_compat_match_device' undeclared here (not in a
function)
memalloc.c:15: initializer element for
`__ksymtab_snd_pci_compat_match_device.value' is not consta
nt
memalloc.c:16: `snd_pci_compat_register_driver' undeclared here (not in
a function)
memalloc.c:16: initializer element for
`__ksymtab_snd_pci_compat_register_driver.value' is not con
stant
memalloc.c:17: `snd_pci_compat_unregister_driver' undeclared here (not
in a function)
memalloc.c:17: initializer element for
`__ksymtab_snd_pci_compat_unregister_driver.value' is not c
onstant
memalloc.c:18: `snd_pci_compat_get_size' undeclared here (not in a
function)
memalloc.c:18: initializer element for
`__ksymtab_snd_pci_compat_get_size.value' is not constant
memalloc.c:19: `snd_pci_compat_get_flags' undeclared here (not in a
function)
memalloc.c:19: initializer element for
`__ksymtab_snd_pci_compat_get_flags.value' is not constant
memalloc.c:20: `snd_pci_compat_set_power_state' undeclared here (not in
a function)
memalloc.c:20: initializer element for
`__ksymtab_snd_pci_compat_set_power_state.value' is not con
stant
memalloc.c:21: `snd_pci_compat_enable_device' undeclared here (not in a
function)
memalloc.c:21: initializer element for
`__ksymtab_snd_pci_compat_enable_device.value' is not const
ant
memalloc.c:22: `snd_pci_compat_find_capability' undeclared here (not in
a function)
memalloc.c:22: initializer element for
`__ksymtab_snd_pci_compat_find_capability.value' is not con
stant
memalloc.c:23: `snd_pci_compat_alloc_consistent' undeclared here (not in
a function)
memalloc.c:23: initializer element for
`__ksymtab_snd_pci_compat_alloc_consistent.value' is not co
nstant
memalloc.c:24: `snd_pci_compat_free_consistent' undeclared here (not in
a function)
memalloc.c:24: initializer element for
`__ksymtab_snd_pci_compat_free_consistent.value' is not con
stant
memalloc.c:25: `snd_pci_compat_dma_supported' undeclared here (not in a
function)
memalloc.c:25: initializer element for
`__ksymtab_snd_pci_compat_dma_supported.value' is not const
ant
memalloc.c:26: `snd_pci_compat_get_dma_mask' undeclared here (not in a
function)
memalloc.c:26: initializer element for
`__ksymtab_snd_pci_compat_get_dma_mask.value' is not consta
nt
memalloc.c:27: `snd_pci_compat_set_dma_mask' undeclared here (not in a
function)
memalloc.c:27: initializer element for
`__ksymtab_snd_pci_compat_set_dma_mask.value' is not consta
nt
memalloc.c:28: `snd_pci_compat_get_driver_data' undeclared here (not in
a function)
memalloc.c:28: initializer element for
`__ksymtab_snd_pci_compat_get_driver_data.value' is not con
stant
memalloc.c:29: `snd_pci_compat_set_driver_data' undeclared here (not in
a function)
memalloc.c:29: initializer element for
`__ksymtab_snd_pci_compat_set_driver_data.value' is not con
stant
memalloc.c:33: `snd_compat_vmalloc_to_page' undeclared here (not in a
function)
memalloc.c:33: initializer element for
`__ksymtab_snd_compat_vmalloc_to_page.value' is not constan
t
make[1]: *** [memalloc.o] Error 1
make: *** [compile] Error 1


-- 
ing. Andrei Boros
mailto:[EMAIL PROTECTED] / +40-21-303-1870
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to