Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting video without X through mplayer (fixed)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
nc-pv
n00b
n00b


Joined: 01 Oct 2012
Posts: 45

PostPosted: Sun Dec 23, 2012 3:22 pm    Post subject: Reply with quote

Hi all!

That topic is very helpful. I am installing omxplayer on Raspberry Pi. I followed all steps which Bigun did, but unfortunately I am running into a following error:

Code:

 * Package:    media-video/omxplayer-9999
 * Repository: xmw
 * Maintainer: xmw@gentoo.org
 * USE:        arm elibc_glibc kernel_linux userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
GIT update -->
   repository:               https://github.com/huceke/omxplayer.git
   at the commit:            ec7ac68fa65eabcb491684d371899673cae93fbf
   branch:                   master
   storage directory:        "/usr/portage/distfiles/egit-src/omxplayer.git"
   checkout type:            bare repository
Cloning into '/var/tmp/portage/media-video/omxplayer-9999/work/omxplayer-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /var/tmp/portage/media-video/omxplayer-9999/work/omxplayer-9999
>>> Source unpacked in /var/tmp/portage/media-video/omxplayer-9999/work
>>> Preparing source in /var/tmp/portage/media-video/omxplayer-9999/work/omxplayer-9999 ...
 * Applying omxplayer-9999-Makefile.patch ...                                                                                                [ ok ]
 * Applying omxplayer-9999-wrapper.patch ...                                                                                                 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/omxplayer-9999/work/omxplayer-9999 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-video/omxplayer-9999/work/omxplayer-9999 ...
