[MPlayer-cygwin] svn 19208 - Mingw/MSYS build fails - no sys/poll.h

John Brown johnbrown105 at hotmail.com
Fri Jul 28 10:52:14 CEST 2006


I cannot build svn 19208 on Windows with MSYS and Mingw.

./configure is successful, but make fails with:

gcc -c -I../libvo -I../../libvo  -fno-PIC -W -Wall \
-Wno-unused-parameter -O2 -march=prescott -mtune=prescott -g3  \
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ic:/mingw/include/freetype2 \
-Ic:/mingw/include      -I. -I.. -o ao_mpegpes.o ao_mpegpes.c
ao_mpegpes.c:9:22: sys/poll.h: No such file or directory
ao_mpegpes.c: In function `preinit':
ao_mpegpes.c:145: warning: missing initializer
ao_mpegpes.c:145: warning: (near initialization for `subopts[0].set')
ao_mpegpes.c:146: warning: missing initializer
ao_mpegpes.c:146: warning: (near initialization for `subopts[1].set')
ao_mpegpes.c:147: warning: missing initializer
ao_mpegpes.c:147: warning: (near initialization for `subopts[2].type')
ao_mpegpes.c: In function `init':
ao_mpegpes.c:237: warning: label `retry' defined but not used
make[1]: *** [ao_mpegpes.o] Error 1
make[1]: Leaving directory `/c/progra~1/mplayer/svn/libao2'
make: *** [libao2/libao2.a] Error 2

I got some errors before, but "make clean" and "make distclean" fixed
them. However, it is a fact that there is no poll.h in
/mingw/include/sys or anywhere else for that matter.

I am using gcc version 3.4.2 (mingw-special) with MSYS 1.0.11 on
Windows XP SP2.





More information about the MPlayer-cygwin mailing list