Страниц: [1]
  Печать  
Автор Тема: Сборка mplayer под QNX6.5  (Прочитано 189 раз)
Дмитрий
Участник
*
Offline Offline

Сообщений: 31


Просмотр профиля
« : Марта 25, 2017, 12:26:23 pm »

Здравствуйте!

Попробовал собрать mplayer в QNX6.5

Скачал последние ffmpeg-snapshot.tar и mplayer-checkout-snapshot.tar, распаковал ffmpeg в директорию с mplayer.
Запустил cofigure успешно, вот лог:
Цитировать
Checking for ffmpeg/libavcodec/allcodecs.c ... found
Checking for ffmpeg/libavformat/allformats.c ... found
Checking for ffmpeg/libavcodec/bitsteram_filters.c ... found
Checking for ffmpeg/libavformat/protocols.c ... found
Checking for ffmpeg/libavfilter/allfilters.c ... found
Checking for gcc version ... 4.4.2
Checking for working compiler ... yes
Detected operating system: QNX
Detected host architecture: i386
Checking for cross compilation ... no
Checking for host cc ... gcc
Checking for CPU vendor ... GenuineIntel (6:37:5)
Checking for CPU type ...  Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of sse3 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of sse4_1 ... yes
Checking for kernel support of sse4_2 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... native
Checking for byte order ... little-endian
Checking for extern symbol prefix ... 
Checking for assembler support of -pipe option ... yes
Checking for relocatable binary ... no (unavailable or untested architecture)
Checking for assembler (/usr/qnx650/host/qnx6/x86/usr/bin/ntox86-as ) ... ok
Checking for PIC ... no
Checking for .align is a power of two ... no
Checking for ebx availability ... yes
Checking for yasm ... no
Checking for bswap ... yes
Checking for xmm clobbers ... yes
Checking for langinfo ... no
Checking for language ... messages: en - man pages: en - documentation: en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for atanf ... yes
Checking for cbrt ... yes
Checking for cbrtf ... yes
Checking for cosf ... yes
Checking for expf ... yes
Checking for exp2 ... yes
Checking for exp2f ... yes
Checking for isnan ... yes
Checking for isfinite ... yes
Checking for isinf ... yes
Checking for llrint ... yes
Checking for llrintf ... yes
Checking for log2 ... yes
Checking for log2f ... yes
Checking for log10f ... yes
Checking for lrint ... yes
Checking for lrintf ... yes
Checking for rint ... yes
Checking for round ... yes
Checking for roundf ... yes
Checking for sinf ... yes
Checking for trunc ... yes
Checking for truncf ... yes
Checking for erf ... yes
Checking for atan2f ... yes
Checking for fminf ... yes
Checking for ldexpf ... yes
Checking for powf ... yes
Checking for hypot ... yes
Checking for mkstemp ... yes
Checking for gmtime_r ... yes
Checking for localtime_r ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lsocket)
Checking for netdb.h, struct addrinfo ... yes
Checking for netdb.h, getaddrinfo() ... no
Checking for sockaddr_storage ... yes
Checking for struct ipv6_mreq ... yes
Checking for struct sockaddr_in6 ... yes
Checking for struct sockaddr sa_len ... yes
Checking for arpa/inet.h ... yes
Checking for inet_pton() ... yes (using -lsocket)
Checking for inet_aton() ... yes (using -lsocket)
Checking for socklen_t ... yes
Checking for closesocket() ... no
Checking for networking ... yes
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for SCTP ... no
Checking for sys/un.h ... yes
Checking for sys/poll.h ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for malloc.h ... yes
Checking for aligned malloc ... no
Checking for memalign() ... yes
Checking for posix_memalign() ... yes
Checking for alloca.h ... yes
Checking for fastmemcpy ... yes
Checking for hard-coded tables ... no
Checking for mman.h ... yes
Checking for mprotect ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes
Checking for pthread_cancel ... yes
Checking for direct.h ... no
Checking for windows.h ... no
Checking for io.h ... no
Checking for rpath ... no
Checking for iconv ... no
Checking for soundcard.h ... no
Checking for termcap ... yes (using -lncurses)
Checking for termios ... yes (using termios.h)
Checking for shm ... no
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for POSIX select() ... yes
Checking for audio select() ... yes
Checking for gettimeofday() ... yes
Checking for clock_gettime() ... no
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for setmode() ... no
Checking for sys/sysinfo.h ... no
Checking for pkg-config ... no
Checking for GnuTLS ... no
Checking for OpenSSL ... no
Checking for Samba support (libsmbclient) ... no
Checking for /dev/mga_vid ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for wii ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for yuv4mpeg support ... yes
Checking for bl ... no
Checking for DirectFB ... no
Checking for X11 headers presence ... no (check if the dev(el) packages are installed)
Checking for X11 ... no (check if the dev(el) packages are installed)
Checking for Xss screensaver extensions ... no
Checking for DPMS ... no
Checking for Xv ... auto
Checking for XvMC ... no
Checking for Video Decode Acceleration (VDA) ... no
Checking for VDPAU ... auto
Checking for Xinerama ... auto
Checking for Xxf86vm ... auto
Checking for XF86keysym ... auto
Checking for DGA ... no
Checking for xmga ... no
Checking for 3dfx ... no
Checking for VIDIX ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no
Checking for PNG support ... no
Checking for MNG support ... no
Checking for JPEG support ... no
Checking for OpenJPEG (JPEG 2000) support ... no
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for SDL image ... no
Checking for OpenGL ... no
Checking for MatrixView ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
Checking for V4L2 MPEG Decoder ... no
Checking for OSS Audio ... no
Checking for aRts ... no
Checking for EsounD ... no
Checking for NAS ... no
Checking for pulse ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for sndio audio ... no
Checking for VCD support ... no (not supported on this OS)
Checking for Blu-ray support ... no
Checking for dvdread ... no
Checking for libcdio ... no
Checking for cdparanoia ... no
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... no (iconv support needed)
Checking for fontconfig ... no (FreeType support needed)
Checking for fribidi with charsets ... no
Checking for SSA/ASS support ... no (FreeType and FriBiDi support needed)
Checking for ENCA ... no
Checking for zlib ... yes
Checking for bzlib ... yes
Checking for RTC ... no
Checking for liblzo2 support ... no
Checking for mad support ... no
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... no
Checking for libspeex (version >= 1.1 required) ... no
Checking for libgsm ... no
Checking for OggTheora support ... no
Checking for mpg123 support ... no
Checking for liba52 support ... no
Checking for libmpeg2 support ... no
Checking for libdca support ... no
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC support ... no (in FFmpeg: no)
Checking for FAAD2 support ... no
Checking for libilbc support ... no
Checking for libopus decoding support ... no
Checking for LADSPA plugin support ... no
Checking for libbs2b audio filter support ... no
Checking for Win32 codecs ... no
Checking for XAnim codecs ... yes (dynamic loader support needed)
Checking for RealPlayer codecs ... no (dynamic loader support needed)
Checking for QuickTime codecs ... auto
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... no
Checking for RTMPDump Streaming Media library ... no
Checking for FFmpeg ... yes
Checking for libpostproc ... yes
Checking for libopencore_amr narrowband ... no
Checking for libopencore_amr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for CrystalHD ... no
Checking for Xvid ... no
Checking for Xvid two pass plugin ... no
Checking for x264 ... no (in FFmpeg: no)
Checking for libdirac ... no
Checking for libschroedinger ... no
Checking for libvpx ... no
Checking for libnut ... no
Checking for zr ... no
Checking for libmp3lame ... no (in FFmpeg: no)
Checking for mencoder ... yes
Checking for UnRAR executable ... yes
Checking for TV interface ... yes
Checking for DirectShow TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... no
Checking for ftp ... yes
Checking for vstream client ... no
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... yes
Checking for linker support for --nxcompat --no-seh --dynamicbase ... no
Checking for linker support for --large-address-aware ... no
Checking for linker support for --version-script ... yes
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for DVD support (libdvdnav) ... no
Checking for XML catalogs ... No SGML catalog found.
Checking for XML chunked stylesheet ... not found, using default
Checking for XML monolithic stylesheet ... not found, using default
Checking for XML DTD ... not found, using default
Checking for valid XSLT processor ... xsltproc not found
Creating config.mak
Creating config.h