make -j1
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c linux/XMemUtils.cpp -o linux/XMemUtils.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c utils/log.cpp -o utils/log.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE        _OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFOR        MAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pt        hreads -I/opt/vc/include -Ilinux -I. -c DynamicDll.cpp -o DynamicDll.o -Wno-deprecated-declarations                                                                                                                                         
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE        _OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFOR        MAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pt        hreads -I/opt/vc/include -Ilinux -I. -c utils/PCMRemap.cpp -o utils/PCMRemap.o -Wno-deprecated-declarations                                                                                                                                 
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE        _OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFOR        MAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pt        hreads -I/opt/vc/include -Ilinux -I. -c utils/RegExp.cpp -o utils/RegExp.o -Wno-deprecated-declarations                                                                                                                                     
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE        _OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFOR        MAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pt        hreads -I/opt/vc/include -Ilinux -I. -c OMXSubtitleTagSami.cpp -o OMXSubtitleTagSami.o -Wno-deprecated-declarations                                                                                                                         
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE        _OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFOR        MAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pt        hreads -I/opt/vc/include -Ilinux -I. -c OMXOverlayCodecText.cpp -o OMXOverlayCodecText.o -Wno-deprecated-declarations                                                                                                                       
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE        _OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFOR        MAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pt        hreads -I/opt/vc/include -Ilinux -I. -c BitstreamConverter.cpp -o BitstreamConverter.o -Wno-deprecated-declarations                                                                                                                         
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE        _OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFOR        MAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pt        hreads -I/opt/vc/include -Ilinux -I. -c linux/RBP.cpp -o linux/RBP.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c OMXThread.cpp -o OMXThread.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c OMXReader.cpp -o OMXReader.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c OMXStreamInfo.cpp -o OMXStreamInfo.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c OMXAudioCodecOMX.cpp -o OMXAudioCodecOMX.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c OMXCore.cpp -o OMXCore.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c OMXVideo.cpp -o OMXVideo.o -Wno-deprecated-declarations
OMXVideo.cpp: In member function 'void COMXVideo::WaitCompletion()':
OMXVideo.cpp:1068:19: warning: unused variable 'starttime' [-Wunused-variable]
OMXVideo.cpp:1068:30: warning: unused variable 'endtime' [-Wunused-variable]
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c OMXAudio.cpp -o OMXAudio.o -Wno-deprecated-declarations
OMXAudio.cpp: In member function 'virtual void COMXAudio::WaitCompletion()':
OMXAudio.cpp:1185:19: warning: unused variable 'starttime' [-Wunused-variable]
OMXAudio.cpp:1185:30: warning: unused variable 'endtime' [-Wunused-variable]
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c OMXClock.cpp -o OMXClock.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c File.cpp -o File.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c OMXPlayerVideo.cpp -o OMXPlayerVideo.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c OMXPlayerAudio.cpp -o OMXPlayerAudio.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c OMXPlayerSubtitles.cpp -o OMXPlayerSubtitles.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c SubtitleRenderer.cpp -o SubtitleRenderer.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c Unicode.cpp -o Unicode.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I/usr/include/freetype2 -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -Ilinux -I. -c omxplayer.cpp -o omxplayer.o -Wno-deprecated-declarations
armv6j-hardfloat-linux-gnueabi-g++ -Wl,-O1 -o omxplayer.bin linux/XMemUtils.o utils/log.o DynamicDll.o utils/PCMRemap.o utils/RegExp.o OMXSubtitleTagSami.o OMXOverlayCodecText.o BitstreamConverter.o linux/RBP.o OMXThread.o OMXReader.o OMXStreamInfo.o OMXAudioCodecOMX.o OMXCore.o OMXVideo.o OMXAudio.o OMXClock.o File.o OMXPlayerVideo.o OMXPlayerAudio.o OMXPlayerSubtitles.o SubtitleRenderer.o Unicode.o omxplayer.o -L/opt/vc/lib -lrt -lbcm_host -lopenmaxil -lvcos -lvchiq_arm -lGLESv2 -lkhrn_static -lavcodec -lavfilter -lavformat -lpcre 
SubtitleRenderer.o: In function `Scope_guard<SubtitleRenderer::load_glyph(char32_t)::{lambda(FT_FaceRec_*, unsigned int, bool)#1}::operator()(FT_FaceRec_*, unsigned int, bool) const::{lambda()#1}>::~Scope_guard() [clone .constprop.116]':
SubtitleRenderer.cpp:(.text+0xa4): undefined reference to `FT_Done_Glyph'
SubtitleRenderer.o: In function `Scope_guard<SubtitleRenderer::initialize_fonts(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float)::{lambda(char32_t)#1}::operator()(char32_t) const::{lambda()#1}>::~Scope_guard() [clone .constprop.117]':
SubtitleRenderer.cpp:(.text+0x174): undefined reference to `FT_Done_Glyph'
SubtitleRenderer.o: In function `SubtitleRenderer::destroy_fonts()':
SubtitleRenderer.cpp:(.text+0x568): undefined reference to `FT_Done_FreeType'
SubtitleRenderer.o: In function `SubtitleRenderer::initialize_fonts(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float)':
SubtitleRenderer.cpp:(.text+0x120c): undefined reference to `FT_Init_FreeType'
SubtitleRenderer.cpp:(.text+0x1244): undefined reference to `FT_New_Face'
SubtitleRenderer.cpp:(.text+0x1280): undefined reference to `FT_Set_Pixel_Sizes'
SubtitleRenderer.cpp:(.text+0x12a4): undefined reference to `FT_Get_Char_Index'
SubtitleRenderer.cpp:(.text+0x12b4): undefined reference to `FT_Load_Glyph'
SubtitleRenderer.cpp:(.text+0x12dc): undefined reference to `FT_Get_Glyph'
SubtitleRenderer.cpp:(.text+0x1308): undefined reference to `FT_Glyph_Get_CBox'
SubtitleRenderer.cpp:(.text+0x1314): undefined reference to `FT_Done_Glyph'
SubtitleRenderer.cpp:(.text+0x1324): undefined reference to `FT_Get_Char_Index'
SubtitleRenderer.cpp:(.text+0x133c): undefined reference to `FT_Load_Glyph'
SubtitleRenderer.cpp:(.text+0x1364): undefined reference to `FT_Get_Glyph'
SubtitleRenderer.cpp:(.text+0x1390): undefined reference to `FT_Glyph_Get_CBox'
SubtitleRenderer.cpp:(.text+0x139c): undefined reference to `FT_Done_Glyph'
SubtitleRenderer.cpp:(.text+0x1424): undefined reference to `FT_Stroker_New'
SubtitleRenderer.cpp:(.text+0x1474): undefined reference to `FT_Stroker_Set'
SubtitleRenderer.o: In function `SubtitleRenderer::load_glyph(char32_t)':
SubtitleRenderer.cpp:(.text+0x19a8): undefined reference to `FT_Get_Char_Index'
SubtitleRenderer.cpp:(.text+0x19b8): undefined reference to `FT_Load_Glyph'
SubtitleRenderer.cpp:(.text+0x19e4): undefined reference to `FT_Get_Glyph'
SubtitleRenderer.cpp:(.text+0x1a1c): undefined reference to `FT_Glyph_To_Bitmap'
SubtitleRenderer.cpp:(.text+0x1bf0): undefined reference to `FT_Done_Glyph'
SubtitleRenderer.cpp:(.text+0x1c50): undefined reference to `FT_Get_Char_Index'
SubtitleRenderer.cpp:(.text+0x1c60): undefined reference to `FT_Load_Glyph'
SubtitleRenderer.cpp:(.text+0x1c8c): undefined reference to `FT_Get_Glyph'
SubtitleRenderer.cpp:(.text+0x1cc0): undefined reference to `FT_Glyph_StrokeBorder'
SubtitleRenderer.cpp:(.text+0x1cf0): undefined reference to `FT_Glyph_To_Bitmap'
SubtitleRenderer.cpp:(.text+0x1e94): undefined reference to `FT_Done_Glyph'
collect2: ld returned 1 exit status
make: *** [omxplayer.bin] Error 1
 * ERROR: media-video/omxplayer-9999 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/omxplayer-9999'`,
 * the complete build log and the output of `emerge -pqv '=media-video/omxplayer-9999'`.
 * This ebuild is from an overlay named 'xmw': '/var/lib/layman/xmw/'
 * The complete build log is located at '/var/tmp/portage/media-video/omxplayer-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/omxplayer-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/omxplayer-9999/work/omxplayer-9999'
 * S: '/var/tmp/portage/media-video/omxplayer-9999/work/omxplayer-9999'



