Trying to compile alsa-driver 1.0.4-rc2 with a 2.6.4 kernel, I get this error:

--
CC [M] /usr/src/alsa-driver-1.0.4rc2/kbuild/../acore/memory.o
In file included from /usr/src/alsa-driver-1.0.4rc2/alsa-kernel/core/memory.c:29,
from /usr/src/alsa-driver-1.0.4rc2/acore/memory.c:2:
include/linux/pci.h:659: error: parse error before numeric constant
make[3]: *** [/usr/src/alsa-driver-1.0.4rc2/kbuild/../acore/memory.o] Error 1
--


From what I can tell, it seems to be having a problem with this line from /usr/src/linux-2.6.4/include/linux/pci.h:

int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask);

That looks perfectly valid to me, and other modules (nvidia and vmware to be precise) compile just fine so either there's something wrong with either the ALSA driver or my procedure for building it.

That procedure, by the way, is:

./configure --with-sequencer=yes --with-oss=yes --with-cards=au8830
make -j2

I also tried it without the --with-cards or -j2 flags, and that had no effect.

So, am I doing something wrong here, or have I found a bug?

-Joe


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to