[MPlayer-users] Error building mplayer w/ Xvid on Solaris 10
Raimund Steger
rs at mytum.de
Fri Dec 31 13:52:40 CET 2010
Hi,
when building mplayer snapshot 2010-12-31 on Solaris 10 x86 10/08, using
an external Xvid library, I get an error compiling
ffmpeg/libavcodec/libxvidff.c:
[...]
CC libxvidff.o
libxvidff.c: In function 'ff_tempfile':
libxvidff.c:101:35: error: 'O_BINARY' undeclared (first use in this
function)
libxvidff.c:101:35: note: each undeclared identifier is reported only
once for each function it appears in
make[1]: *** [libxvidff.o] Error 1
make[1]: Leaving directory
`/home/rs/src/mplayer-export-2010-12-31/ffmpeg/libavcodec'
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2
It seems that unlike in e. g. ffmpeg/libavformat/file.c, there is no
check in the source whether O_BINARY actually is available.
Compiler: gcc-4.5.2
Make: GNU Make 3.82
PKG_CONFIG_PATH=/usr/lib/pkgconfig
Configuration:
./configure \
--cc=gcc \
--prefix=/usr/local/dist \
--disable-vidix \
--disable-vcd \
--enable-menu \
--extra-cflags="-I/usr/local/dist/include" \
--extra-ldflags="-lX11 -R/usr/local/dist/lib -L/usr/local/dist/lib"
(I replaced the /bin/sh shebang with /bin/bash in ./configure and
./version.sh, as is necessary under Solaris, I hope it doesn't impair my
eligibility to report this.)
Raimund
More information about the MPlayer-users
mailing list