I hit this one... change line 164 of serialmidi.c to

        if (tty->count.counter > 1) {

from
        if (tty->count > 1) {

Somewhere along the line, the kernel code changed count from
a scalar to a union with one member -- a volatile int.



On Tue, 25 Nov 2003, d a nordquest wrote:
> Thanks, Clemens, for the help!
>
> >> # modprobe snd-als4000
> >> snd.o: unresolved symbol schedule_work
> >This is an incompatibility between the RedHat kernel and the official
> >Linux kernel.
>
> I tried doing what you suggested:
>
> >Directly after running configure, you have to execute the following
> >commands:
>
> >     mkdir -p include/linux
> >     touch include/linux/workqueue.h
>
>
> When compiling again I got the following errors:
>
> 1.) make error:
>
> serialmidi.c: In function `open_tty':
> serialmidi.c:164: error: invalid operands to binary >
> make[1]: *** [serialmidi.o] Error 1
> make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/drivers'
> make: *** [compile] Error 1
>
>
> 2.) make install error:
>
>
> make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/drivers'
> mkdir -p /lib/modules/2.4.22-1.2115.nptl/kernel/sound/drivers
> cp snd-dummy.o snd-mtpav.o snd-serial-u16550.o snd-serialmidi.o
> snd-virmidi.o /lib/modules/2.4.22-1.2115.nptl/kernel/sound/drivers
> cp: cannot stat `snd-dummy.o': No such file or directory
> cp: cannot stat `snd-mtpav.o': No such file or directory
> cp: cannot stat `snd-serial-u16550.o': No such file or directory
> cp: cannot stat `snd-serialmidi.o': No such file or directory
> cp: cannot stat `snd-virmidi.o': No such file or directory
> make[1]: *** [_modinst__] Error 1
> make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/drivers'
> make: *** [install-modules] Error 1
>
> Thanks for any suggestions.
>
> Dave
>
> ________________________________________________________________
> The best thing to hit the internet in years - Juno SpeedBand!
> Surf the web up to FIVE TIMES FASTER!
> Only $14.95/ month - visit www.juno.com to sign up today!
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Alsa-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>

kent williams -- [EMAIL PROTECTED]
http://www.cornwarning.com -- Iowa's First Techno Record Label
http://www.mp3.com/chaircrusher -- tunes




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to