From: walt <wa1ter@myrealbox.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.21-ac1
Date: Sat, 14 Jun 2003 09:57:38 +0000 [thread overview]
Message-ID: <3EEAF192.4050102@myrealbox.com> (raw)
In-Reply-To: <200306141430.h5EEUuV31162@devserv.devel.redhat.com>
Alan Cox wrote:
> Linux 2.4.21-ac1
Hi Alan,
Starting two 'ac' versions ago (rc7, IIRC) I can't compile the alsa-driver package:
gcc -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.2/work/alsa-driver-0.9.2/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=athlon -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:158: invalid operands to binary >
make[1]: *** [serialmidi.o] Error 1
This problem is specific to the ac tree. The vanilla kernel allows the alsa-
drivers to compile without problem.
This is the offending line in serialmidi.c:
if (tty->count > 1) {
snd_printk(KERN_ERR "tty %s is already used", serial->sdev);
The compilation will finish if I make this change:
if (atomic_read(&(tty->count)) > 1) {
Since I don't have a clue what I'm doing this is probably not the right fix :0)
I suspect that changing the alsa code is starting at the wrong end of the
problem anyway.
Am I the only one seeing this?
next prev parent reply other threads:[~2003-06-14 17:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-14 14:30 Alan Cox
2003-06-14 9:57 ` walt [this message]
2003-06-14 17:59 ` Alan Cox
2003-06-14 16:01 ` Aschwin Marsman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EEAF192.4050102@myrealbox.com \
--to=wa1ter@myrealbox.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®