Re: [LAU] UA-101

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Clemens Ladisch <clemens@...>
Cc: <linux-audio-user@...>
Date: Wednesday, February 17, 2010 - 5:24 pm

Clemens Ladisch wrote:

Thank you for looking at this.

I replaced the version of ua101.c in alsa-driver-1.0.22.1 with this one,
and I get:

make -C /lib/modules/2.6.32.7-b43-force-pio/source
SUBDIRS=/home/colinf/src/alsa/alsa-driver-1.0.22.1 CPP="gcc -E"
CC="gcc" modules
make[1]: Entering directory `/home/colinf/src/linux/linux-2.6'
CC [M] /home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/ua101.o
In file included from
/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/ua101.c:2:
/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/../alsa-kernel/usb/ua101.c:914:

error: ‘snd_pcm_lib_mmap_vmalloc’ undeclared here (not in a function)
/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/../alsa-kernel/usb/ua101.c:
In function ‘ua101_card_free’:
/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/../alsa-kernel/usb/ua101.c:1187:

warning: unused variable ‘ua’
make[3]: *** [/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/ua101.o]
Error 1
make[2]: *** [/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb] Error 2
make[1]: *** [_module_/home/colinf/src/alsa/alsa-driver-1.0.22.1] Error 2
make[1]: Leaving directory `/home/colinf/src/linux/linux-2.6'
make: *** [compile] Error 2

If I comment out the references to snd_pcm_lib_mmap_vmalloc on lines 914
and 927, make && sudo make install in alsa-driver-1.0.22.1 run to
completion, but when I connect the UA-1000, I get the following in
/var/log/messages:

Feb 17 17:11:50 colinf-laptop kernel: [ 2141.695322] snd_usb_lib:
disagrees about version of symbol snd_rawmidi_receive
Feb 17 17:11:50 colinf-laptop kernel: [ 2141.695326] snd_usb_lib:
Unknown symbol snd_rawmidi_receive
Feb 17 17:11:50 colinf-laptop kernel: [ 2141.695454] snd_usb_lib:
disagrees about version of symbol snd_rawmidi_transmit_empty
Feb 17 17:11:50 colinf-laptop kernel: [ 2141.695456] snd_usb_lib:
Unknown symbol snd_rawmidi_transmit_empty

[and so on for about 60 different snd_* symbols ]

I have kernel 2.6.32.8 (built from kernel.org source). Should I be using
a different kernel, or a different version of alsa-driver, or have I
made some other mistake?

Cheers,

Colin.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] UA-101, Ivica Ico Bukvic, (Mon Feb 8, 2:35 am)
Re: [LAU] UA-101, Gabriel M. Beddingfield, (Mon Feb 8, 4:34 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Mon Feb 8, 4:24 pm)
Re: [LAU] UA-101, Ivica Ico Bukvic, (Mon Feb 8, 5:58 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Mon Feb 8, 6:24 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Tue Feb 9, 8:34 am)
Re: [LAU] UA-101, Colin Fletcher, (Sat Feb 13, 8:23 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Mon Feb 15, 11:32 am)
Re: [LAU] UA-101, Colin Fletcher, (Mon Feb 15, 10:27 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Wed Feb 17, 8:57 am)
Re: [LAU] UA-101, Colin Fletcher, (Wed Feb 17, 5:24 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Wed Feb 17, 6:22 pm)
Re: [LAU] UA-101, Colin Fletcher, (Wed Feb 17, 7:06 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Thu Feb 18, 8:32 am)
Re: [LAU] UA-101, Colin Fletcher, (Fri Feb 19, 10:23 am)
Re: [LAU] UA-101, Clemens Ladisch, (Fri Feb 19, 2:28 pm)
Re: [LAU] UA-101, Colin Fletcher, (Fri Feb 19, 3:29 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Fri Feb 19, 5:49 pm)
Re: [LAU] UA-101, Colin Fletcher, (Fri Feb 19, 5:58 pm)
Re: [LAU] UA-101, Colin Fletcher, (Sat Feb 20, 7:18 pm)
Re: [LAU] UA-101, Colin Fletcher, (Sun Feb 21, 5:30 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Wed Feb 24, 2:58 pm)
Re: [LAU] UA-101, Colin Fletcher, (Wed Feb 24, 7:40 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Thu Feb 25, 8:51 am)
Re: [LAU] UA-101, Colin Fletcher, (Fri Feb 26, 5:15 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Fri Feb 26, 5:40 pm)
Re: [LAU] UA-101, Colin Fletcher, (Thu Feb 25, 11:48 am)
Re: [LAU] UA-101, Clemens Ladisch, (Tue Feb 23, 12:15 pm)
Re: [LAU] UA-101, Colin Fletcher, (Tue Feb 23, 5:54 pm)
Re: [LAU] UA-101, , (Tue Feb 23, 7:12 pm)
Re: [LAU] UA-101, Ivica Ico Bukvic, (Thu Feb 18, 11:57 pm)
Re: [LAU] UA-101, Clemens Ladisch, (Fri Feb 19, 7:36 am)