Re: svn 23918 - vocenc.c:37: error : `ENOTSUP' undeclared

John Brown <[email protected]>
Newsgroups gmane.comp.video.mplayer.cygwin
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.