Please find attached openal-20031102.ebuild and accompanying ChangeLog. This new version is a build of the CVS snapshot as of Nov. 2, 2003. Jason Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 20141 [details] openal-20031102.ebuild
Created attachment 20142 [details] ChangeLog
Can anyone else get it to compile against alsa 1.0.0rc2? I tried the usual 2 liner that gets most things working, no luck here.
What happens when you try to compile it against the unstable alsa 1.0.0? What dies? What did you try? Are you sure this should maybe go under a different bug? Alsa 1.0.0 seems to be flagged as unstable in portage right now, are you sure it's not a problem with alsa 1.0.0?
A quick compilation against alsa-lib-1.0.2 results in an interesting breakage, especially with the necessary definitions to use the older alsa-lib api. W/ the necessary definitions- gmake[1]: Entering directory `/var/tmp/portage/openal-20031102/work/openal/linux/src' gcc -I../../include -I../include -I../audioconvert -Iarch -I. -mcpu=athlon-xp -O2 -pipe -I/usr/kde/3.1/include/artsc -I/usr/include/SDL -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -fPIC -Wall -W -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wimplicit-function-declaration -Waggregate-return -Winline -Wpointer-arith -fno-common -ansi -Wno-redundant-decls -c arch/alsa/alsa.c -o arch/alsa/alsa.o gcc -I../../include -I../include -I../audioconvert -Iarch -I. -mcpu=athlon-xp -O2 -pipe -I/usr/kde/3.1/include/artsc -I/usr/include/SDL -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -fPIC -Wall -W -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wimplicit-function-declaration -Waggregate-return -Winline -Wpointer-arith -fno-common -ansi -Wno-redundant-decls -c mutex/posixmutex.c -o mutex/posixmutex.o gcc -I../../include -I../include -I../audioconvert -Iarch -I. -mcpu=athlon-xp -O2 -pipe -I/usr/kde/3.1/include/artsc -I/usr/include/SDL -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -fPIC -Wall -W -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wimplicit-function-declaration -Waggregate-return -Winline -Wpointer-arith -fno-common -ansi -Wno-redundant-decls -c alc/alc_context.c -o alc/alc_context.o In file included from /usr/include/alsa/asoundlib.h:51, from arch/alsa/alsa.c:20: /usr/include/alsa/timer.h:103: field `tstamp' has incomplete type arch/alsa/alsa.c: In function `set_write_alsa': arch/alsa/alsa.c:189: warning: implicit declaration of function `alloca' arch/alsa/alsa.c:189: warning: cast does not match function type arch/alsa/alsa.c:222: too few arguments to function `snd_pcm_hw_params_get_channels' arch/alsa/alsa.c:233: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast arch/alsa/alsa.c:261: too few arguments to function `snd_pcm_hw_params_get_buffer_size' arch/alsa/alsa.c:264: warning: passing arg 2 of `snd_pcm_hw_params_get_period_size' from incompatible pointer type arch/alsa/alsa.c:264: too few arguments to function `snd_pcm_hw_params_get_period_size' gmake[1]: *** [arch/alsa/alsa.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory `/var/tmp/portage/openal-20031102/work/openal/linux/src' make: *** [all] Error 2 Without, C -Wall -W -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wimplicit-function-declaration -Waggregate-return -Winline -Wpointer-arith -fno-common -ansi -Wno-redundant-decls -c arch/arts/arts.c -o arch/arts/arts.o arch/alsa/alsa.c: In function `set_write_alsa': arch/alsa/alsa.c:218: too few arguments to function `snd_pcm_hw_params_get_channels' arch/alsa/alsa.c:229: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast arch/alsa/alsa.c:257: too few arguments to function `snd_pcm_hw_params_get_buffer_size' arch/alsa/alsa.c:260: warning: passing arg 2 of `snd_pcm_hw_params_get_period_size' from incompatible pointer type arch/alsa/alsa.c:260: too few arguments to function `snd_pcm_hw_params_get_period_size' gmake[1]: *** [arch/alsa/alsa.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory `/var/tmp/portage/openal-20031102/work/openal/linux/src' make: *** [all] Error 2 The definitions are needed going by that error message. This is against alsa-lib-1.0.2, and it's not a breakage in alsa, the reason alsa-lib is flagged masked is because of the default api change that occured between 0.9.8 and 1.0.0; details are at at 35412. This cvs snapshot seems to have issues, possibly pulled it while alsa work was being done upstream?
*** This bug has been marked as a duplicate of 41987 ***
How is this a duplicate? The mentioned bug is about crossdev being masked. This is a new ebuild for openal. I think you picked the wrong bug to mark as a duplicate.
Ok, this is a duplicate of 41978, not 41987
whoops, sorry...