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

John Brown johnbrown105 at hotmail.com
Mon Jul 30 01:04:42 CEST 2007


Hello All,

The latest svn gives the following error:

gcc -I../libavcodec  -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOUR
CE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdisabled-optimization -Wdeclarati
on-after-statement -I. -I.. -I../libavutil -W -Wall -O2 -march=prescott -mtune=p
rescott -pipe -g3  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOU
RCE -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include  -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

ENOTSUP is not in the list of errno constants at
http://msdn2.microsoft.com/en-us/library/5814770t(VS.80).aspx, but apparently,
it can be found in pthread.h. I worked around this by adding -DENOTSUP=48 to
OPTFLAGS.




More information about the MPlayer-cygwin mailing list