Could you advice me what I can do to fix it?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Sun Dec 23, 2012 4:17 pm    Post subject: Reply with quote

nc-pv,

What does uname -a show?
It looks like you need a firmware update.
Code:
$ uname -a
Linux Pi_Net 3.2.27+ #307 PREEMPT Mon Nov 26 23:22:29 GMT 2012 armv6l ARMv6-compatible processor rev 7 (v6l) BCM2708 GNU/Linux

or later is the right answer.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nc-pv
n00b
n00b


Joined: 01 Oct 2012
Posts: 45

PostPosted: Sun Dec 23, 2012 4:56 pm    Post subject: Reply with quote

NeddySeagoon wrote:
nc-pv,

What does uname -a show?
It looks like you need a firmware update.
Code:
$ uname -a
Linux Pi_Net 3.2.27+ #307 PREEMPT Mon Nov 26 23:22:29 GMT 2012 armv6l ARMv6-compatible processor rev 7 (v6l) BCM2708 GNU/Linux

or later is the right answer.


NeddySeagoon,

Thank you for fast response.

My uname -a
Code:

localhost ~ # uname -a
Linux localhost 3.2.27-cutdown #4 PREEMPT Mon Dec 17 20:55:35 EST 2012 armv6l ARMv6-compatible processor rev 7 (v6l) BCM2708 GNU/Linux


I run rpi-update, but as I remember I instructed rpi-update to skip kernel update. I am slightly confused right now, since my uname -a looks almost same as your does. What I should do at this point?
_________________
Use GNU/Linux
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Sun Dec 23, 2012 5:15 pm    Post subject: Reply with quote

nc-pv,

rpi-update is right. I was using the kernel build date as an indicator of when you last fetched new firmware.
That was on or after December 17.

To be sure the firmware is up to date, run rpi-update, then reboot, so the new firmware is in use and able to export its symbols.

Hmm maybe FT_ is the missing symbol names means FreeType. Do you ahve Freetype installed ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nc-pv
n00b
n00b


Joined: 01 Oct 2012
Posts: 45

PostPosted: Sun Dec 23, 2012 7:02 pm    Post subject: Reply with quote

Neddy,

Here is output of rpi-update:

Code:

localhost ~ # rpi-update
Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS
Performing self-update
ARM/GPU split is now defined in /boot/config.txt using the gpu_mem option!
Updating firmware (this will take a few minutes)
Your firmware is already up to date


Yes, December 17 was a day when I compiled kernel for Raspberyy Pi. Source code was obtained in the beginning of December, but I see yours is Nov 26, so it should be fine.

I just re-emerge freetype:

Code:

localhost ~ # emerge -avt freetype

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/freetype-2.4.9-r1:2  USE="bzip2 -X -auto-hinter -bindist -debug -doc -fontforge -static-libs -utils" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]


But I am still unable to compile omxplayer. BTW, probably it is important. patch files which I obtained from https://bugs.gentoo.org/show_bug.cgi?id=421683 did not work for me, so I created them as you described in the beginning of the topic. Below are different outputs which probably can give you some valuable data.

Code:

