compilation error with alsa-driver-1.0.11
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,
regards.
Peter
-------------------------------------------------------
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
At Fri, 19 May 2006 00:56:01 +0200,
Quoted 28 lines · Peter Plessas
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
Quoted 3 lines
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
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
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
Quoted 24 lines · Takashi Iwai
At Fri, 19 May 2006 00:56:01 +0200,
Quoted 21 lines · Peter Plessas
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
Quoted 8 lines
Quoted 2 lines
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
At Fri, 19 May 2006 16:19:51 +0200,
Quoted 8 lines · Peter Plessas
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
Quoted 4 lines
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?
Quoted 47 lines
Sorry for the inconvenience,
regards,
Peter
Quoted 39 lines · Takashi Iwai
At Fri, 19 May 2006 00:56:01 +0200,
Quoted 27 lines · Peter Plessas
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 2Quoted 3 lines
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
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
Quoted 21 lines · Takashi Iwai
At Fri, 19 May 2006 16:19:51 +0200,
Quoted 5 lines · Peter Plessas
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-kernel2. go to alsa-driver directory and run hgcompile
Quoted 55 lines
% cd alsa-driver % ./hgcompile --with-debug=full --with-cards=powermacIf this still doesn't work, let me know.
Takashi
Quoted 45 lines
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
Quoted 33 lines · Takashi Iwai
At Fri, 19 May 2006 00:56:01 +0200,
Quoted 21 lines · Peter Plessas
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 2Quoted 2 lines
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