[Alsa-user] PCMCIA support kills 0.9.4
Brought to you by:
perex
From: Moshe Y. <sp...@po...> - 2003-06-13 01:29:36
|
The latest CVS includes pcmcia support, and that's a problem. On my machine it will compile nicely; but when I attempt to load the "snd" module, I get a bunch of errors about pcmcia-specific functions that are not defined. These functions are in the last few lines of wrappers.c and sound.inc. The files attempt to avoid the problem by using #if defined(CONFIG_PCMCIA), but it doesn't help; even if I compile the package using --without-pcmcia, these functions compile and the modules won't load. The only way I can build if by deleting (well, #if 0) the entire final segment of the two files to get rid of the offending pcmcia functions. I suspect that the "#if defined(CONFIG_PCMCIA) is failing because Makefile.conf has "CONFIG_PCMCIA = n" defined, and that translates to a defined variable, even though it's defined to be "n". Using "#if CONFIG_PCMCIA == 'y' " doesn't solve the problem. This issue will, of course, become more problematical with time. I just intalled the debian 2.4.20-3-k7 kernel image, and the appropriate modules won't install because depmod fails. I am now stuck in some infinite loop... -- Moshe Yudkowsky * http://www.Disaggregate.com |