[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: alsa-driver 0.9.5 no compile



Well it seems I was not quite diligent enough before posting.

if (atomic_read(&tty->count) > 1) {

makes it work (I forgot the & before)

but still, is this an expected problem?

Joel
--------
From: Joel Young <jdy cs brown edu>
Date: Fri, 25 Jul 2003 21:37:59 -0400
  To: rhl-beta-list redhat com
  Cc: jdy cs brown edu
Subj: alsa-driver 0.9.5 no compile


Has anyone managed to get alsa to compile?

I am getting a 

serialmidi.c: In function `open_tty':
serialmidi.c:158: invalid operands to binary >
make: *** [serialmidi.o] Error 1

with gcc32 (and any other gcc)

This is:

if (tty->count > 1) {

where tty is a tty_struct

It seems that count is supposed to be atomic_t in the kernel
but using atomic_read gives an error on the ->

Any suggestions?

Not a kernel guy, I am.

Joel


--
Rhl-beta-list mailing list
Rhl-beta-list redhat com
http://www.redhat.com/mailman/listinfo/rhl-beta-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]