[Alsaplayer-devel] Compiling Problems

Dirk Vornheder DVornheder@t-online.de
Fri, 7 Jul 2000 19:53:10 +0200


Hi !

Here are my problem again which i send a few days before to the list:

After successful compile and install of alsa 0.6 i cannot compile

actual cvs-version of alsaplayer. I get the following error messages:

make[3]: Entering directory `/privat/musik/alsaplayer/output/alsa'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include  -D_REENTRANT -I../.. -I../../include -g -O2 -I/usr/X11R6/include -L/usr/X11R6/lib -O2 -funroll-all-loops -finline-functions -ffast-math        -c alsa.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include -D_REENTRANT -I../.. -I../../include -g -O2 -I/usr/X11R6/include -L/usr/X11R6/lib -O2 -funroll-all-loops -finline-functions -ffast-math -c alsa.c  -fPIC -DPIC -o alsa.lo
alsa.c:32: `SND_PCM_OPEN_PLAYBACK' undeclared here (not in a function)
alsa.c:33: `SND_PCM_MODE_BLOCK' undeclared here (not in a function)
alsa.c:34: `SND_PCM_CHANNEL_PLAYBACK' undeclared here (not in a function)
alsa.c: In function `alsa_write':
alsa.c:72: `snd_pcm_channel_status_t' undeclared (first use in this function)
alsa.c:72: (Each undeclared identifier is reported only once
alsa.c:72: for each function it appears in.)
alsa.c:72: parse error before `status'
alsa.c:75: `status' undeclared (first use in this function)
alsa.c: In function `alsa_set_buffer':
alsa.c:106: structure has no member named `mode'
alsa.c:108: structure has no member named `start_mode'
alsa.c:109: structure has no member named `stop_mode'
alsa.c:109: `SND_PCM_STOP_STOP' undeclared (first use in this function)
alsa.c:110: structure has no member named `buf'
alsa.c:111: structure has no member named `buf'
alsa.c:112: structure has no member named `buf'
alsa.c:117: structure has no member named `voices'
alsa.c:119: structure has no member named `format'
alsa.c:134: structure has no member named `mode'
alsa.c: In function `alsa_set_sample_rate':
alsa.c:155: structure has no member named `mode'
alsa.c:157: structure has no member named `start_mode'
alsa.c:158: structure has no member named `stop_mode'
alsa.c:158: `SND_PCM_STOP_STOP' undeclared (first use in this function)
alsa.c:162: structure has no member named `voices'
alsa.c:164: structure has no member named `format'
make[3]: *** [alsa.lo] Error 1
make[3]: Leaving directory `/privat/musik/alsaplayer-0.99.32/output/alsa'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/privat/musik/alsaplayer-0.99.32/output'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/privat/musik/alsaplayer-0.99.32'
make: *** [all-recursive-am] Error 2       

Any ideas or fixes ?

Dirk