[MPlayer-cygwin] svn 23918 - vocenc.c:37: error: `ENOTSUP' undeclared

John Brown johnbrown105 at hotmail.com
Fri Aug 10 02:59:29 CEST 2007


John Brown <johnbrown105 <at> hotmail.com> writes:

> > 
> > Hello All,
> > 
> > The latest svn gives the following error:
> > 
> > gcc ...  -c  -o vocenc.o vocenc.c
> > vocenc.c: In function `voc_write_header':^M
> > vocenc.c:37: error: `ENOTSUP' undeclared (first use in this function)^M
> > 
<cut>
> > I worked around this by adding -DENOTSUP=48 to OPTFLAGS.

Henry Garcia wrote:
>
>Having same problems compiling mplayer as you mentioned with the error
>constant ENOTSUP not being declared.
>
>But did not understand exactly how you got around the problem.
>
<cut>
>Hank


MPlayer's configure does not seem to provide a way for you to
specify extra CFLAGS. After running configure, I edited config.mak
or Makefile (I don't remember which, and I am not at my machine now)
and added -DENOTSUP=48 to the "OPTFLAGS = .." statement.





More information about the MPlayer-cygwin mailing list