[MPlayer-users] Re: make error

Rich Felker dalias at aerifal.cx
Tue May 10 18:29:40 CEST 2005


On Tue, May 10, 2005 at 03:46:34PM +0000, adland123 wrote:
> > 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;
>          .......
>          .......
> };

no, it's complaining about the initialization at line 56 of an
instance of this structure. it's happening because someone stupidly
broke the byte swapping macros... i'll fix...

rich




More information about the MPlayer-users mailing list