본문 바로가기
서버/리눅스 서버

오드로이드 H2 libva2.4 PlexMediaServer

by ㅋㅋ잠자 2018. 11. 26.
반응형

안녕하세요. 


바로 다음을 시작합니다.


1. VAAPI 환경 구축하기


아래의 과정 중에 몇가지는 필요없을 수 있습니다.


root@djjproject:~# apt-get install git build-essential

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following additional packages will be installed:

  ca-certificates cpp dpkg-dev fakeroot g++ g++-6 gcc git-man less libalgorithm-diff-perl

  libalgorithm-diff-xs-perl libalgorithm-merge-perl libcurl3-gnutls libdpkg-perl

  liberror-perl libfakeroot libfile-fcntllock-perl libldap-2.4-2 libldap-common

  libnghttp2-14 libperl5.24 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db

  libssh2-1 libstdc++-6-dev make openssl patch perl perl-modules-5.24 rename rsync

Suggested packages:

  cpp-doc debian-keyring g++-multilib g++-6-multilib gcc-6-doc libstdc++6-6-dbg

  gcc-multilib autoconf automake libtool flex bison gdb gcc-doc git-daemon-run

  | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs

  git-mediawiki git-svn libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal

  libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql libstdc++-6-doc make-doc

  ed diffutils-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl

The following NEW packages will be installed:

  build-essential ca-certificates cpp dpkg-dev fakeroot g++ g++-6 gcc git git-man less

  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libcurl3-gnutls

  libdpkg-perl liberror-perl libfakeroot libfile-fcntllock-perl libldap-2.4-2

  libldap-common libnghttp2-14 libperl5.24 librtmp1 libsasl2-2 libsasl2-modules

  libsasl2-modules-db libssh2-1 libstdc++-6-dev make openssl patch perl perl-modules-5.24

  rename rsync

0 upgraded, 36 newly installed, 0 to remove and 0 not upgraded.

Need to get 26.8 MB of archives.

After this operation, 123 MB of additional disk space will be used.

Do you want to continue? [Y/n] 


root@djjproject:~# git clone https://github.com/01org/cmrt

Cloning into 'cmrt'...

remote: Enumerating objects: 575, done.

remote: Total 575 (delta 0), reused 0 (delta 0), pack-reused 575

Receiving objects: 100% (575/575), 7.03 MiB | 198.00 KiB/s, done.

Resolving deltas: 100% (379/379), done.

root@djjproject:~# cd cmrt/

root@djjproject:~/cmrt# ./autogen.sh 

./autogen.sh: line 27: autoreconf: command not found

./autogen.sh: line 30: ./configure: No such file or directory

root@djjproject:~/cmrt# apt-get install autoreconf

Reading package lists... Done

Building dependency tree       

Reading state information... Done

E: Unable to locate package autoreconf

root@djjproject:~/cmrt# apt-get install autoconf

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following additional packages will be installed:

  automake autotools-dev libsigsegv2 m4

Suggested packages:

  autoconf-archive gnu-standards autoconf-doc libtool gettext m4-doc

The following NEW packages will be installed:

  autoconf automake autotools-dev libsigsegv2 m4

0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.

Need to get 1,375 kB of archives.

After this operation, 4,225 kB of additional disk space will be used.

Do you want to continue? [Y/n] 

Get:1 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libsigsegv2 amd64 2.10-5 [28.9 kB]

Get:2 http://debian-archive.trafficmanager.net/debian stretch/main amd64 m4 amd64 1.4.18-1 [202 kB]

Get:3 http://debian-archive.trafficmanager.net/debian stretch/main amd64 autoconf all 2.69-10 [338 kB]

Get:4 http://debian-archive.trafficmanager.net/debian stretch/main amd64 autotools-dev all 20161112.1 [73.4 kB]

Get:5 http://debian-archive.trafficmanager.net/debian stretch/main amd64 automake all 1:1.15-6 [733 kB]

Fetched 1,375 kB in 0s (2,031 kB/s)

Selecting previously unselected package libsigsegv2:amd64.

(Reading database ... 51134 files and directories currently installed.)

Preparing to unpack .../libsigsegv2_2.10-5_amd64.deb ...

Unpacking libsigsegv2:amd64 (2.10-5) ...

Selecting previously unselected package m4.

Preparing to unpack .../archives/m4_1.4.18-1_amd64.deb ...

Unpacking m4 (1.4.18-1) ...

Selecting previously unselected package autoconf.

Preparing to unpack .../autoconf_2.69-10_all.deb ...

Unpacking autoconf (2.69-10) ...

Selecting previously unselected package autotools-dev.

Preparing to unpack .../autotools-dev_20161112.1_all.deb ...

Unpacking autotools-dev (20161112.1) ...

Selecting previously unselected package automake.

Preparing to unpack .../automake_1%3a1.15-6_all.deb ...

Unpacking automake (1:1.15-6) ...

Setting up libsigsegv2:amd64 (2.10-5) ...

Setting up m4 (1.4.18-1) ...

Processing triggers for libc-bin (2.24-11+deb9u3) ...

Setting up autotools-dev (20161112.1) ...

Setting up autoconf (2.69-10) ...

Setting up automake (1:1.15-6) ...

update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode

root@djjproject:~/cmrt# ./autogen.sh 

