At Wed, 05 Mar 2003 10:04:10 +0200,
Andrei Boros wrote:
> 
> I looked into the file memory_wrapper.c and the second patch you sent me
> sets this.
> I think it should read :
> #include <linux/pci.h>

yep, it's a typo.  sorry.

> 
> After this, the driver compilation succeeded.
> 
> I deleted the snd-* modules, then 
> make install
> depmod -a 
> 
> I get : 
> -------------------------------------------------------------------------------------
> gate:~/install/alsa-cvs/alsa-driver# depmod -a
> /lib/modules/2.2.23/misc/snd-opti92x-ad1848.o: unresolved symbol(s)
> /lib/modules/2.2.23/misc/snd-opl3-synth.o: unresolved symbol(s)
> -------------------------------------------------------------------------------------
> 
> I tried modprobe snd-opti92x-ad1848 and I see :
> -------------------------------------------------------------------------------------
> gate:~/install/alsa-cvs/alsa-driver# modprobe snd-opti92x-ad1848
> /lib/modules/2.2.23/misc/snd-page-alloc.o: init_module: Device or
> resource busy
> snd-page-alloc: No such file or directory
> snd-rawmidi: No such file or directory
> snd: No such file or directory
> -------------------------------------------------------------------------------------
> 
> The interesting part is that snd-rawmidi.o, snd.o, snd-page-alloc.o all
> exist and are there

did you see any compile warning for acore/memalloc.c?
anyway, please change alsa-kernel/core/memalloc.c (line 735) like the
following:

static int __init snd_mem_init(void)
{
        create_proc_read_entry("driver/snd-page-alloc", 0, 0, snd_mem_proc_read, NULL);
        return 0;
}


> Then I ran again depmod -a -v -e and I get :
> -------------------------------------------------------------------------------------
> /lib/modules/2.2.23/misc/snd-ad1848-lib.o
> /lib/modules/2.2.23/misc/snd-opl3-synth.o: unresolved symbol(s)
>         snd_seq_instr_find_R8fff548c
>         snd_seq_instr_free_use_Rf8a556ca
>         snd_midi_channel_free_set_Rcfb054f4
>         snd_seq_instr_event_R7bdca607
>         snd_seq_instr_list_new_Rb61f0009
>         snd_seq_instr_list_free_R192a43fe
>         snd_midi_process_event_R789db613
>         snd_midi_channel_alloc_set_R7b6f0fa7
>         snd_seq_fm_init_Ra759f38d

they are atrange.  do you have snd-seq-instr.o ?
if not, there might be a problem of the version of "make".

> -------------------------------------------------------------------------------------
> I noticed that snd-isapnp was _NOT_ built.
> Makefile.conf reads:
> CONFIG_ISAPNP_KERNEL    =
> CONFIG_ISAPNP           = y
> -------------------------------------------------------------------------------------

that's correct.

> support/Makefile
> -------------------------------------------------------------------------------------
> # Toplevel Module Dependency
> ifndef CONFIG_ISAPNP_KERNEL
> ifeq (y,$(CONFIG_ISAPNP))
> obj-m += snd-isapnp.o
> endif
> endif
> -------------------------------------------------------------------------------------

hmm, how about this?

# Toplevel Module Dependency
ifdef CONFIG_ISAPNP_KERNEL
else
ifeq (y,$(CONFIG_ISAPNP))
obj-m += snd-isapnp.o
endif
endif


Takashi


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