Skip to main content

Thread: mplayer2 won't work (apt-get) or can't install (git)


i want use mplayer2 since seems better, nothing hate. first tried install source, typically performance sensative (games, players, , scilab) however, has been unpleasant experiance. after tried installing sudo apt-get install mplayer2, ad while did install, won't play video files (which play fine mplayer). here output.

code:
$ ./configure checking cc version ... 4.6.1  detected operating system: linux detected host architecture: x86_64 checking host cc ... cc  checking cross compilation ... no  checking cpu vendor ... genuineintel (6:42:7)  checking cpu type ...  intel(r) core(tm) i5-2500k cpu @ 3.30ghz  checking kernel support of mmx ... yes  checking kernel support of mmxext ... yes  checking kernel support of sse ... yes  checking kernel support of sse2 ... yes  checking kernel support of ssse3 ... yes  checking kernel support of cmov ... yes  checking mtrr support ... yes  checking gcc & cpu optimization abilities ... native  checking byte order ... little-endian  checking extern symbol prefix ...   checking assembler support of -pipe option ... yes  checking compiler support of named assembler arguments ... yes  checking pic ... no  checking .align power of 2 ... no  checking 10 assembler operands ... yes  checking ebx availability ... yes  checking yasm ... yasm  checking bswap ... yes  checking -lposix ... no  checking -lm ... yes  checking langinfo ... yes  checking translation support ... no  checking language ... messages (en+):  - man pages: en - documentation: en  checking enable sighandler ... yes  checking runtime cpudetection ... no  checking restrict keyword ... restrict  checking __builtin_expect ... yes  checking kstat ... no  checking posix4 ... no  checking exp2 ... yes  checking exp2f ... yes  checking llrint ... yes  checking log2 ... yes  checking log2f ... yes  checking lrint ... yes  checking lrintf ... yes  checking round ... yes  checking roundf ... yes  checking truncf ... yes  checking mkstemp ... yes  checking nanosleep ... yes  checking socklib ... yes  checking arpa/inet.h ... yes  checking inet_pton() ... yes  checking inet_aton() ... yes  checking socklen_t ... yes  checking closesocket() ... no  checking networking ... yes  checking inet6 ... yes  checking gethostbyname2 ... yes  checking inttypes.h (required) ... yes  checking malloc.h ... yes  checking memalign() ... yes  checking posix_memalign() ... yes  checking alloca.h ... yes  checking fastmemcpy ... yes  checking mman.h ... yes  checking dynamic loader ... yes  checking dynamic a/v plugins support ... no  checking pthread ... yes (using -lpthread) checking w32threads ... no (using pthread instead) checking rpath ... no  checking iconv ... yes  checking soundcard.h ... yes (sys/soundcard.h) checking sys/dvdio.h ... no  checking sys/cdio.h ... no  checking linux/cdrom.h ... yes  checking dvd.h ... no  checking termcap ... yes (using -lncurses) checking termios ... yes (using termios.h) checking shm ... yes  checking strsep() ... yes  checking vsscanf() ... yes  checking swab() ... yes  checking posix select() ... yes  checking audio select() ... yes  checking gettimeofday() ... yes  checking glob() ... yes  checking setenv() ... yes  checking setmode() ... no  checking sys/sysinfo.h ... yes  checking apple ir ... yes  checking pkg-config ... yes  checking samba support (libsmbclient) ... no  checking tdfxfb ... no  checking s3fb ... no  checking wii ... no  checking tdfxvid ... no  checking xvr100 ... no  checking tga ... yes  checking md5sum support ... yes  checking yuv4mpeg support ... yes  checking bl ... no  checking directfb ... no  checking x11 headers presence ... yes  checking x11 ... yes  checking xss screensaver extensions ... no  checking dpms ... yes (using xdpms 4) checking xv ... yes  checking xvmc ... no  checking vdpau ... yes  checking xinerama ... yes  checking xxf86vm ... no  checking xf86keysym ... yes  checking dga ... no  checking 3dfx ... no  checking ggi ... no  checking ggi extension: libggiwmh ... no  checking aa ... yes  checking caca ... yes  checking svgalib ... no  checking fbdev ... yes  checking dvb ... yes  checking png support ... yes  checking mng support ... no  checking jpeg support ... no  checking pnm support ... yes  checking gif support ... no  checking vesa support ... no  checking sdl ... yes  checking opengl ... yes (backends: x11 sdl) checking matrixview ... yes  checking dxr3/h+ ... no  checking ivtv tv-out (pre linux-2.6.24) ... no  checking v4l2 mpeg decoder ... yes  checking oss audio ... yes  checking arts ... no  checking esound ... yes  checking esd_get_latency() ... yes  checking nas ... yes  checking pulse ... yes  checking jack ... yes  checking openal ... no  checking alsa audio ... yes (using alsa 1.0.x , alsa/asoundlib.h) checking sun audio ... no  checking vcd support ... yes  checking blu-ray support ... no  checking dvdread ... no  checking internal libdvdcss ... no  checking cdparanoia ... no  checking libcdio ... no  checking bitmap font support ... yes  checking freetype >= 2.0.9 ... yes  checking fontconfig ... yes  checking ssa/*** support ... yes  checking fribidi charsets ... no  checking enca ... yes  checking zlib ... yes  checking rtc ... yes  checking mad support ... no  checking oggvorbis support ... yes (libvorbis) checking libspeex (version >= 1.1 required) ... no  checking oggtheora support ... yes  checking mp3lib support ... yes  checking mpg123 support ... no  checking liba52 support ... no  checking libdca support ... no  checking libmpcdec (musepack, version >= 1.2.1 required) ... no  checking faad2 support ... no  checking ladspa plugin support ... no  checking libbs2b audio filter support ... no  checking win32 codecs ... no  checking xanim codecs ... yes (dynamic loader support needed) checking realplayer codecs ... yes (dynamic loader support needed) checking quicktime codecs ... auto  checking nemesi streaming media libraries ... no  checking live555 streaming media libraries ... no  checking ffmpeg (libavutil libavcodec libavformat libswscale libpostproc) ... yes  checking libdv-0.9.5+ ... no  checking xvid ... no  checking libnut ... no  checking /dev/mga_vid ... no  checking xmga ... no  checking unrar executable ... yes  checking tv interface ... yes  checking directshow tv interface ... no  checking video 4 linux tv interface ... no  checking video 4 linux 2 tv interface ... yes  checking radio interface ... no  checking capture radio interface ... no  checking video 4 linux 2 radio interface ... no  checking video 4 linux radio interface ... no  checking video 4 linux 2 mpeg pvr interface ... yes  checking ftp ... yes  checking vstream client ... no  checking osd menu ... no  checking subtitles sorting ... yes  checking xmms inputplugin support ... no  checking automatic gdb attach ... no  checking compiler support noexecstack ... yes  checking linker support --nxcompat --no-seh --dynamicbase ... no  checking joystick ... no  checking lirc ... no  checking lircc ... no  checking dvd support (libdvdnav) ... no  creating config.mak creating config.h  config files generated ./configure  !    install prefix: /usr/local   data directory: /usr/local/share/mplayer   config direct.: /usr/local/etc/mplayer    byte order: little-endian   optimizing for: native    languages:     messages (in addition english):      manual pages: en     documentation: en    enabled optional drivers:     input: ftp pvr tv-v4l2 tv vcd dvb networking      codecs: ffmpeg real xanim mp3lib(internal) libtheora libvorbis      audio output: alsa jack pulse nas esd oss v4l2 sdl mpegpes(dvb)      video output: v4l2 matrixview opengl sdl pnm mpegpes(dvb) fbdev caca aa vdpau xv x11 xover yuv4mpeg md5sum tga     disabled optional drivers:     input: dvdnav vstream radio tv-v4l1 tv-dshow live555 nemesi cddb cdda libdvdcss(internal) dvdread bluray smb      codecs: xvid libdv qtx win32 faad2 musepack libdca liba52 mpg123 speex libmad gif      audio output: sun openal arts ivtv      video output: xmga mga ivtv dxr3 vesa gif89a jpeg svga ggi 3dfx dga xvmc directfb dfbmga bl xvr100 tdfx_vid wii s3fb tdfxfb   'config.h' , 'config.mak' contain configuration options. note: if alter theses files (for instance cflags) mplayer may no longer       compile *** not report bugs if tweak these files ***  'make' compile mplayer , 'make install' install it. note: on non-linux systems might need use 'gmake' instead of 'make'.  please check mtrr settings @ /proc/mtrr (see docs/html/en/video.html#mtrr)  note: win32 codec dlls not supported on cpu (x86_64) or operating system (linux). may encounter few files cannot played due missing open source video/audio codec support.  check config.log if wonder why autodetection failed (make sure development headers/packages installed).  note: --enable-* parameters unconditionally force options on, skipping autodetection. behavior unlike may used autoconf-based configure scripts can decide override you. greater level of control comes @ price. may have provide correct compiler , linker flags yourself. if used 1 of these options (except --enable-menu , similar ones turn on internal features) , experience compilation or linking failure, make sure have passed necessary compiler/linker flags configure.  if suspect bug, please read docs/html/en/bugreports.html.
everything looks fine there, make.

code:
$ make -j 4 ./version.sh cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o command.o command.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o m_property.o m_property.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o mixer.o mixer.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o mplayer.o mplayer.c command.c: in function 'mp_property_sub': command.c:1608:9: warning: format not string literal , no format arguments [-wformat-security] command.c:1608:9: warning: format not string literal , no format arguments [-wformat-security] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o parser-mpcmd.o parser-mpcmd.c command.c:1523:22: warning: variable 'reset_spu' set not used [-wunused-but-set-variable] command.c: in function 'mp_property_sub_source': command.c:1746:13: warning: format not string literal , no format arguments [-wformat-security] command.c:1746:13: warning: format not string literal , no format arguments [-wformat-security] command.c:1749:13: warning: format not string literal , no format arguments [-wformat-security] command.c:1749:13: warning: format not string literal , no format arguments [-wformat-security] command.c:1752:13: warning: format not string literal , no format arguments [-wformat-security] command.c:1752:13: warning: format not string literal , no format arguments [-wformat-security] command.c:1755:13: warning: format not string literal , no format arguments [-wformat-security] command.c:1755:13: warning: format not string literal , no format arguments [-wformat-security] command.c: in function 'mp_property_sub_by_type': command.c:1846:9: warning: format not string literal , no format arguments [-wformat-security] command.c:1846:9: warning: format not string literal , no format arguments [-wformat-security] mplayer.c: in function 'parse_cfgfiles': mplayer.c:912:12: warning: ignoring return value of 'write', declared attribute warn_unused_result [-wunused-result] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o input/input.o input/input.c mplayer.c: in function 'run_playloop': mplayer.c:3412:23: warning: ignoring return value of 'system', declared attribute warn_unused_result [-wunused-result] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/ao_mpegpes.o libao2/ao_mpegpes.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/ao_null.o libao2/ao_null.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/ao_pcm.o libao2/ao_pcm.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/audio_out.o libao2/audio_out.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/aspect.o libvo/aspect.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/geometry.o libvo/geometry.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/old_vo_wrapper.o libvo/old_vo_wrapper.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/video_out.o libvo/video_out.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_mpegpes.o libvo/vo_mpegpes.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_null.o libvo/vo_null.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_aa.o libvo/vo_aa.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/ao_alsa.o libao2/ao_alsa.c libvo/vo_aa.c: in function 'draw_frame': libvo/vo_aa.c:352:3: warning: passing argument 2 of 'sws_scale' incompatible pointer type [enabled default] /usr/local/include/libswscale/swscale.h:238:5: note: expected 'const uint8_t * const*' argument of type 'uint8_t **' libvo/vo_aa.c: in function 'draw_slice': libvo/vo_aa.c:372:3: warning: passing argument 2 of 'sws_scale' incompatible pointer type [enabled default] /usr/local/include/libswscale/swscale.h:238:5: note: expected 'const uint8_t * const*' argument of type 'uint8_t **' libvo/vo_aa.c: in function 'preinit': libvo/vo_aa.c:671:17: warning: variable 'major' set not used [-wunused-but-set-variable] libvo/vo_aa.c: in function 'uninit': libvo/vo_aa.c:503:9: warning: ignoring return value of 'freopen', declared attribute warn_unused_result [-wunused-result] libvo/vo_aa.c: in function 'preinit': libvo/vo_aa.c:719:9: warning: ignoring return value of 'freopen', declared attribute warn_unused_result [-wunused-result] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o input/appleir.o input/appleir.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_caca.o libvo/vo_caca.c libao2/ao_alsa.c: in function 'try_open_device': libao2/ao_alsa.c:314:23: warning: 'err' may used uninitialized in function [-wuninitialized] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/ao_esd.o libao2/ao_esd.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_fbdev.o libvo/vo_fbdev.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_fbdev2.o libvo/vo_fbdev2.c libao2/ao_esd.c: in function 'init': libao2/ao_esd.c:245:14: warning: 'lag_net' may used uninitialized in function [-wuninitialized] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_png.o libvo/vo_png.c libvo/vo_fbdev.c: in function 'config': libvo/vo_fbdev.c:749:9: warning: unused variable 'zoom' [-wunused-variable] libvo/vo_fbdev.c: in function 'vt_set_textarea': libvo/vo_fbdev.c:738:14: warning: ignoring return value of 'write', declared attribute warn_unused_result [-wunused-result] libvo/vo_png.c: in function 'preinit': libvo/vo_png.c:169:5: warning: 'avcodec_alloc_context' deprecated (declared @ /usr/local/include/libavcodec/avcodec.h:3945) [-wdeprecated-declarations] libvo/vo_png.c:170:5: warning: 'avcodec_open' deprecated (declared @ /usr/local/include/libavcodec/avcodec.h:4074) [-wdeprecated-declarations] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/gl_common.o libvo/gl_common.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_gl.o libvo/vo_gl.c libvo/vo_gl.c: in function 'update_yuvconv': libvo/vo_gl.c:272:12: warning: ignoring return value of 'fread', declared attribute warn_unused_result [-wunused-result] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_gl2.o libvo/vo_gl2.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/sdl_common.o libvo/sdl_common.c libvo/vo_gl2.c: in function 'control': libvo/vo_gl2.c:915:7: warning: passing argument 2 of 'vo_x11_set_equalizer' discards 'const' qualifier pointer target type [enabled default] libvo/x11_common.h:133:10: note: expected 'char *' argument of type 'const char *' libvo/vo_gl2.c:920:7: warning: passing argument 1 of 'vo_x11_get_equalizer' discards 'const' qualifier pointer target type [enabled default] libvo/x11_common.h:134:10: note: expected 'char *' argument of type 'const char *' cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/x11_common.o libvo/x11_common.c libvo/x11_common.c: in function 'vo_x11_classhint': libvo/x11_common.c:714:22: warning: assignment discards 'const' qualifier pointer target type [enabled default] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_matrixview.o libvo/vo_matrixview.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/matrixview.o libvo/matrixview.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/ao_jack.o libao2/ao_jack.c libvo/vo_matrixview.c: in function 'draw_slice': libvo/vo_matrixview.c:191:5: warning: passing argument 2 of 'sws_scale' incompatible pointer type [enabled default] /usr/local/include/libswscale/swscale.h:238:5: note: expected 'const uint8_t * const*' argument of type 'uint8_t **' cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_md5sum.o libvo/vo_md5sum.c libao2/ao_jack.c: in function 'init': libao2/ao_jack.c:277:3: warning: 'jack_port_get_total_latency' deprecated (declared @ /usr/include/jack/jack.h:1179) [-wdeprecated-declarations] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/ao_nas.o libao2/ao_nas.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/ao_oss.o libao2/ao_oss.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_pnm.o libvo/vo_pnm.c libao2/ao_oss.c: in function 'init': libao2/ao_oss.c:417:12: warning: ignoring return value of 'write', declared attribute warn_unused_result [-wunused-result] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/ao_pulse.o libao2/ao_pulse.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/ao_sdl.o libao2/ao_sdl.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_sdl.o libvo/vo_sdl.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_tga.o libvo/vo_tga.c libvo/vo_sdl.c: in function 'erase_rectangle': libvo/vo_sdl.c:1194:30: warning: dereferencing type-punned pointer break strict-aliasing rules [-wstrict-aliasing] libvo/vo_sdl.c:1208:30: warning: dereferencing type-punned pointer break strict-aliasing rules [-wstrict-aliasing] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_v4l2.o libvo/vo_v4l2.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libao2/ao_v4l2.o libao2/ao_v4l2.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_vdpau.o libvo/vo_vdpau.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_x11.o libvo/vo_x11.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_xover.o libvo/vo_xover.c libvo/vo_x11.c: in function 'config': libvo/vo_x11.c:315:19: warning: variable 'xswamask' set not used [-wunused-but-set-variable] libvo/vo_x11.c:314:26: warning: variable 'xswa' set not used [-wunused-but-set-variable] libvo/vo_x11.c:312:22: warning: variable 'bg' set not used [-wunused-but-set-variable] libvo/vo_x11.c:312:18: warning: variable 'fg' set not used [-wunused-but-set-variable] libvo/vo_x11.c: in function 'draw_slice': libvo/vo_x11.c:556:5: warning: passing argument 2 of 'sws_scale' incompatible pointer type [enabled default] /usr/local/include/libswscale/swscale.h:238:5: note: expected 'const uint8_t * const*' argument of type 'uint8_t **' libvo/vo_x11.c: in function 'control': libvo/vo_x11.c:675:17: warning: passing argument 2 of 'vo_x11_set_equalizer' discards 'const' qualifier pointer target type [enabled default] libvo/x11_common.h:133:10: note: expected 'char *' argument of type 'const char *' libvo/vo_x11.c:680:17: warning: passing argument 1 of 'vo_x11_get_equalizer' discards 'const' qualifier pointer target type [enabled default] libvo/x11_common.h:134:10: note: expected 'char *' argument of type 'const char *' libvo/video_out_internal.h:43:12: warning: 'query_format' declared 'static' never defined [-wunused-function] cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_xv.o libvo/vo_xv.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o libvo/vo_yuv4mpeg.o libvo/vo_yuv4mpeg.c cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o asxparser.o asxparser.c libvo/vo_xv.c: in function 'draw_image': libvo/vo_xv.c:530:28: warning: cast pointer integer of different size [-wpointer-to-int-cast] libvo/vo_xv.c: in function 'get_image': libvo/vo_xv.c:606:21: warning: cast pointer integer of different size [-wint-to-pointer-cast] libvo/vo_xv.c: in function 'control': libvo/vo_xv.c:803:13: warning: passing argument 3 of 'vo_xv_set_eq' discards 'const' qualifier pointer target type [enabled default] libvo/x11_common.h:148:5: note: expected 'char *' argument of type 'const char *' libvo/vo_xv.c:808:13: warning: passing argument 3 of 'vo_xv_get_eq' discards 'const' qualifier pointer target type [enabled default] libvo/x11_common.h:149:5: note: expected 'char *' argument of type 'const char *' cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o av_log.o av_log.c av_log.c: in function 'extract_msg_type_from_ctx': av_log.c:59:35: error: 'codec_type_audio' undeclared (first use in function) av_log.c:59:35: note: each undeclared identifier reported once each function appears in av_log.c:62:42: error: 'codec_type_video' undeclared (first use in function) av_log.c: @ top level: av_log.c:105:6: warning: no previous prototype 'set_av_log_callback' [-wmissing-prototypes] make: *** [av_log.o] error 1 make: *** waiting unfinished jobs....
whoops, there's error!

code:
$ sudo make install ./version.sh cc -md -mp -wundef -wall -wno-switch -wno-parentheses -wpointer-arith -wredundant-decls -wstrict-prototypes -wmissing-prototypes -wdisabled-optimization -wno-pointer-sign -std=gnu99  -o2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -d_largefile_source -d_file_offset_bits=64 -i.  -d_reentrant -i/usr/include/     -d_reentrant   -i/usr/include/freetype2 -i/usr/include/freetype2     -i/usr/local/include   -c -o av_log.o av_log.c av_log.c: in function 'extract_msg_type_from_ctx': av_log.c:59:35: error: 'codec_type_audio' undeclared (first use in function) av_log.c:59:35: note: each undeclared identifier reported once each function appears in av_log.c:62:42: error: 'codec_type_video' undeclared (first use in function) av_log.c: @ top level: av_log.c:105:6: warning: no previous prototype 'set_av_log_callback' [-wmissing-prototypes] make: *** [av_log.o] error 1
[edit] way, tried configuring "--cc=gcc-4.4" still no luck.

w00t more errors.

whats going on?

tried ppa instead?

code:
sudo add-apt-repository ppa:ripps818/coreavc  sudo apt-get update  sudo apt-get install mplayer


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help mplayer2 won't work (apt-get) or can't install (git)


Ubuntu

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support