jas wrote:
> > I'm having problems compiling the alsa096 drivers for my 2.4.21-ac4
> > kernel.
> > I keep geeting errors like tis one:
> >
> > serialmidi.c:158: invalid operands to binary >
> > [make1]: *** [serialmidi.o] Error 1
> > make: *** [Compile] error 1

The -ac patch makes an incompatible change to the tty code.
Change line 158 of serialmidi.c from
        if (tty->count > 1) {
to
        if (atomic_read(&tty->count) > 1) {

> I finally thought of simply removing the entry in the toplevel.config
> for serialmidi and did first a 'make' and the 'make install' and
> everything went well......strangely enough.
>
> Did I do something terrible and will it mess up my system?

This is basically the same as if you'd specified the --with-cards=...
option to configure without including serialmidi.

> By the way why does the INSTALL file say you can simply leave out the
> usual 'make' setp  and just do './compile and make install'? I had to
> do the 'make' by it self to make things work...is it my set-up or is
> there an issue?

Some time ago, the makefile was changed not to compile when doing a
"make install". The INSTALL file is wrong.


HTH
Clemens




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to