localhost ~ # gcc -v
Using built-in specs.
COLLECT_GCC=/usr/armv6j-hardfloat-linux-gnueabi/gcc-bin/4.6.3/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/armv6j-hardfloat-linux-gnueabi/4.6.3/lto-wrapper
Target: armv6j-hardfloat-linux-gnueabi
Configured with: /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/configure --prefix=/usr --bindir=/usr/armv6j-hardfloat-linux-gnueabi/gcc-bin/4.6.3 --includedir=/usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.6.3/include --datadir=/usr/share/gcc-data/armv6j-hardfloat-linux-gnueabi/4.6.3 --mandir=/usr/share/gcc-data/armv6j-hardfloat-linux-gnueabi/4.6.3/man --infodir=/usr/share/gcc-data/armv6j-hardfloat-linux-gnueabi/4.6.3/info --with-gxx-include-dir=/usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.6.3/include/g++-v4 --host=armv6j-hardfloat-linux-gnueabi --build=armv6j-hardfloat-linux-gnueabi --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --with-float=hard --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/armv6j-hardfloat-linux-gnueabi/4.6.3/python --enable-checking=release --disable-libgcj --with-arch=armv6j --with-float=hard --with-fpu=vfp --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.6.3 p1.8, pie-0.5.2'
Thread model: posix
gcc version 4.6.3 (Gentoo 4.6.3 p1.8, pie-0.5.2)


Code:

