[MPlayer-users] Re: make error
adland123
adland123 at yahoo.com
Tue May 10 17:46:34 CEST 2005
> Having make error on FC3 with mplayer 1.0pre7.
>
> make -C libao2
why did you do this command and not:
in root directory of the source type
make distclean
./configure
make
> -o ao_pcm.o ao_pcm.c
> ao_pcm.c:56: error: initializer element is not constant
> ao_pcm.c:56: error: (near initialization for `wavhdr.riff')
> ao_pcm.c:59: error: initializer element is not constant
> ao_pcm.c:59: error: (near initialization for `wavhdr.wave')
> ao_pcm.c:60: error: initializer element is not constant
> ao_pcm.c:60: error: (near initialization for `wavhdr.fmt')
seems to be complaining about this structure definition in ao_pcm.c.
struct WaveHeader
{
uint32_t riff;
uint32_t file_length;
uint32_t wave;
uint32_t fmt;
.......
.......
};
unsure if the inttypes.h header file was included for some reason in your case
when building on your system in this manner.
unitXX_t datatypes are used also in ao_dxr2.c,ao_polyp.c, and ao_macosx.c
some of which may not be compiled as you dont use these specific audio outputs.
output of the configure script will tell you exactly.
More information about the MPlayer-users
mailing list