autoreconf: Entering directory `.'

autoreconf: configure.ac: not using Gettext

autoreconf: running: aclocal -I m4 ${ACLOCAL_FLAGS}

aclocal: warning: couldn't open directory 'm4': No such file or directory

autoreconf: configure.ac: tracing

autoreconf: configure.ac: not using Libtool

autoreconf: running: /usr/bin/autoconf

configure.ac:125: error: possibly undefined macro: AC_DISABLE_STATIC

      If this token and others are legitimate, please use m4_pattern_allow.

      See the Autoconf documentation.

configure.ac:126: error: possibly undefined macro: AC_PROG_LIBTOOL

autoreconf: /usr/bin/autoconf failed with exit status: 1

configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

root@djjproject:~/cmrt# apt install libtool autogen

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following additional packages will be installed:

  autogen-doc guile-2.0-libs libgc1c2 libltdl-dev libltdl7 libopts25 libopts25-dev

Suggested packages:

  libtool-doc gfortran | fortran95-compiler gcj-jdk

The following NEW packages will be installed:

  autogen autogen-doc guile-2.0-libs libgc1c2 libltdl-dev libltdl7 libopts25 libopts25-dev

  libtool

0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.

Need to get 5,295 kB of archives.

After this operation, 20.0 MB of additional disk space will be used.

Do you want to continue? [Y/n] 

Get:1 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libgc1c2 amd64 1:7.4.2-8 [208 kB]

Get:2 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libltdl7 amd64 2.4.6-2 [389 kB]

Get:3 http://debian-archive.trafficmanager.net/debian stretch/main amd64 guile-2.0-libs amd64 2.0.13+1-4 [2,232 kB]

Get:4 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libopts25 amd64 1:5.18.12-3 [68.0 kB]

Get:5 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libopts25-dev amd64 1:5.18.12-3 [106 kB]

Get:6 http://debian-archive.trafficmanager.net/debian stretch/main amd64 autogen amd64 1:5.18.12-3 [566 kB]

Get:7 http://debian-archive.trafficmanager.net/debian stretch/main amd64 autogen-doc all 1:5.18.12-3 [1,019 kB]

Get:8 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libltdl-dev amd64 2.4.6-2 [161 kB]

Get:9 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libtool all 2.4.6-2 [545 kB]

Fetched 5,295 kB in 1s (5,097 kB/s)

Selecting previously unselected package libgc1c2:amd64.

(Reading database ... 51427 files and directories currently installed.)

Preparing to unpack .../0-libgc1c2_1%3a7.4.2-8_amd64.deb ...

Unpacking libgc1c2:amd64 (1:7.4.2-8) ...

Selecting previously unselected package libltdl7:amd64.

Preparing to unpack .../1-libltdl7_2.4.6-2_amd64.deb ...

Unpacking libltdl7:amd64 (2.4.6-2) ...

Selecting previously unselected package guile-2.0-libs:amd64.

Preparing to unpack .../2-guile-2.0-libs_2.0.13+1-4_amd64.deb ...

Unpacking guile-2.0-libs:amd64 (2.0.13+1-4) ...

Selecting previously unselected package libopts25:amd64.

Preparing to unpack .../3-libopts25_1%3a5.18.12-3_amd64.deb ...

Unpacking libopts25:amd64 (1:5.18.12-3) ...

Selecting previously unselected package libopts25-dev:amd64.

Preparing to unpack .../4-libopts25-dev_1%3a5.18.12-3_amd64.deb ...

Unpacking libopts25-dev:amd64 (1:5.18.12-3) ...

Selecting previously unselected package autogen.

Preparing to unpack .../5-autogen_1%3a5.18.12-3_amd64.deb ...

Unpacking autogen (1:5.18.12-3) ...

Replaced by files in installed package libopts25-dev:amd64 (1:5.18.12-3) ...

Selecting previously unselected package autogen-doc.

Preparing to unpack .../6-autogen-doc_1%3a5.18.12-3_all.deb ...

Unpacking autogen-doc (1:5.18.12-3) ...

Selecting previously unselected package libltdl-dev:amd64.

Preparing to unpack .../7-libltdl-dev_2.4.6-2_amd64.deb ...

Unpacking libltdl-dev:amd64 (2.4.6-2) ...

Selecting previously unselected package libtool.

Preparing to unpack .../8-libtool_2.4.6-2_all.deb ...

Unpacking libtool (2.4.6-2) ...

Setting up libtool (2.4.6-2) ...

Setting up autogen-doc (1:5.18.12-3) ...

Setting up libgc1c2:amd64 (1:7.4.2-8) ...

Processing triggers for libc-bin (2.24-11+deb9u3) ...

Setting up libltdl7:amd64 (2.4.6-2) ...

Setting up libopts25:amd64 (1:5.18.12-3) ...

Setting up libltdl-dev:amd64 (2.4.6-2) ...

Setting up libopts25-dev:amd64 (1:5.18.12-3) ...

Setting up guile-2.0-libs:amd64 (2.0.13+1-4) ...

Setting up autogen (1:5.18.12-3) ...

Processing triggers for libc-bin (2.24-11+deb9u3) ...

root@djjproject:~/cmrt# ./autogen.sh 

autoreconf: Entering directory `.'

autoreconf: configure.ac: not using Gettext

autoreconf: running: aclocal -I m4 ${ACLOCAL_FLAGS}

aclocal: warning: couldn't open directory 'm4': No such file or directory

autoreconf: configure.ac: tracing

autoreconf: running: libtoolize --copy

libtoolize: putting auxiliary files in '.'.

libtoolize: copying file './ltmain.sh'

libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.

libtoolize: copying file 'm4/libtool.m4'

libtoolize: copying file 'm4/ltoptions.m4'

libtoolize: copying file 'm4/ltsugar.m4'

libtoolize: copying file 'm4/ltversion.m4'

libtoolize: copying file 'm4/lt~obsolete.m4'

autoreconf: running: /usr/bin/autoconf

autoreconf: running: /usr/bin/autoheader

autoreconf: running: automake --add-missing --copy --no-force

configure.ac:126: installing './compile'

configure.ac:126: installing './config.guess'

configure.ac:126: installing './config.sub'

configure.ac:89: installing './install-sh'

configure.ac:89: installing './missing'

src/Makefile.am: installing './depcomp'

autoreconf: Leaving directory `.'

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 whether make supports nested variables... yes

checking whether make supports nested variables... (cached) yes

checking build system type... x86_64-pc-linux-gnu

checking host system type... x86_64-pc-linux-gnu

checking how to print strings... printf

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 whether gcc understands -c and -o together... yes

checking dependency style of gcc... gcc3

checking for a sed that does not truncate output... /bin/sed

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for fgrep... /bin/grep -F

checking for ld used by gcc... /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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop

checking how to convert x86_64-pc-linux-gnu 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... 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 object... ok

checking for sysroot... no

checking for a working dd... /bin/dd

checking how to truncate binary pipes... /bin/dd bs=4096 count=1

checking for mt... mt

checking if mt is a manifest tool... no

checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 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 for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking whether gcc understands -c and -o together... (cached) yes

checking dependency style of gcc... (cached) gcc3

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... g++ -E

checking for ld used by g++... /usr/bin/ld -m elf_x86_64

checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes

checking dynamic linker characteristics... (cached) GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

./configure: line 16538: PKG_PROG_PKG_CONFIG: command not found

checking whether byte ordering is bigendian... no

checking for ANSI C header files... (cached) yes

checking for special C compiler options needed for large files... no

checking for _FILE_OFFSET_BITS value needed for large files... no

checking for sin in -lm... yes

checking for log2f... yes

./configure: line 17137: syntax error near unexpected token `DRM,'