localhost ~ # emerge --info '=media-video/omxplayer-9999'
Portage 2.1.11.31 (default/linux/arm/10.0, gcc-4.6.3, glibc-2.15-r3, 3.2.27-cutdown armv6l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.27-cutdown-armv6l-ARMv6-compatible_processor_rev_7_-v6l-with-gentoo-2.1
Timestamp of tree: Mon, 17 Dec 2012 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 armv6j-hardfloat-linux-gnueabi [disabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo xmw
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="*"
CBUILD="armv6j-hardfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard"
CHOST="armv6j-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo ftp://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://mirror.lug.udel.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/xmw"
SYNC="rsync://192.168.1.37/gentoo-portage"
USE="acl alsa arm berkdb bzip2 cdr cli consolekit cracklib crypt cups cxx dbus declarative embedded extensions faac fortran gd gdbm gpm iconv modules mudflap ncurses nls nptl openmp pam pcre policykit pppd readline samba session sql ssl tcpd udev unicode webkit zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="endev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="edev fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Any thoughts?
_________________
Use GNU/Linux
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Sun Dec 23, 2012 7:15 pm    Post subject: Reply with quote

nc-pv,

I pointed Bigun to the theory and practice of making and applying patches. I've not built the package myself yet but its on the list of things to do.
It might be worth a PM to Bigun with a link to this thread. He may be able to help before building a mediaplayer for the Pi gets to the top of my todo.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nc-pv
n00b
n00b


Joined: 01 Oct 2012
Posts: 45

PostPosted: Mon Dec 24, 2012 1:22 am    Post subject: Reply with quote

NeddySeagoon,

I PM to Bigun inviting him to visit this topic again.

But, meanwhile I made some research work and by adding freetype2 to the end of +LIBS string in omxplayer-9999-Makefile.patch I got my omxplayer compiled and installed.

So, for anyone facing same issue here is modified +LIBS string from omxplayer-9999-Makefile.patch which resolved my problem, have a try and probably it will help.

Code:

+LIBS=-L/opt/vc/lib -lrt -lbcm_host -lopenmaxil -lvcos -lvchiq_arm -lGLESv2 -lkhrn_static $(shell pkg-config --libs libavcodec libavfilter libavformat libpcre freetype2)


Now I am going to test player itself.
_________________
Use GNU/Linux


Last edited by nc-pv on Mon Dec 24, 2012 3:00 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Mon Dec 24, 2012 1:46 am    Post subject: Reply with quote

nc-pv,

Please post a bug to bugs.gentoo.org
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nc-pv
n00b
n00b


Joined: 01 Oct 2012
Posts: 45

PostPosted: Mon Dec 24, 2012 2:08 am    Post subject: Reply with quote

NeddySeagoon wrote:
nc-pv,

Please post a bug to bugs.gentoo.org


Since there is bug opened already by Bigun, I just have submitted comment to it describing what worked for me.

Thanks a lot.
_________________
Use GNU/Linux


Last edited by nc-pv on Mon Dec 24, 2012 6:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Mon Dec 24, 2012 4:06 pm    Post subject: Reply with quote

nc-pv wrote:
NeddySeagoon wrote:
nc-pv,

Please post a bug to bugs.gentoo.org


Since there is bug opened already by Bigun, i just have submitted comment to it describing what worked for me.

Thanks a lot.


I got the message and went ahead and put the library in the LIBS line.

So you got it installed and working now?

On a side note, I mentioned your e-mail address (aka - username) in the comment, not even realizing it's an e-mail address, and I can't edit comments it seems. Can we get a mod to fix that?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
nc-pv
n00b
n00b


Joined: 01 Oct 2012
Posts: 45

PostPosted: Mon Dec 24, 2012 6:37 pm    Post subject: Reply with quote

Bigun,

Yes, I have omxplayer installed and working even without running X server. It is capable to run HD video and I am satisfied with video side of it, but another problem which I am trying to resolve now is audio "pop" at the beginning, stop and when pause video. It looks like omxplayer utilizes soundcard directly without alsamixer. I am looking for solution right now.

Do not worry about my e-mail address, any e-mails are visible on bugs.gentoo.org (as "mailto:" links) and gmail handles spam pretty good.

So, do you have any thoughts how to get omxplayer using alsa mixer?
_________________
Use GNU/Linux
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Mon Dec 24, 2012 10:41 pm    Post subject: Reply with quote

nc-pv wrote:
Bigun,

Yes, I have omxplayer installed and working even without running X server. It is capable to run HD video and I am satisfied with video side of it, but another problem which I am trying to resolve now is audio "pop" at the beginning, stop and when pause video. It looks like omxplayer utilizes soundcard directly without alsamixer. I am looking for solution right now.

Do not worry about my e-mail address, any e-mails are visible on bugs.gentoo.org (as "mailto:" links) and gmail handles spam pretty good.

So, do you have any thoughts how to get omxplayer using alsa mixer?


I wanted this device for playing media only, X would only get in the way.

I've just got done building a Apache/PHP menu system to play media, when I get back home tomorrow, I'll hook it up and do some testing. I'll get back to you.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
nc-pv
n00b
n00b


Joined: 01 Oct 2012
Posts: 45

PostPosted: Tue Dec 25, 2012 12:36 am    Post subject: Reply with quote

Bigun,

I made some research and found that it is firmware issue (audio pop). Currently there is no way to avoid audio "pop" in omxplayer. I saw different solutions around the web, but not for omxplayer. And since there is no other software which is capable to run HD video on Raspberry Pi I think I will wait until omxplayer will have alsa support or mplayer will be able to use GPU. Then It will be possible to run HD video with good sound.
_________________
Use GNU/Linux
Back to top
View user's profile Send private message
pa1983
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 101

PostPosted: Sun Feb 17, 2013 7:50 pm    Post subject: Reply with quote

I tried to install omxplayer from xmw overlay but the first patch fails so I compared the patch and the make file and the lines that are suppose to be removed no longer match and I cant say if the once that are suppose to be added are valid any longer either but I do know patches are broken now due to the ebuild being out of date.

Is there any alternative to this ebuild that would work?
_________________
NAS: i3 4360 3.7Ghz, 20Gb ram, 256Gb SSD, 65Tb HDD, NIC: Intel 2x1Gbit, Realtek 2.5Gbit
ROUTER: J1900 2Ghz, 8Gb ram, 128Gb SSD, NIC: 2x1Gbit, WIFI: Atheros AR9462 and AR5005G
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Mon Feb 18, 2013 4:56 am    Post subject: Reply with quote

Bigun, how do you fix this trouble?
mplayer -vo directfb or SDL-screen anyawy dependend on xorg windows creation.

I been in think port mythtv from libX to vgalib, but someone say it could be slow. Can you beleive that?
What's you hardware for hdmi connect? What video-card you use?
Back to top
View user's profile Send private message
nc-pv
n00b
n00b


Joined: 01 Oct 2012
Posts: 45

PostPosted: Sun Feb 24, 2013 1:57 am    Post subject: Reply with quote

pa1983 wrote:
I tried to install omxplayer from xmw overlay but the first patch fails so I compared the patch and the make file and the lines that are suppose to be removed no longer match and I cant say if the once that are suppose to be added are valid any longer either but I do know patches are broken now due to the ebuild being out of date.

Is there any alternative to this ebuild that would work?


pa1983, have you tried to use patches from https://bugs.gentoo.org/show_bug.cgi?id=421683 ?

When I was compiling mine, I just exactly followed the steps Bigan did and that worked for me, except one small thing at the end, which I found how to resolve and submitted data to bug thread.
_________________
Use GNU/Linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum