From: Takashi Iwai Subject: Re: Error compiling alsa-driver from sources Date: Tue, 16 May 2006 17:56:02 +0200 Message-ID: References: <4464A474.6070604@instant.com.br> <4469F55A.8060909@instant.com.br> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <4469F55A.8060909@instant.com.br> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Juan Carlos Castro y Castro Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 16 May 2006 12:52:58 -0300, Juan Carlos Castro y Castro wrote: > > Takashi Iwai wrote: > > >Juan Carlos Castro y Castro wrote: > > > > > >>If I compile and install the HG version of alsa-lib while everything > >>else is 1.0.11, will Bad Things happen? > >> > >> > >No, it shouldn't. alsa-lib API is backward compatible. > > > >But there were fixes and improvements in the driver and utils. Better > >to update all things. > > > > > I see that alsa-driver requires alsa-kernel, and finds it automatically > if present in a sibling directory. That does not happen when installing > the stable alsa-driver tarball. > > Here's the error I got: > > CC [M] /usr/src/hg/alsa-driver/pci/pdplus/pdplus.o > /usr/src/hg/alsa-driver/pci/pdplus/pdplus.c:6179: error: > `PCI_VENDOR_ID_MARIAN' undeclared here (not in a function) > /usr/src/hg/alsa-driver/pci/pdplus/pdplus.c:6179: error: initializer > element is not constant > /usr/src/hg/alsa-driver/pci/pdplus/pdplus.c:6179: error: (near > initialization for `pdplus_ids[0].vendor') (snip) It's a known issue that I've seen sometimes. alsa-driver/include/linux/pci_ids.h is missing, which is a symlink to ../pci_ids_compat.h. It must be created by configure script but it's removed by some reason on hgcompile. Create the symlink above manually or just run configure again. Takashi ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642