I had already noticed this error when compiling the pseudo-modem
modules; my solution was an ugly hack that causes the pseudo-modem
to generate a blue screen of death when it wants to annoy me.
The src is driver/serialmidi.c, and the error happens in the line
if (tty->count > 1) { ...
The problem is that count of the tty structure is some weird
type that can't be converted to int. Is there any simple way to
fix this?
struct tty_struct {
int magic;
struct tty_driver driver;
struct tty_ldisc ldisc;
struct termios *termios, *termios_locked;
int pgrp;
int session;
kdev_t device;
unsigned long flags;
atomic_t count; /* <=== here lies the problem */
/* etc */
And file /usr/src/linux/include/asm/atomic_t.h is empty :-/
Alberto Monteiro
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user