From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Plessas Subject: Re: compilation error with alsa-driver-1.0.11 Date: Fri, 19 May 2006 17:15:40 +0200 Message-ID: <446DE11C.2090903@mur.at> References: <446CFB81.2050204@mur.at> <446DD407.8050302@mur.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Takashi Iwai Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi, that's it, working now. Ah now i know why, i got confused with the first lines of hgcompile (alsa-kernel not found) when it tries to detect if the symlink is already set, and changed alsa-kernel's location, or the env-variables'. Thanks a lot, so much great help! Peter Takashi Iwai wrote: > At Fri, 19 May 2006 16:19:51 +0200, > Peter Plessas wrote: > >>Hi Takashi, >> >>thanks for the hint, did a checkout of the ng sources, wondering at >>running ./configure, howto specify soundcards: >> >>checking for which soundcards to compile driver for... configure: error: >>Unknown soundcard pmac > > > The basic step is like below: > > 1. get alsa-kernel and alsa-driver directories (repos) in the same > level of directory > > % cd /somewhere/alsa > % hg clone http://hg-mirror.alsa-project.org/alsa-driver > % hg clone http://hg-mirror.alsa-project.org/alsa-kernel > > 2. go to alsa-driver directory and run hgcompile > > % cd alsa-driver > % ./hgcompile --with-debug=full --with-cards=powermac > > If this still doesn't work, let me know. > > > Takashi > > > >>tried as well: all, usb-audio, hdsp, powermac,... all giving the same >>error. >>I downloaded alsa-driver and alsa-kernel directories, do i miss something? >> >>Sorry for the inconvenience, >> >>regards, >> >>Peter >> >>Takashi Iwai wrote: >> >>>At Fri, 19 May 2006 00:56:01 +0200, >>>Peter Plessas wrote: >>> >>> >>>>Hi Dear List, >>>> >>>>trying to compile alsa-drivers for powermac and hdsp along a 2.6.16 >>>>kernel, configured with: >>>> >>>>./configure --with-oss=yes --with-cards=powermac,usb-audio,hdsp >>>> >>>>getting an error, at 'make' here: >>>> >>>>In file included from /usr/local/src/alsa-driver-1.0.11/ppc/pmac.c:8: >>>>/usr/local/src/alsa-driver-1.0.11/ppc/../alsa-kernel/ppc/pmac.c: In >>>>function 'snd_pmac_detect': >>>>/usr/local/src/alsa-driver-1.0.11/ppc/../alsa-kernel/ppc/pmac.c:872: >>>>warning: implicit declaration of function 'machine_is' >>>>/usr/local/src/alsa-driver-1.0.11/ppc/../alsa-kernel/ppc/pmac.c:872: >>>>error: 'powermac' undeclared (first use in this function) >>>>/usr/local/src/alsa-driver-1.0.11/ppc/../alsa-kernel/ppc/pmac.c:872: >>>>error: (Each undeclared identifier is reported only once >>>>/usr/local/src/alsa-driver-1.0.11/ppc/../alsa-kernel/ppc/pmac.c:872: >>>>error: for each function it appears in.) >>>>make[4]: *** [/usr/local/src/alsa-driver-1.0.11/ppc/pmac.o] Error 1 >>>>make[3]: *** [/usr/local/src/alsa-driver-1.0.11/ppc] Error 2 >>>>make[2]: *** [_module_/usr/local/src/alsa-driver-1.0.11] Error 2 >>>>make[1]: *** [modules] Error 2 >>>>make[1]: Leaving directory `/usr/src/linux-2.6.16.16' >>>>make: *** [compile] Error 2 >>>> >>>>Anyone has a suggestion why this happens? >>>>I need to get this working by saturday so i am quite desperate and >>>>thanking in advance for any advice, >>> >>> >>>Try HG version. >>> >>> >>>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