alsa-driver 0.9.5 no compile

Joel Young jdy at cs.brown.edu
Sat Jul 26 01:41:56 UTC 2003


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 at cs.brown.edu>
Date: Fri, 25 Jul 2003 21:37:59 -0400
  To: rhl-beta-list at redhat.com
  Cc: jdy at 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 at redhat.com
http://www.redhat.com/mailman/listinfo/rhl-beta-list





More information about the fedora-test-list mailing list