Jaroslav, With alsa-driver-1.0.0rc2, I run into the following compilation error (which I have also seen posted by some others on this list):
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/redhat/BUILD/alsa-driver-1.0.0rc2/include -I/lib/modules/2.4.22-1.2129.nptl/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DKBUILD_BASENAME=serialmidi -c -o serialmidi.o serialmidi.c serialmidi.c: In function `open_tty': serialmidi.c:164: error: invalid operands to binary > make: *** [serialmidi.o] Error 1 I'm compiling in the Fedora Core 1 environment, with Linux kernel 2.4.22. I have made the patch below, which fixes the compilation problem for me. (I don't know if the situation is different in 2.6.) If you are not the person to handle this problem, please redirect me to whoever is the appropriate maintainer. Thank you for your attention. Derek --- alsa-driver-1.0.0rc2/drivers/serialmidi.c.atomic 2003-12-12 17:37:12.000000000 +0100 +++ alsa-driver-1.0.0rc2/drivers/serialmidi.c 2003-12-12 17:33:57.000000000 +0100 @@ -161,7 +161,7 @@ retval = -EIO; goto __end; } - if (tty->count > 1) { + if (atomic_read(&tty->count) > 1) { snd_printk(KERN_ERR "tty %s is already used", serial->sdev); retval = -EBUSY; goto __end; ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user