[Linux-31] compilation acceleration materiel pour Pi2 bloque

Bernard Schoenacker bernard.schoenacker at free.fr
Dim 5 Avr 13:59:37 CEST 2015


Le Sun, 5 Apr 2015 01:42:35 +0200,
Christophe VANHOUTTE <tx1138 at gmail.com> a écrit :

> Bonjour,
> J'essaie d'installer VLC et l'accélération matériel pour raspberry
> Pi2, en suivant ce lien:
> 
> http://intensecode.blogspot.de/2013/10/tutorial-vlc-with-hardware-acceleration.html
> (fourni par Bernard S.)
> 
> En rajoutant les paquets manquant j'ai avancé.
> (je n'ai jamais fait de compilation de source).
> 
> Je pose ci-dessous le log complet de ce qui se passe.
> 
> Il y a beaucoup de: yes, mais dés le début j'ai un WARNING alors que
> les lignes viennent du site
> 
> Je suis à l'étape 2
> 
> root at raspberrypi:/home/pi/vlc# ./configure --enable-Rpi-omxil
> --enable-dvbpsi7 --enable-x264
> configure: WARNING: unrecognized options: --enable-Rpi-omxil,
> --enable-dvbpsi7
> checking build system type... armv7l-unknown-linux-gnueabihf
> checking host system type... armv7l-unknown-linux-gnueabihf
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking how to create a ustar tar archive... gnutar
> checking whether make supports nested variables... yes
> checking whether to enable maintainer-specific portions of
> Makefiles... yes checking for style of include used by make... GNU
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... gcc3
> checking for gcc option to accept ISO C99... -std=gnu99
> checking how to run the C preprocessor... gcc -std=gnu99 -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking whether gcc -std=gnu99 and cc understand -c and -o
> together... yes checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking how to run the C preprocessor... gcc -std=gnu99 -E
> checking for gcc... gcc
> checking whether we are using the GNU Objective C compiler... no
> checking whether gcc accepts -g... no
> checking dependency style of gcc... gcc3
> checking dependency style of gcc... (cached) gcc3
> checking for egrep... (cached) /bin/grep -E
> checking whether make sets $(MAKE)... (cached) yes
> checking dependency style of gcc -std=gnu99... gcc3
> checking for desktop-file-validate... desktop-file-validate
> checking for yasm... no
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking for C/C++ restrict keyword... __restrict
> checking for an Android system... no
> checking for 3rd party libraries path... not found
> checking how to print strings... printf
> checking for a sed that does not truncate output... /bin/sed
> checking for fgrep... /bin/grep -F
> checking for ld used by gcc -std=gnu99... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 1572864
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert armv7l-unknown-linux-gnueabihf file names to
> armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
> checking how to convert armv7l-unknown-linux-gnueabihf file names to
> toolchain format... func_convert_file_noop
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... (cached) pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... @
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc -std=gnu99
> object... ok
> checking for sysroot... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
> checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
> checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
> checking if gcc -std=gnu99 static flag -static works... yes
> checking if gcc -std=gnu99 supports -c -o file.o... yes
> checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
> checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports
> shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking for shl_load... no
> checking for shl_load in -ldld... no
> checking for dlopen... no
> checking for dlopen in -ldl... yes
> checking whether a program can dlopen itself... yes
> checking whether a statically linked program can dlopen itself... no
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking how to run the C++ preprocessor... g++ -E
> checking for ld used by g++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared
> libraries... yes
> checking for g++ option to produce PIC... -fPIC -DPIC
> checking if g++ PIC flag -fPIC -DPIC works... yes
> checking if g++ static flag -static works... yes
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/usr/bin/ld) supports shared
> libraries... yes
> checking dynamic linker characteristics... (cached) GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking for windres... no
> checking for bash... /bin/bash
> checking if dolt supports this host... yes, replacing libtool
> checking whether NLS is requested... yes
> checking for msgfmt... /usr/bin/msgfmt
> checking for gmsgfmt... /usr/bin/msgfmt
> checking for xgettext... /usr/bin/xgettext
> checking for msgmerge... /usr/bin/msgmerge
> checking for ld used by gcc -std=gnu99... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking for CFPreferencesCopyAppValue... no
> checking for CFLocaleCopyCurrent... no
> checking for GNU gettext in libc... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... libc
> checking for iconv... yes
> checking for working iconv... yes
> checking for iconv declaration...
>          extern size_t iconv (iconv_t cd, char * *inbuf, size_t
> *inbytesleft, char * *outbuf, size_t *outbytesleft);
> checking for buggy GNU/libc versions... not present
> checking for shared objects suffix... .so
> checking whether nanosleep is declared... yes
> checking for daemon... yes
> checking for fcntl... yes
> checking for fstatvfs... yes
> checking for fork... yes
> checking for getenv... yes
> checking for getpwuid_r... yes
> checking for isatty... yes
> checking for lstat... yes
> checking for memalign... yes
> checking for mmap... yes
> checking for open_memstream... yes
> checking for openat... yes
> checking for pread... yes
> checking for posix_fadvise... yes
> checking for posix_madvise... yes
> checking for setlocale... yes
> checking for stricmp... no
> checking for strnicmp... no
> checking for strptime... yes
> checking for uselocale... yes
> checking for pthread_cond_timedwait_monotonic_np... no
> checking for pthread_condattr_setclock... no
> checking for atof... yes
> checking for atoll... yes
> checking for dirfd... yes
> checking for fdopendir... yes
> checking for flockfile... yes
> checking for fsync... yes
> checking for getdelim... yes
> checking for getpid... yes
> checking for lldiv... yes
> checking for nrand48... yes
> checking for poll... yes
> checking for posix_memalign... yes
> checking for rewind... yes
> checking for setenv... yes
> checking for strcasecmp... yes
> checking for strcasestr... yes
> checking for strdup... yes
> checking for strlcpy... no
> checking for strndup... yes
> checking for strnlen... yes
> checking for strsep... yes
> checking for strtof... yes
> checking for strtok_r... yes
> checking for strtoll... yes
> checking for swab... yes
> checking for tdestroy... yes
> checking for strverscmp... yes
> checking for fdatasync... yes
> checking whether asprintf is declared... yes
> checking whether vasprintf is declared... yes
> checking whether gmtime_r is declared... yes
> checking whether localtime_r is declared... yes
> checking for static_assert in assert.h... no
> checking for working strcoll... yes
> checking for accept4... yes
> checking for pipe2... yes
> checking for eventfd... yes
> checking for vmsplice... yes
> checking for sched_getaffinity... yes
> checking for struct pollfd... yes
> checking for library containing connect... none required
> checking for library containing inet_pton... none required
> checking for if_nameindex... yes
> checking for if_nametoindex... yes
> checking for socklen_t in sys/socket.h... yes
> checking for struct sockaddr_storage... yes
> checking for getopt_long... yes
> checking for cos in -lm... yes
> checking for lrintf in -lm... yes
> checking for nanf in -lm... yes
> checking for library containing dlsym... -ldl
> checking for library containing pthread_rwlock_init... -lpthread
> checking for clock_nanosleep in -lrt... yes
> checking arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking search.h usability... yes
> checking search.h presence... yes
> checking for search.h... yes
> checking sys/shm.h usability... yes
> checking sys/shm.h presence... yes
> checking for sys/shm.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking for net/if.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking netinet/udplite.h usability... no
> checking netinet/udplite.h presence... no
> checking for netinet/udplite.h... no
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking sys/mount.h usability... yes
> checking sys/mount.h presence... yes
> checking for sys/mount.h... yes
> checking getopt.h usability... yes
> checking getopt.h presence... yes
> checking for getopt.h... yes
> checking linux/dccp.h usability... yes
> checking linux/dccp.h presence... yes
> checking for linux/dccp.h... yes
> checking linux/magic.h usability... yes
> checking linux/magic.h presence... yes
> checking for linux/magic.h... yes
> checking mntent.h usability... yes
> checking mntent.h presence... yes
> checking for mntent.h... yes
> checking sys/eventfd.h usability... yes
> checking sys/eventfd.h presence... yes
> checking for sys/eventfd.h... yes
> checking xlocale.h usability... yes
> checking xlocale.h presence... yes
> checking for xlocale.h... yes
> checking for ssize_t... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking for MINIZIP... no
> checking unzip.h usability... no
> checking unzip.h presence... no
> checking for unzip.h... no
> checking for IDN... no
> checking for DBUS... no
> configure: WARNING: No package 'dbus-1' found.
> checking for SYSTEMD... no
> configure: WARNING: No package 'libsystemd' found.
> checking for ntohl in sys/param.h... no
> checking if gcc -std=gnu99 accepts -Wall... yes
> checking if gcc -std=gnu99 accepts -Wextra... yes
> checking if gcc -std=gnu99 accepts -Wsign-compare... yes
> checking if gcc -std=gnu99 accepts -Wundef... yes
> checking if gcc -std=gnu99 accepts -Wpointer-arith... yes
> checking if gcc -std=gnu99 accepts -Wbad-function-cast... yes
> checking if gcc -std=gnu99 accepts -Wwrite-strings... yes
> checking if gcc -std=gnu99 accepts -Wmissing-prototypes... yes
> checking if gcc -std=gnu99 accepts -Wvolatile-register-var... yes
> checking if gcc -std=gnu99 accepts
> -Werror-implicit-function-declaration... yes
> checking if gcc -std=gnu99 accepts -Winit-self... yes
> checking if gcc -std=gnu99 accepts -Wlogical-op... yes
> checking if gcc -std=gnu99 accepts -pipe... yes
> checking if g++ accepts -Wall... yes
> checking if g++ accepts -Wextra... yes
> checking if g++ accepts -Wsign-compare... yes
> checking if g++ accepts -Wundef... yes
> checking if g++ accepts -Wpointer-arith... yes
> checking if g++ accepts -Wvolatile-register-var... yes
> checking if gcc -std=gnu99 accepts -fvisibility=hidden... yes
> checking if gcc -std=gnu99 accepts -O3... yes
> checking if gcc -std=gnu99 accepts -ffast-math... yes
> checking if gcc -std=gnu99 accepts -funroll-loops... yes
> checking if gcc -std=gnu99 accepts -fomit-frame-pointer... yes
> checking if linker supports -Bsymbolic... -Wl,-Bsymbolic
> checking __attribute__ ((aligned ())) support... 64
> checking for __attribute__((packed))... yes
> checking execinfo.h usability... yes
> checking execinfo.h presence... yes
> checking for execinfo.h... yes
> checking for backtrace... yes
> checking if gcc -std=gnu99 groks 3D Now! inline assembly... no
> checking for LUA... no
> configure: WARNING: No package 'lua5.2' found, trying lua 5.1 instead
> checking for LUA... yes
> checking for luac... /usr/bin/luac
> checking for ARCHIVE... no
> configure: WARNING: Library libarchive >= 3.1.0 needed for archive
> was not found
> checking for LIVE555... no
> configure: WARNING: No package 'live555' found.
> checking for live555 version 1324598400 or later... no
> configure: WARNING: live555 is missing or its installed version is
> too old: Version 2011.12.23 or later is required to proceed.
> You can get an updated one from http://www.live555.com/liveMedia .
> checking for DC1394... yes
> checking for DV1394... no
> configure: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3
> needed for dv1394 was not found
> checking for LINSYS_SDI... yes
> checking for DVDREAD... no
> configure: WARNING: Library dvdread > 4.9.0 needed for dvdread was
> not found checking for DVDNAV... no
> configure: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not
> found checking for BLURAY... no
> configure: WARNING: Library libbluray >= 0.5.0 needed for bluray was
> not found
> checking for OPENCV... yes
> checking for SMBCLIENT... no
> configure: WARNING: Library smbclient needed for smbclient was not
> found checking for DSM... no
> configure: WARNING: Library libdsm >= 0.0.4 needed for dsm was not
> found checking for SFTP... yes
> checking linux/videodev2.h usability... yes
> checking linux/videodev2.h presence... yes
> checking for linux/videodev2.h... yes
> checking sys/videoio.h usability... no
> checking sys/videoio.h presence... no
> checking for sys/videoio.h... no
> checking DeckLinkAPIDispatch.cpp usability... no
> checking DeckLinkAPIDispatch.cpp presence... no
> checking for DeckLinkAPIDispatch.cpp... no
> configure: WARNING: Blackmagic DeckLink SDI include files not found
> checking for GNOMEVFS... no
> configure: WARNING: Library gnome-vfs-2.0 needed for gnomevfs was not
> found checking for cdrom_msf0 in linux/cdrom.h... yes
> checking for scsireq in sys/scsiio.h... no
> checking for ioc_toc_header in sys/cdio.h... no
> checking for LIBCDDB... yes
> checking for Linux DVB version 5.1... yes
> checking for VNC... no
> configure: WARNING: Library libvncclient >= 0.9.9 needed for vnc was
> not found
> checking for FREERDP... no
> configure: WARNING: Library freerdp >= 1.0.1 needed for freerdp was
> not found
> checking for ASDCP... no
> checking for DVBPSI... no
> checking gme/gme.h usability... no
> checking gme/gme.h presence... no
> checking for gme/gme.h... no
> checking for SID... no
> configure: WARNING: No package 'libsidplay2' found (required for sid).
> checking for OGG... yes
> checking for LIBVORBIS... yes
> checking for OGG... yes
> checking for SHOUT... yes
> checking ebml/EbmlVersion.h usability... no
> checking ebml/EbmlVersion.h presence... no
> checking for ebml/EbmlVersion.h... no
> checking for LIBMODPLUG... yes
> checking mpc/mpcdec.h usability... yes
> checking mpc/mpcdec.h presence... yes
> checking for mpc/mpcdec.h... yes
> checking for SHINE... no
> configure: WARNING: Library shine >= 3.0.0 needed for shine was not
> found checking for libcrystalhd/libcrystalhd_if.h... no
> checking mad.h usability... yes
> checking mad.h presence... yes
> checking for mad.h... yes
> checking for mad_bit_init in -lmad... yes
> checking for MPG123... no
> configure: WARNING: Library libmpg123 needed for mpg123 was not found
> checking for libavutil variant... libav
> checking for GST_APP... no
> configure: WARNING: No package 'gstreamer-app-1.0' found. GStreamer
> modules will not be built.
> checking for AVCODEC... yes
> checking libavcodec/avcodec.h usability... yes
> checking libavcodec/avcodec.h presence... yes
> checking for libavcodec/avcodec.h... yes
> checking libavutil/avutil.h usability... yes
> checking libavutil/avutil.h presence... yes
> checking for libavutil/avutil.h... yes
> configure: WARNING: .
> checking for LIBVA_DRM... no
> configure: WARNING: No package 'libva-drm' found.
> checking for LIBVA_X11... no
> configure: WARNING: No package 'libva-x11' found.
> checking for AVFORMAT... yes
> checking libavformat/avformat.h usability... yes
> checking libavformat/avformat.h presence... yes
> checking for libavformat/avformat.h... yes
> checking libavformat/avio.h usability... yes
> checking libavformat/avio.h presence... yes
> checking for libavformat/avio.h... yes
> checking for libavcodec/avcodec.h... (cached) yes
> checking for libavutil/avutil.h... (cached) yes
> checking for SWSCALE... yes
> checking libswscale/swscale.h usability... yes
> checking libswscale/swscale.h presence... yes
> checking for libswscale/swscale.h... yes
> checking for libavutil/avutil.h... (cached) yes
> checking for POSTPROC... yes
> checking postproc/postprocess.h usability... no
> checking postproc/postprocess.h presence... no
> checking for postproc/postprocess.h... no
> checking faad.h usability... yes
> checking faad.h presence... yes
> checking for faad.h... yes
> checking for faacDecOpen in -lfaad... no
> checking for NeAACDecOpen in -lfaad... yes
> checking for VPX... no
> checking for TWOLAME... yes
> checking a52dec/a52.h usability... yes
> checking a52dec/a52.h presence... yes
> checking for a52dec/a52.h... yes
> checking for a52_free in -la52... yes
> checking for DCA... yes
> checking for FLAC... yes
> checking for LIBMPEG2... yes
> checking for VORBIS... yes
> checking for SPEEX... yes
> checking for SPEEXDSP... yes
> checking for OPUS... yes
> checking for THEORA... yes
> checking for SCHROEDINGER... yes
> checking png.h usability... yes
> checking png.h presence... yes
> checking for png.h... yes
> checking for png_set_rows in -lpng... yes
> checking jpeglib.h usability... yes
> checking jpeglib.h presence... yes
> checking for jpeglib.h... yes
> checking libbpg.h usability... no
> checking libbpg.h presence... no
> checking for libbpg.h... no
> checking for X262... no
> checking for X265... no
> configure: WARNING: Library x265 needed for x265 was not found
> checking for X26410B... no
> checking for X264... yes
> checking for MFX... no
> configure: WARNING: Library libmfx needed for mfx was not found
> checking for FLUIDSYNTH... no
> configure: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth
> was not found
> checking for ZVBI... yes
> checking for LIBASS... yes
> checking fontconfig/fontconfig.h usability... yes
> checking fontconfig/fontconfig.h presence... yes
> checking for fontconfig/fontconfig.h... yes
> checking for ARIBB24... no
> configure: WARNING: Library aribb24 needed for aribsub was not found
> checking for ARIBB25... no
> configure: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was
> not found
> checking for KATE... yes
> checking for TIGER... no
> checking for EGL... no
> checking for GL... no
> checking for X... libraries , headers
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking X11/Xlib.h usability... yes
> checking X11/Xlib.h presence... yes
> checking for X11/Xlib.h... yes
> checking for XCB... yes
> checking for XCB_SHM... yes
> checking for XCB_COMPOSITE... yes
> checking for XPROTO... yes
> checking for XCB_XV... yes
> checking for XCB_RANDR... yes
> checking for XCB_KEYSYMS... no
> configure: WARNING: No package 'xcb-keysyms' found. Hotkeys will not
> work. checking for VDPAU... no
> checking for the Wayland scanner... wayland-scanner
> checking for WAYLAND_CLIENT... no
> checking for SDL... no
> configure: WARNING: No package 'sdl' found.
> checking for FREETYPE... yes
> checking for fontconfig/fontconfig.h... (cached) yes
> checking for FRIBIDI... yes
> checking for SVG... no
> configure: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was
> not found
> checking for SVGDEC... no
> configure: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1
> needed for svgdec was not found
> checking linux/fb.h usability... yes
> checking linux/fb.h presence... yes
> checking for linux/fb.h... yes
> checking for CACA... no
> configure: WARNING: Library caca >= 0.99.beta14 needed for caca was
> not found
> checking kva.h usability... no
> checking kva.h presence... no
> checking for kva.h... no
> checking interface/mmal/mmal.h usability... yes
> checking interface/mmal/mmal.h presence... yes
> checking for interface/mmal/mmal.h... yes
> checking for vc_tv_unregister_callback_full in -lbcm_host... yes
> checking for PULSE... no
> checking for ALSA... no
> configure: error: No package 'alsa' found. alsa-lib 1.0.24 or later
> required.
> root at raspberrypi:/home/pi/vlc#
> 
> Quelle est la bonne méthode pour arriver à finir la compilation ?
> 
> Le mieux aurait etait de trouver un paquet vlc compilé pour raspberry
> 
> Merci de me donner des informations pour ressoudre tout le problèmes
> existant encore
> 
> Chrstophe
> 

bonjour,

voici un autre lien qui dit la même chose :

http://www.oblivion-software.de/index.php?id=56&type=98

par contre serait il possible de vérifier la version de gcc et
d'installer une version récente ?

pour info : gcc-4.9 - compilateur C GNU

slt
bernard



Plus d'informations sur la liste de diffusion Linux-31