./configure: line 17137: `PKG_CHECK_MODULES(DRM, libdrm >= $LIBDRM_VERSION)'

root@djjproject:~/cmrt# 


root@djjproject:~/cmrt# make -j 4 && make install

make: *** No targets specified and no makefile found.  Stop.

root@djjproject:~/cmrt# apt install pkg-config

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following NEW packages will be installed:

  pkg-config

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 63.3 kB of archives.

After this operation, 193 kB of additional disk space will be used.

Get:1 http://debian-archive.trafficmanager.net/debian stretch/main amd64 pkg-config amd64 0.29-4+b1 [63.3 kB]

Fetched 63.3 kB in 0s (484 kB/s)      

Selecting previously unselected package pkg-config.

(Reading database ... 52730 files and directories currently installed.)

Preparing to unpack .../pkg-config_0.29-4+b1_amd64.deb ...

Unpacking pkg-config (0.29-4+b1) ...

Setting up pkg-config (0.29-4+b1) ...

root@djjproject:~/cmrt# 


root@djjproject:~/cmrt# ./autogen.sh 

autoreconf: Entering directory `.'

autoreconf: configure.ac: not using Gettext

autoreconf: running: aclocal -I m4 ${ACLOCAL_FLAGS}

autoreconf: configure.ac: tracing

autoreconf: running: libtoolize --copy

autoreconf: running: /usr/bin/autoconf

autoreconf: running: /usr/bin/autoheader

autoreconf: running: automake --add-missing --copy --no-force

autoreconf: Leaving directory `.'

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 whether make supports nested variables... yes

checking whether make supports nested variables... (cached) yes

checking build system type... x86_64-pc-linux-gnu

checking host system type... x86_64-pc-linux-gnu

checking how to print strings... printf

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 whether gcc understands -c and -o together... yes

checking dependency style of gcc... gcc3

checking for a sed that does not truncate output... /bin/sed

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for fgrep... /bin/grep -F

checking for ld used by gcc... /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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop

checking how to convert x86_64-pc-linux-gnu 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... 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 object... ok

checking for sysroot... no

checking for a working dd... /bin/dd

checking how to truncate binary pipes... /bin/dd bs=4096 count=1

checking for mt... mt

checking if mt is a manifest tool... no

checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 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 for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking whether gcc understands -c and -o together... (cached) yes

checking dependency style of gcc... (cached) gcc3

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... g++ -E

checking for ld used by g++... /usr/bin/ld -m elf_x86_64

checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes

checking dynamic linker characteristics... (cached) GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking whether byte ordering is bigendian... no

checking for ANSI C header files... (cached) yes

checking for special C compiler options needed for large files... no

checking for _FILE_OFFSET_BITS value needed for large files... no

checking for sin in -lm... yes

checking for log2f... yes

checking for DRM... no

configure: error: Package requirements (libdrm >= 2.4.23) were not met:


No package 'libdrm' found


Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.


Alternatively, you may set the environment variables DRM_CFLAGS

and DRM_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

root@djjproject:~/cmrt# apt-get install -t stretch-backports libdrm

Reading package lists... Done

Building dependency tree       

Reading state information... Done

E: Unable to locate package libdrm

root@djjproject:~/cmrt# apt-get install -t stretch-backports libdrm-dev

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following additional packages will be installed:

  libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2

  libpciaccess0

The following NEW packages will be installed:

  libdrm-amdgpu1 libdrm-common libdrm-dev libdrm-intel1 libdrm-nouveau2 libdrm-radeon1

  libdrm2 libpciaccess0

0 upgraded, 8 newly installed, 0 to remove and 35 not upgraded.

Need to get 389 kB of archives.

After this operation, 1,311 kB of additional disk space will be used.

Do you want to continue? [Y/n] 

Get:1 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-common all 2.4.95-1~bpo9+1 [13.7 kB]

Get:2 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm2 amd64 2.4.95-1~bpo9+1 [39.7 kB]

Get:3 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-amdgpu1 amd64 2.4.95-1~bpo9+1 [27.2 kB]

Get:4 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libpciaccess0 amd64 0.13.4-1+b2 [50.0 kB]

Get:5 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-intel1 amd64 2.4.95-1~bpo9+1 [70.0 kB]

Get:6 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-radeon1 amd64 2.4.95-1~bpo9+1 [31.2 kB]

Get:7 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-nouveau2 amd64 2.4.95-1~bpo9+1 [26.0 kB]

Get:8 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-dev amd64 2.4.95-1~bpo9+1 [131 kB]

Fetched 389 kB in 0s (858 kB/s)      

Selecting previously unselected package libdrm-common.

(Reading database ... 52748 files and directories currently installed.)

Preparing to unpack .../0-libdrm-common_2.4.95-1~bpo9+1_all.deb ...

Unpacking libdrm-common (2.4.95-1~bpo9+1) ...

Selecting previously unselected package libdrm2:amd64.

Preparing to unpack .../1-libdrm2_2.4.95-1~bpo9+1_amd64.deb ...

Unpacking libdrm2:amd64 (2.4.95-1~bpo9+1) ...

Selecting previously unselected package libdrm-amdgpu1:amd64.

Preparing to unpack .../2-libdrm-amdgpu1_2.4.95-1~bpo9+1_amd64.deb ...

Unpacking libdrm-amdgpu1:amd64 (2.4.95-1~bpo9+1) ...

Selecting previously unselected package libpciaccess0:amd64.

Preparing to unpack .../3-libpciaccess0_0.13.4-1+b2_amd64.deb ...

Unpacking libpciaccess0:amd64 (0.13.4-1+b2) ...

Selecting previously unselected package libdrm-intel1:amd64.

Preparing to unpack .../4-libdrm-intel1_2.4.95-1~bpo9+1_amd64.deb ...

Unpacking libdrm-intel1:amd64 (2.4.95-1~bpo9+1) ...

Selecting previously unselected package libdrm-radeon1:amd64.

Preparing to unpack .../5-libdrm-radeon1_2.4.95-1~bpo9+1_amd64.deb ...

Unpacking libdrm-radeon1:amd64 (2.4.95-1~bpo9+1) ...

Selecting previously unselected package libdrm-nouveau2:amd64.

Preparing to unpack .../6-libdrm-nouveau2_2.4.95-1~bpo9+1_amd64.deb ...

Unpacking libdrm-nouveau2:amd64 (2.4.95-1~bpo9+1) ...

Selecting previously unselected package libdrm-dev:amd64.

Preparing to unpack .../7-libdrm-dev_2.4.95-1~bpo9+1_amd64.deb ...

Unpacking libdrm-dev:amd64 (2.4.95-1~bpo9+1) ...

Setting up libdrm-common (2.4.95-1~bpo9+1) ...

Processing triggers for libc-bin (2.24-11+deb9u3) ...

Setting up libpciaccess0:amd64 (0.13.4-1+b2) ...

Setting up libdrm2:amd64 (2.4.95-1~bpo9+1) ...

Setting up libdrm-intel1:amd64 (2.4.95-1~bpo9+1) ...

Setting up libdrm-radeon1:amd64 (2.4.95-1~bpo9+1) ...

Setting up libdrm-nouveau2:amd64 (2.4.95-1~bpo9+1) ...

Setting up libdrm-amdgpu1:amd64 (2.4.95-1~bpo9+1) ...

Setting up libdrm-dev:amd64 (2.4.95-1~bpo9+1) ...

Processing triggers for libc-bin (2.24-11+deb9u3) ...

root@djjproject:~/cmrt# 

root@djjproject:~/cmrt# ./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
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 whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu 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... 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 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 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 for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
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... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for sin in -lm... yes
checking for log2f... yes
checking for DRM... no
configure: error: Package requirements (libdrm >= 2.4.23) were not met:

No package 'libdrm' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DRM_CFLAGS
and DRM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
root@djjproject:~/cmrt# apt-get install -t stretch-backports libdrm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libdrm
root@djjproject:~/cmrt# apt-get install -t stretch-backports libdrm-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2
  libpciaccess0
The following NEW packages will be installed:
  libdrm-amdgpu1 libdrm-common libdrm-dev libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
  libdrm2 libpciaccess0
0 upgraded, 8 newly installed, 0 to remove and 35 not upgraded.
Need to get 389 kB of archives.
After this operation, 1,311 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-common all 2.4.95-1~bpo9+1 [13.7 kB]
Get:2 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm2 amd64 2.4.95-1~bpo9+1 [39.7 kB]
Get:3 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-amdgpu1 amd64 2.4.95-1~bpo9+1 [27.2 kB]
Get:4 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libpciaccess0 amd64 0.13.4-1+b2 [50.0 kB]
Get:5 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-intel1 amd64 2.4.95-1~bpo9+1 [70.0 kB]
Get:6 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-radeon1 amd64 2.4.95-1~bpo9+1 [31.2 kB]
Get:7 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-nouveau2 amd64 2.4.95-1~bpo9+1 [26.0 kB]
Get:8 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 libdrm-dev amd64 2.4.95-1~bpo9+1 [131 kB]
Fetched 389 kB in 0s (858 kB/s)      
Selecting previously unselected package libdrm-common.
(Reading database ... 52748 files and directories currently installed.)
Preparing to unpack .../0-libdrm-common_2.4.95-1~bpo9+1_all.deb ...
Unpacking libdrm-common (2.4.95-1~bpo9+1) ...
Selecting previously unselected package libdrm2:amd64.
Preparing to unpack .../1-libdrm2_2.4.95-1~bpo9+1_amd64.deb ...
Unpacking libdrm2:amd64 (2.4.95-1~bpo9+1) ...
Selecting previously unselected package libdrm-amdgpu1:amd64.
Preparing to unpack .../2-libdrm-amdgpu1_2.4.95-1~bpo9+1_amd64.deb ...
Unpacking libdrm-amdgpu1:amd64 (2.4.95-1~bpo9+1) ...
Selecting previously unselected package libpciaccess0:amd64.
Preparing to unpack .../3-libpciaccess0_0.13.4-1+b2_amd64.deb ...
Unpacking libpciaccess0:amd64 (0.13.4-1+b2) ...
Selecting previously unselected package libdrm-intel1:amd64.
Preparing to unpack .../4-libdrm-intel1_2.4.95-1~bpo9+1_amd64.deb ...
Unpacking libdrm-intel1:amd64 (2.4.95-1~bpo9+1) ...
Selecting previously unselected package libdrm-radeon1:amd64.
Preparing to unpack .../5-libdrm-radeon1_2.4.95-1~bpo9+1_amd64.deb ...
Unpacking libdrm-radeon1:amd64 (2.4.95-1~bpo9+1) ...
Selecting previously unselected package libdrm-nouveau2:amd64.
Preparing to unpack .../6-libdrm-nouveau2_2.4.95-1~bpo9+1_amd64.deb ...
Unpacking libdrm-nouveau2:amd64 (2.4.95-1~bpo9+1) ...
Selecting previously unselected package libdrm-dev:amd64.
Preparing to unpack .../7-libdrm-dev_2.4.95-1~bpo9+1_amd64.deb ...
Unpacking libdrm-dev:amd64 (2.4.95-1~bpo9+1) ...
Setting up libdrm-common (2.4.95-1~bpo9+1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up libpciaccess0:amd64 (0.13.4-1+b2) ...
Setting up libdrm2:amd64 (2.4.95-1~bpo9+1) ...
Setting up libdrm-intel1:amd64 (2.4.95-1~bpo9+1) ...
Setting up libdrm-radeon1:amd64 (2.4.95-1~bpo9+1) ...
Setting up libdrm-nouveau2:amd64 (2.4.95-1~bpo9+1) ...
Setting up libdrm-amdgpu1:amd64 (2.4.95-1~bpo9+1) ...
Setting up libdrm-dev:amd64 (2.4.95-1~bpo9+1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
root@djjproject:~/cmrt# 

configure: error: Package requirements (libva >= 0.34) were not met:

No package 'libva' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBVA_DEPS_CFLAGS
and LIBVA_DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
root@djjproject:~/cmrt# apt-get install -t stretch-backports libva
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libva
root@djjproject:~/cmrt# apt-get install -t stretch-backports libva-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  i965-va-driver libegl-mesa0 libegl1 libegl1-mesa libgbm1 libgl1 libgl1-mesa-dri
  libgl1-mesa-glx libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libllvm6.0 libsensors4
  libset-scalar-perl libva-drm1 libva-egl1 libva-glx1 libva-tpi1 libva-wayland1
  libva-x11-1 libva1 libwayland-bin libwayland-client0 libwayland-cursor0 libwayland-dev
  libwayland-egl1 libwayland-server0 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
  libxcb-present0 libxcb-sync1 libxcb-xfixes0 libxdamage1 libxfixes3 libxshmfence1
  libxxf86vm1 mesa-va-drivers va-driver-all
Suggested packages:
  lm-sensors libwayland-doc libfglrx-amdxvba1
The following NEW packages will be installed:
  i965-va-driver libegl-mesa0 libegl1 libegl1-mesa libgbm1 libgl1 libgl1-mesa-dri
  libgl1-mesa-glx libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libllvm6.0 libsensors4
  libset-scalar-perl libva-dev libva-drm1 libva-egl1 libva-glx1 libva-tpi1 libva-wayland1
  libva-x11-1 libva1 libwayland-bin libwayland-client0 libwayland-cursor0 libwayland-dev
  libwayland-egl1 libwayland-server0 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
  libxcb-present0 libxcb-sync1 libxcb-xfixes0 libxdamage1 libxfixes3 libxshmfence1
  libxxf86vm1 mesa-va-drivers va-driver-all
0 upgraded, 42 newly installed, 0 to remove and 35 not upgraded.
Need to get 25.1 MB of archives.
After this operation, 235 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

root@djjproject:~/cmrt# ./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
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 whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu 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... 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 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 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 for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
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... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for sin in -lm... yes
checking for log2f... yes
checking for DRM... yes
checking for LIBVA_DEPS... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating pkgconfig/Makefile
config.status: creating pkgconfig/libcmrt.pc
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

cmrt - 1.0.6 (CMRT-API 0.10.1)

Installation prefix .............. : /usr/local

root@djjproject:~/cmrt# make -j 4 && make install
Making all in src
make[1]: Entering directory '/root/cmrt/src'
(CDPATH="${ZSH_VERSION+.}:" && cd .. && /bin/bash /root/cmrt/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd .. && /bin/bash ./config.status src/config.h
config.status: creating src/config.h
config.status: src/config.h is unchanged
make  all-recursive
make[2]: Entering directory '/root/cmrt/src'
make[3]: Entering directory '/root/cmrt/src'
  CXX      libcmrt_la-debugger.lo
  CXX      libcmrt_la-hal_cm.lo
  CXX      libcmrt_la-hal_cm_g8.lo
  CXX      libcmrt_la-hal_cm_g75.lo
  CXX      libcmrt_la-hal_cm_g9.lo
  CC       libcmrt_la-hw_interface_base.lo
  CC       libcmrt_la-hw_interface.lo
  CC       libcmrt_la-hw_interface_g75.lo
  CC       libcmrt_la-hw_interface_g8.lo
  CC       libcmrt_la-hw_interface_g9.lo
  CC       libcmrt_la-os_utilities.lo
  CC       libcmrt_la-os_interface.lo
  CC       libcmrt_la-hw_cmd.lo
  CC       libcmrt_la-os_util_debug.lo
  CC       libcmrt_la-oscl_impl_linux.lo
  CC       libcmrt_la-hw_cmd_g9.lo
  CXX      libcmrt_la-cm_device.lo
  CXX      libcmrt_la-cm_buffer.lo
  CXX      libcmrt_la-cm_event.lo
  CXX      libcmrt_la-cm_array.lo
cm_device.cpp: In static member function ‘static INT CmDevice_RT::Create(CmDriverContext*, CmDevice_RT*&, UINT)’:
cm_device.cpp:77:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (result == CM_SUCCESS)
     ^~
cm_device.cpp:80:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  return result;
  ^~~~~~
  CXX      libcmrt_la-cm_basic_list.lo
  CXX      libcmrt_la-cm_basic_queue.lo
  CXX      libcmrt_la-cm_perf.lo
  CXX      libcmrt_la-cm_kernel.lo
  CXX      libcmrt_la-cm_kernel_data.lo
  CXX      libcmrt_la-cm_surface_manager.lo
  CXX      libcmrt_la-cm_surface.lo
cm_kernel_data.cpp: In member function ‘INT CmKernelData::ReleaseKernel()’:
cm_kernel_data.cpp:166:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   pDevice->DestroyKernel((CmKernel * &)m_pCmKernel);
                                        ^~~~~~~~~~~
  CXX      libcmrt_la-cm_task.lo
  CXX      libcmrt_la-cm_task_internal.lo
In file included from cm_array.h:31:0,
                 from cm_kernel.h:32,
                 from cm_kernel.cpp:30:
cm_mem.h: In member function ‘INT CmKernel_RT::CreateMovInstructions(UINT&, unsigned char*&, CM_ARG*, UINT)’:
cm_mem.h:305:24: warning: array subscript is above array bounds [-Warray-bounds]
  Prefetch((BYTE *) src + sizeof(PREFETCH));
           ~~~~~~~~~~~~~^~~~~~~~~
cm_mem.h:337:24: warning: array subscript is above array bounds [-Warray-bounds]
  Prefetch((BYTE *) src + sizeof(PREFETCH));
           ~~~~~~~~~~~~~^~~~~~~~~
  CXX      libcmrt_la-cm_program.lo
  CXX      libcmrt_la-cm_thread_space.lo
cm_task_internal.cpp: In member function ‘INT CmTaskInternal::CreateThreadSpaceData(const CmThreadSpace*)’:
cm_task_internal.cpp:546:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     this->GetKernel(i, (CmKernel * &)pKernel_inTask);
                                      ^~~~~~~~~~~~~~
  CXX      libcmrt_la-cm_group_space.lo
  CXX      libcmrt_la-cm_queue.lo
  CXX      libcmrt_la-cm_surface_2d.lo
  CXX      libcmrt_la-cm_surface_2d_up.lo
  CXX      libcmrt_la-readconf.lo
cm_queue.cpp: In member function ‘INT CmQueue_RT::Enqueue_RT(CmKernel_RT**, CmEvent*&, UINT, BOOLEAN, UINT, PCM_HAL_POWER_OPTION_PARAM)’:
cm_queue.cpp:390:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   pTask->GetKernel(i, (CmKernel * &)pKernel);
                                     ^~~~~~~
  CXXLD    libcmrt.la
make[3]: Leaving directory '/root/cmrt/src'
make[2]: Leaving directory '/root/cmrt/src'
make[1]: Leaving directory '/root/cmrt/src'
Making all in pkgconfig
make[1]: Entering directory '/root/cmrt/pkgconfig'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/root/cmrt/pkgconfig'
make[1]: Entering directory '/root/cmrt'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/root/cmrt'
Making install in src
make[1]: Entering directory '/root/cmrt/src'
make[2]: Entering directory '/root/cmrt/src'
make[3]: Entering directory '/root/cmrt/src'
make[3]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/etc'
 /usr/bin/install -c -m 644 cmrt.conf '/usr/local/etc'
 /bin/mkdir -p '/usr/local/include'
 /usr/bin/install -c -m 644 cm_rt.h cm_rt_linux.h '/usr/local/include'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libcmrt.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libcmrt.so.1.1001.0 /usr/local/lib/libcmrt.so.1.1001.0
libtool: install: (cd /usr/local/lib && { ln -s -f libcmrt.so.1.1001.0 libcmrt.so.1 || { rm -f libcmrt.so.1 && ln -s libcmrt.so.1.1001.0 libcmrt.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libcmrt.so.1.1001.0 libcmrt.so || { rm -f libcmrt.so && ln -s libcmrt.so.1.1001.0 libcmrt.so; }; })
libtool: install: /usr/bin/install -c .libs/libcmrt.lai /usr/local/lib/libcmrt.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Leaving directory '/root/cmrt/src'
make[2]: Leaving directory '/root/cmrt/src'
make[1]: Leaving directory '/root/cmrt/src'
Making install in pkgconfig
make[1]: Entering directory '/root/cmrt/pkgconfig'
make[2]: Entering directory '/root/cmrt/pkgconfig'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libcmrt.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/root/cmrt/pkgconfig'
make[1]: Leaving directory '/root/cmrt/pkgconfig'
make[1]: Entering directory '/root/cmrt'
make[2]: Entering directory '/root/cmrt'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/root/cmrt'
make[1]: Leaving directory '/root/cmrt'


root@djjproject:~# git clone https://github.com/01org/intel-vaapi-driver

Cloning into 'intel-vaapi-driver'...

remote: Enumerating objects: 15532, done.

remote: Total 15532 (delta 0), reused 0 (delta 0), pack-reused 15532

Receiving objects: 100% (15532/15532), 7.94 MiB | 212.00 KiB/s, done.

Resolving deltas: 100% (12307/12307), done.

root@djjproject:~# cd intel-vaapi-driver/

root@djjproject:~/intel-vaapi-driver# ./autogen.sh 

autoreconf: Entering directory `.'