Config files successfully generated by ./configure --yasm= !

  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/GUI: en
    Manual pages: en
    Documentation: en

  Enabled optional drivers:
    Input: ftp tv networking
    Codecs: ffmpeg(internal) xanim
    Audio output: mpegpes(file)
    Video output: pnm mpegpes(file) yuv4mpeg md5sum tga

  Disabled optional drivers:
    Input: dvdnav vstream pvr radio tv-v4l2 tv-v4l1 tv-dshow librtmp live555 nemesi cddb cdda dvdread bluray vcd dvb smb
    Codecs: libvpx libschroedinger libdirac x264 xvid crystalhd libdv libopencore_amrwb libopencore_amrnb qtx real win32 libopus ilbc faad2 faac musepack libdca libmpeg2 liba52 mpg123 libtheora libgsm speex libvorbis toolame twolame libmad liblzo gif OpenJPEG
    Audio output: sndio sun alsa openal jack pulse nas esd arts oss v4l2 ivtv dxr2 sdl
    Video output: zr zr2 v4l2 ivtv dxr3 dxr2 matrixview opengl sdl vesa gif89a jpeg mng fbdev svga caca aa ggi xvidix winvidix cvidix 3dfx xmga dga vdpau xvmc xv x11 directfb dfbmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check MTRR settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)

