mpg123 compiling

Kfir Lavi 46is1 at 012.net.il
Sat Aug 3 18:57:43 PDT 2002


hi,
i have this problam with mpg123:
please send me a reply because i'm not subscribed to this mailing list.
my alsa is configured to isa vibra16 card (sb16).
tnx
kfir


make CC=gcc LDFLAGS= \
	AUDIO_LIB='-lasound' \
	OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
		audio_alsa.o term.o' \
	CFLAGS=' -DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX \
		-DALSA -DTERM_CONTROL\
		-Wall  -O2 -m486 \
		-fomit-frame-pointer -funroll-all-loops \
		-finline-functions -ffast-math \
		' \
	mpg123-make
make[1]: Entering directory `/usr/src/mpg123'
make[2]: Entering directory `/usr/src/mpg123'
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX 		-DALSA -DTERM_CONTR
OL		-Wall  -O2 -m486 		-fomit-frame-pointer -funroll-all-loops 		-finline-fu
nctions -ffast-math 		   -c -o mpg123.o mpg123.c
In file included from audio.h:45,
                 from mpg123.h:104,
                 from mpg123.c:30:
/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated,
use <alsa/asoundlib.h> instead.
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX 		-DALSA -DTERM_CONTR
OL		-Wall  -O2 -m486 		-fomit-frame-pointer -funroll-all-loops 		-finline-fu
nctions -ffast-math 		   -c -o common.o common.c
In file included from audio.h:45,
                 from mpg123.h:104,
                 from common.c:25:
/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated,
use <alsa/asoundlib.h> instead.
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX 		-DALSA -DTERM_CONTR
OL		-Wall  -O2 -m486 		-fomit-frame-pointer -funroll-all-loops 		-finline-fu
nctions -ffast-math 		   -c -o decode_i386.o decode_i386.c
In file included from audio.h:45,
                 from mpg123.h:104,
                 from decode_i386.c:17:
/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated,
use <alsa/asoundlib.h> instead.
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX 		-DALSA -DTERM_CONTR
OL		-Wall  -O2 -m486 		-fomit-frame-pointer -funroll-all-loops 		-finline-fu
nctions -ffast-math 		   -c -o dct64_i386.o dct64_i386.c
In file included from audio.h:45,
                 from mpg123.h:104,
                 from dct64_i386.c:10:
/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated,
use <alsa/asoundlib.h> instead.
as   -o decode_i586.o decode_i586.s
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX 		-DALSA -DTERM_CONTR
OL		-Wall  -O2 -m486 		-fomit-frame-pointer -funroll-all-loops 		-finline-fu
nctions -ffast-math 		   -c -o audio_alsa.o audio_alsa.c
In file included from audio.h:45,
                 from mpg123.h:104,
                 from audio_alsa.c:15:
/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated,
use <alsa/asoundlib.h> instead.
In file included from audio_alsa.c:19:
/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated,
use <alsa/asoundlib.h> instead.
audio_alsa.c: In function `audio_open':
audio_alsa.c:46: warning: implicit declaration of function `snd_card_name'
audio_alsa.c:63: `SND_PCM_OPEN_PLAYBACK' undeclared (first use in this
function)
audio_alsa.c:63: (Each undeclared identifier is reported only once
audio_alsa.c:63: for each function it appears in.)
audio_alsa.c:63: warning: passing arg 2 of `snd_pcm_open' makes pointer from
integer without a cast
audio_alsa.c: In function `audio_set_playback_params':
audio_alsa.c:81: `snd_pcm_playback_info_t' undeclared (first use in this
function)
audio_alsa.c:81: parse error before `pi'
audio_alsa.c:82: `snd_pcm_playback_params_t' undeclared (first use in this
function)
audio_alsa.c:84: warning: implicit declaration of function
`snd_pcm_playback_info'
audio_alsa.c:84: `pi' undeclared (first use in this function)
audio_alsa.c:90: `pp' undeclared (first use in this function)
audio_alsa.c:97: warning: implicit declaration of function
`snd_pcm_playback_params'
audio_alsa.c: In function `audio_set_rate':
audio_alsa.c:125: request for member `rate' in something not a structure or
union
audio_alsa.c:127: warning: implicit declaration of function
`snd_pcm_playback_format'
audio_alsa.c: In function `audio_set_channels':
audio_alsa.c:139: request for member `channels' in something not a structure
or union
audio_alsa.c:142: request for member `channels' in something not a structure
or union
audio_alsa.c: In function `audio_set_format':
audio_alsa.c:163: request for member `format' in something not a structure
or union
audio_alsa.c:163: `SND_PCM_SFMT_S16_BE' undeclared (first use in this
function)
audio_alsa.c:166: request for member `format' in something not a structure
or union
audio_alsa.c:166: `SND_PCM_SFMT_U8' undeclared (first use in this function)
audio_alsa.c:169: request for member `format' in something not a structure
or union
audio_alsa.c:169: `SND_PCM_SFMT_S8' undeclared (first use in this function)
audio_alsa.c:172: request for member `format' in something not a structure
or union
audio_alsa.c:172: `SND_PCM_SFMT_MU_LAW' undeclared (first use in this
function)
audio_alsa.c:175: request for member `format' in something not a structure
or union
audio_alsa.c:175: `SND_PCM_SFMT_A_LAW' undeclared (first use in this
function)
audio_alsa.c:178: request for member `format' in something not a structure
or union
audio_alsa.c:178: `SND_PCM_SFMT_U16_BE' undeclared (first use in this
function)
audio_alsa.c: In function `audio_get_formats':
audio_alsa.c:194: `snd_pcm_playback_info_t' undeclared (first use in this
function)
audio_alsa.c:194: parse error before `pi'
audio_alsa.c:202: `SND_PCM_FMT_S16_BE' undeclared (first use in this
function)
audio_alsa.c:202: initializer element is not constant
audio_alsa.c:202: (near initialization for `afmts[0]')
audio_alsa.c:202: `SND_PCM_FMT_U16_BE' undeclared (first use in this
function)
audio_alsa.c:202: initializer element is not constant
audio_alsa.c:202: (near initialization for `afmts[1]')
audio_alsa.c:203: `SND_PCM_FMT_U8' undeclared (first use in this function)
audio_alsa.c:203: initializer element is not constant
audio_alsa.c:203: (near initialization for `afmts[2]')
audio_alsa.c:203: `SND_PCM_FMT_S8' undeclared (first use in this function)
audio_alsa.c:203: initializer element is not constant
audio_alsa.c:203: (near initialization for `afmts[3]')
audio_alsa.c:204: `SND_PCM_FMT_MU_LAW' undeclared (first use in this
function)
audio_alsa.c:204: initializer element is not constant
audio_alsa.c:204: (near initialization for `afmts[4]')
audio_alsa.c:205: `SND_PCM_FMT_A_LAW' undeclared (first use in this
function)
audio_alsa.c:205: initializer element is not constant
audio_alsa.c:205: (near initialization for `afmts[5]')
audio_alsa.c:207: `pi' undeclared (first use in this function)
audio_alsa.c: In function `audio_play_samples':
audio_alsa.c:228: warning: implicit declaration of function `snd_pcm_write'
make[2]: *** [audio_alsa.o] Error 1
make[2]: Leaving directory `/usr/src/mpg123'
make[1]: *** [mpg123-make] Error 2
make[1]: Leaving directory `/usr/src/mpg123'
make: *** [linux-alsa] Error 2

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list