All of lore.kernel.org
 help / color / mirror / Atom feed
* compilation error with alsa-driver-1.0.11
@ 2006-05-18 22:56 Peter Plessas
  2006-05-19  9:55 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Plessas @ 2006-05-18 22:56 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compilation error with alsa-driver-1.0.11
  2006-05-18 22:56 compilation error with alsa-driver-1.0.11 Peter Plessas
@ 2006-05-19  9:55 ` Takashi Iwai
  2006-05-19 14:19   ` Peter Plessas
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2006-05-19  9:55 UTC (permalink / raw)
  To: Peter Plessas; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compilation error with alsa-driver-1.0.11
  2006-05-19  9:55 ` Takashi Iwai
@ 2006-05-19 14:19   ` Peter Plessas
  2006-05-19 14:26     ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Plessas @ 2006-05-19 14:19 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compilation error with alsa-driver-1.0.11
  2006-05-19 14:19   ` Peter Plessas
@ 2006-05-19 14:26     ` Takashi Iwai
  2006-05-19 15:15       ` Peter Plessas
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2006-05-19 14:26 UTC (permalink / raw)
  To: Peter Plessas; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compilation error with alsa-driver-1.0.11
  2006-05-19 14:26     ` Takashi Iwai
@ 2006-05-19 15:15       ` Peter Plessas
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Plessas @ 2006-05-19 15:15 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-19 15:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 22:56 compilation error with alsa-driver-1.0.11 Peter Plessas
2006-05-19  9:55 ` Takashi Iwai
2006-05-19 14:19   ` Peter Plessas
2006-05-19 14:26     ` Takashi Iwai
2006-05-19 15:15       ` Peter Plessas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.