autoreconf: configure.ac: not using Gettext

autoreconf: running: aclocal 

autoreconf: configure.ac: tracing

autoreconf: running: libtoolize --copy

libtoolize: putting auxiliary files in '.'.

libtoolize: copying file './ltmain.sh'

libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,

libtoolize: and rerunning libtoolize and aclocal.

libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

autoreconf: running: /usr/bin/autoconf

autoreconf: running: /usr/bin/autoheader

autoreconf: running: automake --add-missing --copy --no-force

configure.ac:71: installing './compile'

configure.ac:71: installing './config.guess'

configure.ac:71: installing './config.sub'

configure.ac:29: installing './install-sh'

configure.ac:29: installing './missing'

src/Makefile.am: installing './depcomp'

autoreconf: Leaving directory `.'

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 whether make supports nested variables... yes

checking whether UID '0' is supported by ustar format... yes

checking whether GID '0' is supported by ustar format... yes

checking how to create a ustar tar archive... gnutar

checking whether make supports nested variables... (cached) yes

checking build system type... x86_64-pc-linux-gnu

checking host system type... x86_64-pc-linux-gnu

checking how to print strings... printf

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 whether gcc understands -c and -o together... yes

checking dependency style of gcc... gcc3

checking for a sed that does not truncate output... /bin/sed

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for fgrep... /bin/grep -F

checking for ld used by gcc... /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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop

checking how to convert x86_64-pc-linux-gnu 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... 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 object... ok

checking for sysroot... no

checking for a working dd... /bin/dd

checking how to truncate binary pipes... /bin/dd bs=4096 count=1

checking for mt... mt

checking if mt is a manifest tool... no

checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 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 for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking whether gcc understands -c and -o together... (cached) yes

checking dependency style of gcc... (cached) gcc3

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... g++ -E

checking for ld used by g++... /usr/bin/ld -m elf_x86_64

checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes

checking dynamic linker characteristics... (cached) GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether byte ordering is bigendian... no

checking for ANSI C header files... (cached) yes

checking for special C compiler options needed for large files... no

checking for _FILE_OFFSET_BITS value needed for large files... no

checking for sin in -lm... yes

checking for log2f... yes

checking for python2... no

checking for python... no

checking for library containing dlopen... -ldl

checking whether gcc accepts -fstack-protector... yes

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for DRM... yes

checking for GEN4ASM... no

checking for intel-gen4asm... no

checking for git... /usr/bin/git

checking for LIBVA_DEPS... no

configure: error: Package requirements (libva >= 1.1.0) were not met:


Requested 'libva >= 1.1.0' but version of libva is 0.39.4


Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.


Alternatively, you may set the environment variables LIBVA_DEPS_CFLAGS

and LIBVA_DEPS_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.


root@djjproject:~# git clone https://github.com/01org/libva

Cloning into 'libva'...

remote: Enumerating objects: 11346, done.

remote: Total 11346 (delta 0), reused 0 (delta 0), pack-reused 11346

Receiving objects: 100% (11346/11346), 4.54 MiB | 2.63 MiB/s, done.

Resolving deltas: 100% (8321/8321), done.

root@djjproject:~# cd libva/

root@djjproject:~/libva# ./autogen.sh 

autoreconf: Entering directory `.'

autoreconf: configure.ac: not using Gettext

autoreconf: running: aclocal -I m4 ${ACLOCAL_FLAGS}

autoreconf: configure.ac: tracing

autoreconf: running: libtoolize --copy

libtoolize: putting auxiliary files in '.'.

libtoolize: copying file './ltmain.sh'

libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.

libtoolize: copying file 'm4/libtool.m4'

libtoolize: copying file 'm4/ltoptions.m4'

libtoolize: copying file 'm4/ltsugar.m4'

libtoolize: copying file 'm4/ltversion.m4'

libtoolize: copying file 'm4/lt~obsolete.m4'

autoreconf: running: /usr/bin/autoconf

autoreconf: running: /usr/bin/autoheader

autoreconf: running: automake --add-missing --copy --no-force

configure.ac:166: installing './compile'

configure.ac:166: installing './config.guess'

configure.ac:166: installing './config.sub'

configure.ac:93: installing './install-sh'

configure.ac:93: installing './missing'

va/Makefile.am: installing './depcomp'

va/wayland/Makefile.am:30: warning: source file '../drm/va_drm_utils.c' is in a subdirectory,

va/wayland/Makefile.am:30: but option 'subdir-objects' is disabled

automake: warning: possible forward-incompatibility.

automake: At least a source file is in a subdirectory, but the 'subdir-objects'