Check config.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).

NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-menu and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.


Запускаю make выдает ошибку
Цитировать
make[1]: Leaving directory `/home/mplayer/ffmpeg'
libavcodec/internal.h:77:5: warning: "HAVE_SIMD_ALIGN_32" is not defined
libavcodec/hevcdec.c: In function 'hls_decode_entry_wpp':
libavcodec/hevcdec.c:2408: error: '__a' undeclared (first use in this function)
libavcodec/hevcdec.c:2408: error: (Each undeclared identifier is reported only o
nce
libavcodec/hevcdec.c:2408: error: for each function it appears in.)
libavcodec/hevcdec.c:2408: warning: type defaults to 'int' in declaration of '__
p'
libavcodec/hevcdec.c:2408: warning: type defaults to 'int' in declaration of '__
r'
libavcodec/hevcdec.c:2408: warning: ISO C90 forbids mixed declarations and code
libavcodec/hevcdec.c:2419: warning: type defaults to 'int' in declaration of '__
p'
libavcodec/hevcdec.c:2431: warning: type defaults to 'int' in declaration of '__
p'
libavcodec/hevcdec.c: In function 'hls_slice_data_wpp':
libavcodec/hevcdec.c:2532: error: '__a' undeclared (first use in this function)
libavcodec/hevcdec.c:2532: warning: type defaults to 'int' in declaration of '__
p'
libavcodec/hevcdec.c: In function 'hevc_decode_init':
libavcodec/hevcdec.c:3342: error: implicit declaration of function 'atomic_init'

make[1]: *** [libavcodec/hevcdec.o] Error 1
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2
#

7
что-то я делаю неправильно, но что? Ведь собирали до меня! Может есть пошаговая инструкция?
Записан
Dark
Sr. Member
****
Offline Offline

Сообщений: 339


Просмотр профиля
« Ответ #1 : Марта 25, 2017, 12:47:10 pm »

Читаем код, разбираемся, исправляем.
Записан
Страниц: [1]
  Печать  
 
Перейти в: