[MPlayer-dev-eng] Compile error in current SVN

Diego Biurrun diego at biurrun.de
Wed Jun 16 20:29:06 CEST 2010


On Wed, Jun 16, 2010 at 10:22:19AM -0600, Kevin DeKorte wrote:
> 
> SVN compiled fine about 2 hrs ago... now I get this.
> 
> cc -MD -MP -Wstrict-prototypes -Wmissing-prototypes -Wundef
> - -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
> - -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
> - -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer
> - -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> - -Ilibdvdread4 -I.  -D_REENTRANT   -D_REENTRANT
> - -I/usr/include/freetype2   -I/usr/include/dirac
> - -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4   -c -o
> stream/asf_mmst_streaming.o stream/asf_mmst_streaming.c
> osdep/gettimeofday.c:23: error: conflicting types for 'gettimeofday'
> /usr/include/sys/time.h:73: note: previous declaration of 'gettimeofday'
> was here
> make: *** [osdep/gettimeofday.o] Error 1
> make: *** Waiting for unfinished jobs....

Should be fixed.

> Also libvpx doesn't seem to be detected properly on my machine...
> 
> The files that it says don't exist, should
> 
> ls -la /usr/include/vpx
> total 160
> drwxr-xr-x    2 root root  4096 Jun 16 07:36 .
> drwxr-xr-x. 222 root root 20480 Jun 16 07:36 ..
> - -rw-r--r--    1 root root  1004 May 18 09:58 vp8dx.h
> - -rw-r--r--    1 root root 12755 May 18 09:58 vpx_decoder.h
> 
> 
> ============ Checking for libvpx ============
> 
> #include <vpx/vpx_decoder.h>
> #include <vpx/vp8dx.h>
> int main(void) { vpx_codec_dec_init(NULL, &vpx_codec_vp8_dx_algo, NULL,
> 0); return 0; }
> 
> cc /tmp/mplayer-conf-7240-18147.c -MD -MP -Wstrict-prototypes
> - -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign
> - -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch
> - -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe
> - -ffast-math -fomit-frame-pointer -Ilibdvdread4 -I.  -D_REENTRANT
> - -D_REENTRANT   -I/usr/include/freetype2   -I/usr/include/dirac
> - -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4     -ffast-math
>  -lncurses -lsmbclient -lpng -lz -lmng -lz -ljpeg -lasound -ldl
> - -lpthread -lcdio_cdda -lcdio -lcdio_paranoia  -lfreetype -lfontconfig
> - -lz -lbz2 -lspeex -ltheora -logg   -ldca -lmpcdec -lliveMedia
> - -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++ -ldv
> - -lxvidcore -lm -ldirac_encoder -ldirac_decoder -lm -lstdc++
> - -lschroedinger-1.0 -lpthread -lm -lorc-0.4     -lXext -lX11 -lpthread
> - -lXss -lXv -lXinerama -lXxf86vm -lSDL -lGL -ldl -lpulse   -ljack  -o
> /tmp/mplayer-conf-9548-18147 -lvpx
> /tmp/mplayer-conf-7240-18147.c:1:29: error: vpx/vpx_decoder.h: No such file or directory
> /tmp/mplayer-conf-7240-18147.c:2:23: error: vpx/vp8dx.h: No such file or directory

If your cc does not look in /usr/include, something is severely broken.

Diego



More information about the MPlayer-dev-eng mailing list