automake: automake option hasn't been enabled.  For now, the corresponding output

automake: object file(s) will be placed in the top-level directory.  However,

automake: this behaviour will change in future Automake versions: they will

automake: unconditionally cause object files to be placed in the same subdirectory

automake: of the corresponding sources.

automake: You are advised to start using 'subdir-objects' option throughout your

automake: project, to avoid future incompatibilities.

autoreconf: Leaving directory `.'

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 whether make supports nested variables... yes

checking whether make supports nested variables... (cached) yes

checking build system type... x86_64-pc-linux-gnu

checking host system type... x86_64-pc-linux-gnu

checking how to print strings... printf

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 whether gcc understands -c and -o together... yes

checking dependency style of gcc... gcc3

checking for a sed that does not truncate output... /bin/sed

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for fgrep... /bin/grep -F

checking for ld used by gcc... /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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop

checking how to convert x86_64-pc-linux-gnu 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... 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 object... ok

checking for sysroot... no

checking for a working dd... /bin/dd

checking how to truncate binary pipes... /bin/dd bs=4096 count=1

checking for mt... mt

checking if mt is a manifest tool... no

checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 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 for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking whether gcc understands -c and -o together... (cached) yes

checking dependency style of gcc... (cached) gcc3

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... g++ -E

checking for ld used by g++... /usr/bin/ld -m elf_x86_64

checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes

checking dynamic linker characteristics... (cached) GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking for a sed that does not truncate output... (cached) /bin/sed

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for ANSI C header files... (cached) yes

checking for special C compiler options needed for large files... no

checking for _FILE_OFFSET_BITS value needed for large files... no

checking whether __attribute__((visibility())) is supported... yes

checking whether gcc accepts -fstack-protector... yes

checking for DRM... yes

checking for X11... no

checking for GLX... no

checking GL/gl.h usability... no

checking GL/gl.h presence... no

checking for GL/gl.h... no

checking GL/glx.h usability... no

checking GL/glx.h presence... no

checking for GL/glx.h... no

checking for glXCreateContext in -lGL... no

checking for WAYLAND... yes

checking for wayland-scanner... /usr/bin/wayland-scanner

checking that generated files are newer than configure... done

configure: creating ./config.status

config.status: creating Makefile

config.status: creating doc/Makefile

config.status: creating pkgconfig/Makefile

config.status: creating pkgconfig/libva-drm.pc

config.status: creating pkgconfig/libva-glx.pc

config.status: creating pkgconfig/libva-wayland.pc

config.status: creating pkgconfig/libva-x11.pc

config.status: creating pkgconfig/libva.pc

config.status: creating va/Makefile

config.status: creating va/drm/Makefile

config.status: creating va/glx/Makefile

config.status: creating va/va_version.h

config.status: creating va/wayland/Makefile

config.status: creating va/x11/Makefile

config.status: creating config.h

config.status: executing depfiles commands

config.status: executing libtool commands


libva - 2.4.0.pre1 (VA-API 1.4.0)


Installation prefix .............. : /usr/local

Default driver path .............. : ${exec_prefix}/lib/dri

Extra window systems ............. : drm wayland

Build documentation .............. : no

Build with messaging ............. : yes


Now type 'make' to compile libva.

root@djjproject:~/libva# make -j 4 && make install 


root@djjproject:~/libva# make -j 4 && make install 

make  all-recursive

make[1]: Entering directory '/root/libva'

Making all in va

make[2]: Entering directory '/root/libva/va'

Making all in drm

make[3]: Entering directory '/root/libva/va/drm'

  CC       va_drm.lo

  CC       va_drm_utils.lo

  CC       va_drm_auth.lo

  CCLD     libva_drm.la

ar: `u' modifier ignored since `D' is the default (see `U')

make[3]: Leaving directory '/root/libva/va/drm'

Making all in wayland

make[3]: Entering directory '/root/libva/va/wayland'

  GEN      wayland-drm-client-protocol.h

  GEN      wayland-drm-client-protocol-export.c

Using "code" is deprecated - use private-code or public-code.

See the help page for details.

  GEN      wayland-drm-client-protocol.c

make  all-am

make[4]: Entering directory '/root/libva/va/wayland'

  CC       va_wayland.lo

  CC       va_wayland_drm.lo

  CC       va_wayland_emgd.lo

  CC       va_drm_utils.lo

  CC       wayland-drm-client-protocol.lo

  CCLD     libva_wayland.la

ar: `u' modifier ignored since `D' is the default (see `U')

make[4]: Leaving directory '/root/libva/va/wayland'

make[3]: Leaving directory '/root/libva/va/wayland'

make[3]: Entering directory '/root/libva/va'

  CC       libva_la-va.lo

  CC       libva_la-va_compat.lo

  CC       libva_la-va_fool.lo

  CC       libva_la-va_str.lo

  CC       libva_la-va_trace.lo


root@djjproject:~/libva# cd ..
root@djjproject:~# cd intel-vaapi-driver/
root@djjproject:~/intel-vaapi-driver# ./autogen
-bash: ./autogen: No such file or directory
root@djjproject:~/intel-vaapi-driver# ./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
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 whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu 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... 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 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 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 for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
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... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for sin in -lm... yes
checking for log2f... yes
checking for python2... no
checking for python... no
checking for library containing dlopen... -ldl
checking whether gcc accepts -fstack-protector... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DRM... yes
checking for GEN4ASM... no
checking for intel-gen4asm... no
checking for git... /usr/bin/git
checking for LIBVA_DEPS... yes
checking for LIBVA_X11_DEPS... no
checking for VA drivers path... /usr/local/lib/dri
checking for LIBVA_WAYLAND_DEPS... yes
checking for WAYLAND_CLIENT... yes
checking for wayland-scanner... /usr/bin/wayland-scanner
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/shaders/Makefile
config.status: creating src/shaders/brc/Makefile
config.status: creating src/shaders/brc/bsw/Makefile
config.status: creating src/shaders/brc/skl/Makefile
config.status: creating src/shaders/brc/cnl/Makefile
config.status: creating src/shaders/h264/Makefile
config.status: creating src/shaders/h264/ildb/Makefile
config.status: creating src/shaders/h264/mc/Makefile
config.status: creating src/shaders/mpeg2/Makefile
config.status: creating src/shaders/mpeg2/vld/Makefile
config.status: creating src/shaders/post_processing/Makefile
config.status: creating src/shaders/post_processing/gen5_6/Makefile
config.status: creating src/shaders/post_processing/gen7/Makefile
config.status: creating src/shaders/post_processing/gen75/Makefile
config.status: creating src/shaders/post_processing/gen8/Makefile
config.status: creating src/shaders/post_processing/gen9/Makefile
config.status: creating src/shaders/render/Makefile
config.status: creating src/shaders/utils/Makefile
config.status: creating src/shaders/vme/Makefile
config.status: creating test/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

intel-vaapi-driver configuration summary:

VA-API version ................... : 1.4.0
VA-API drivers path .............. : /usr/local/lib/dri
Windowing systems ................ : drm wayland
Build tests ...................... : no

root@djjproject:~/intel-vaapi-driver# 

root@djjproject:~/libva# make -j 4 && make install 
make  all-recursive
make[1]: Entering directory '/root/libva'
Making all in va
make[2]: Entering directory '/root/libva/va'
Making all in drm
make[3]: Entering directory '/root/libva/va/drm'
  CC       va_drm.lo
  CC       va_drm_utils.lo
  CC       va_drm_auth.lo
  CCLD     libva_drm.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/root/libva/va/drm'
Making all in wayland
make[3]: Entering directory '/root/libva/va/wayland'
  GEN      wayland-drm-client-protocol.h
  GEN      wayland-drm-client-protocol-export.c
Using "code" is deprecated - use private-code or public

----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/dri

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[4]: Leaving directory '/root/intel-vaapi-driver/src'
make[3]: Leaving directory '/root/intel-vaapi-driver/src'
make[2]: Leaving directory '/root/intel-vaapi-driver/src'
make[1]: Leaving directory '/root/intel-vaapi-driver/src'
make[1]: Entering directory '/root/intel-vaapi-driver'
make[2]: Entering directory '/root/intel-vaapi-driver'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/root/intel-vaapi-driver'
make[1]: Leaving directory '/root/intel-vaapi-driver'
root@djjproject:~/intel-vaapi-driver# 



root@djjproject:~/intel-vaapi-driver# cd /usr/local/lib/dri/

root@djjproject:/usr/local/lib/dri# ls

i965_drv_video.la  i965_drv_video.so

root@djjproject:/usr/local/lib/dri# cp * /usr/lib/x86_64-linux-gnu/dri/

i915_dri.so            nouveau_vieux_dri.so   radeonsi_dri.so

i965_dri.so            r200_dri.so            radeonsi_drv_video.so

i965_drv_video.so      r300_dri.so            swrast_dri.so

kms_swrast_dri.so      r600_dri.so            virtio_gpu_dri.so

nouveau_dri.so         r600_drv_video.so      vmwgfx_dri.so

nouveau_drv_video.so   radeon_dri.so          

root@djjproject:/usr/local/lib/dri# cp * /usr/lib/x86_64-linux-gnu/dri/

root@djjproject:/usr/local/lib/dri#


root@djjproject:~/intel-vaapi-driver# apt-get install -t stretch-backports vainfo

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following NEW packages will be installed:

  vainfo

0 upgraded, 1 newly installed, 0 to remove and 35 not upgraded.

Need to get 17.4 kB of archives.

After this operation, 46.1 kB of additional disk space will be used.

Get:1 http://debian-archive.trafficmanager.net/debian stretch/main amd64 vainfo amd64 1.7.3-2 [17.4 kB]

Fetched 17.4 kB in 0s (166 kB/s)  

Selecting previously unselected package vainfo.

(Reading database ... 53239 files and directories currently installed.)

Preparing to unpack .../vainfo_1.7.3-2_amd64.deb ...

Unpacking vainfo (1.7.3-2) ...

Setting up vainfo (1.7.3-2) ...


root@djjproject:~# vainfo

vainfo: symbol lookup error: /usr/lib/x86_64-linux-gnu/libva-x11.so.1: undefined symbol: fool_postp

root@djjproject:~#


2. PlexMediaServer 설치하기


root@djjproject:~# wget https://downloads.plex.tv/plex-media-server/1.14.0.5468-5a0183d2c/plexmediaserver_1.14.0.5468-5a0183d2c_amd64.deb

--2018-11-26 23:05:05--  https://downloads.plex.tv/plex-media-server/1.14.0.5468-5a0183d2c/plexmediaserver_1.14.0.5468-5a0183d2c_amd64.deb

Resolving downloads.plex.tv (downloads.plex.tv)... 104.18.156.41, 104.18.157.41, 2606:4700::6812:9c29, ...

Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.156.41|:443... connected.

HTTP request sent, awaiting response... 200 OK

Length: 103338162 (99M) [application/octet-stream]

Saving to: ‘plexmediaserver_1.14.0.5468-5a0183d2c_amd64.deb’


plexmediaserver_1.14.0. 100%[===============================>]  98.55M  10.8MB/s    in 9.1s


2018-11-26 23:05:14 (10.8 MB/s) - ‘plexmediaserver_1.14.0.5468-5a0183d2c_amd64.deb’ saved [103338162/103338162]


root@djjproject:~# apt install ./plexmediaserver_1.14.0.5468-5a0183d2c_amd64.deb

Reading package lists... Done

Building dependency tree

Reading state information... Done

Note, selecting 'plexmediaserver' instead of './plexmediaserver_1.14.0.5468-5a0183d2c_amd64.deb'

The following NEW packages will be installed:

  plexmediaserver

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 0 B/103 MB of archives.

After this operation, 227 MB of additional disk space will be used.

Get:1 /root/plexmediaserver_1.14.0.5468-5a0183d2c_amd64.deb plexmediaserver amd64 1.14.0.5468-5a0183d2c [103 MB]

Selecting previously unselected package plexmediaserver.

(Reading database ... 53245 files and directories currently installed.)

Preparing to unpack .../plexmediaserver_1.14.0.5468-5a0183d2c_amd64.deb ...

Unpacking plexmediaserver (1.14.0.5468-5a0183d2c) ...

Processing triggers for mime-support (3.60) ...

Processing triggers for systemd (232-25+deb9u6) ...

Setting up plexmediaserver (1.14.0.5468-5a0183d2c) ...

Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.

N: Download is performed unsandboxed as root as file '/root/plexmediaserver_1.14.0.5468-5a0183d2c_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

root@djjproject:~#















반응형

댓글