lkml.org 
[lkml]   [1998]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SB16 module broken 2.1.96
Neal Becker wrote:

> Building SB16 as a module fails on 2.1.96. I wind up with undefined
> ref's to uartxxxx. The uart401 is not built. I don't understand
> why. Reading Makefile in drivers/sound says that if SB is 'm',
> CONFIG_UART401 will be set to 'm'. But for some reason, it doesn't
> work.

Actually, that's in Defines. The problem (well, that's how I fixed it
anyway) lies in the Makefile, which doesn't add any actual targets (like
uart401.o) to the list of things to build.

What I did in the Makefile is copy the lines related to the
CONFIG_UART6850 (where it adds uart6850.o to either LX_OBJS or MX_OBJS
depending on the setting of CONFIG_UART6850), and change the UART6850 to
UART401 and the uart6850.o to uart401.o.

Michael Chastain has a patch for 2.1.95 (using 2.1.96 here, didn't try
his patch yet, not sure if it will apply correctly, but I think it
should) that you can find at
ftp://ftp.shout.net/pub/users/mec/experimental/ .

Alan Cox is responsible now for the sound drivers, and I guess it is
Linus that takes care of the general Makefile scheme, right? There
should be some clean-up in there that I'd be willing to do, but I'd like
to know first what are the general guidelines for Makefiles? The sound
modules are annoying in that they are very modular (huh?) and have a lot
of dependencies. I'd like to make it so that you'd simply choose the
card model and all the dependencies would take care of themselves (like
needing sb.o for some other cards), but maybe some people won't like
that kind of things going on behind their back...

--
Pierre Phaneuf <pphaneuf@sx.nec.com>, HNSX Supercomputers Inc.

Implementation: n., the fruitless struggle by the talented and underpaid
to fulfill promises made by the rich and ignorant.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.296 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site