您尚未登录。

#1 2018-07-16 07:52:20

www_aht
会员
注册时间: 2017-04-08
帖子: 14

intel-media-driver不能更新

正在构建 intel-media-driver...
正克隆到 'intel-media-driver'...
remote: Enumerating objects: 26, done.       
remote: Counting objects: 100% (26/26), done.       
remote: Compressing objects: 100% (22/22), done.       
remote: Total 26 (delta 4), reused 26 (delta 4)       
展开对象中: 100% (26/26), 完成.
==> 正在创建软件包:intel-media-driver 2018.2.0-1 (2018年07月16日 星期一 07时51分24秒)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码...
  -> 正在下载 intel-media-driver-2018.2.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   138    0   138    0     0    156      0 --:--:-- --:--:-- --:--:--   156
100 10.6M    0 10.6M    0     0  2371k      0 --:--:--  0:00:04 --:--:-- 4412k
  -> 正在克隆 gmmlib-git git 仓库...
克隆到纯仓库 '/tmp/pamac-build-jianghaoyong/intel-media-driver/gmmlib-git'...
remote: Counting objects: 1259, done.       
remote: Total 1259 (delta 0), reused 0 (delta 0), pack-reused 1259       
接收对象中: 100% (1259/1259), 1.03 MiB | 893.00 KiB/s, 完成.
处理 delta 中: 100% (757/757), 完成.
==> 正在验证 source 文件,使用sha256sums...
    intel-media-driver-2018.2.0.tar.gz ... 通过
    gmmlib-git ... 已跳过
==> 正在释放源码...
  -> 正在解压缩 intel-media-driver-2018.2.0.tar.gz,使用 bsdtar
  -> 正在建立 gmmlib-git git 仓库的拷贝...
正克隆到 'gmmlib-git'...
完成。
切换到一个新分支 'makepkg'
==> 正在开始 build()...
-- The C compiler identification is GNU 8.1.1
-- The CXX compiler identification is GNU 8.1.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.1")
-- Checking for module 'libva>=1.0.0'
--   Found libva, version 1.1.0
*BUILD_TYPE not defined, default to: release
-- media -- PLATFORM = linux
-- media -- ARCH = 64
-- media -- CMAKE_CURRENT_LIST_DIR = /tmp/pamac-build-jianghaoyong/intel-media-driver/src/media-driver-intel-media-18.2.0/media_driver
-- media -- INCLUDED_LIBS =
-- media -- LIB_NAME = iHD_drv_video
-- media -- OUTPUT_NAME =
-- media -- BUILD_TYPE/UFO_BUILD_TYPE/CMAKE_BUILD_TYPE = release/release/Release
-- media -- LIBVA_INSTALL_PATH =
-- media -- MEDIA_VERSION = 2.0.0
-- /tmp/pamac-build-jianghaoyong/intel-media-driver/src/media-driver-intel-media-18.2.0/media_driver/../media_driver_next/media_srcs.cmake doesn't exist, macro(media_include_subdirectory) just does nothing
platform: Linux
source_dir: /tmp/pamac-build-jianghaoyong/intel-media-driver/src/build/../gmmlib-git/Source/GmmLib/
arch: 64
build type: Release
SourceConfiguration:
CommonDir: /tmp/pamac-build-jianghaoyong/intel-media-driver/src/build/../gmmlib-git/Source/Common/
IncDir: /tmp/pamac-build-jianghaoyong/intel-media-driver/src/build/../gmmlib-git/Source/inc/
MOCS table: static
-- LIBVA_DRIVERS_PATH = /usr/lib/dri
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pamac-build-jianghaoyong/intel-media-driver/src/build
Scanning dependencies of target igfxcmrt
[  0%] Building CXX object cmrtlib/linux/CMakeFiles/igfxcmrt.dir/__/agnostic/share/cm_printf_host.cpp.o
In file included from /tmp/pamac-build-jianghaoyong/intel-media-driver/src/media-driver-intel-media-18.2.0/cmrtlib/agnostic/share/cm_debug.h:26,
                 from /tmp/pamac-build-jianghaoyong/intel-media-driver/src/media-driver-intel-media-18.2.0/cmrtlib/agnostic/share/cm_printf_host.cpp:36:
/tmp/pamac-build-jianghaoyong/intel-media-driver/src/media-driver-intel-media-18.2.0/cmrtlib/linux/../linux/share/cm_def_os.h:120:38: 错误:‘VA_FOURCC_Y216’在此作用域中尚未声明
     VA_CM_FMT_Y216                 = VA_FOURCC_Y216,
                                      ^~~~~~~~~~~~~~
/tmp/pamac-build-jianghaoyong/intel-media-driver/src/media-driver-intel-media-18.2.0/cmrtlib/linux/../linux/share/cm_def_os.h:120:38: 附注:suggested alternative: ‘VA_FOURCC_YV16’
     VA_CM_FMT_Y216                 = VA_FOURCC_Y216,
                                      ^~~~~~~~~~~~~~
                                      VA_FOURCC_YV16
/tmp/pamac-build-jianghaoyong/intel-media-driver/src/media-driver-intel-media-18.2.0/cmrtlib/linux/../linux/share/cm_def_os.h:121:38: 错误:‘VA_FOURCC_Y416’在此作用域中尚未声明
     VA_CM_FMT_Y416                 = VA_FOURCC_Y416,
                                      ^~~~~~~~~~~~~~
/tmp/pamac-build-jianghaoyong/intel-media-driver/src/media-driver-intel-media-18.2.0/cmrtlib/linux/../linux/share/cm_def_os.h:121:38: 附注:suggested alternative: ‘VA_FOURCC_YV16’
     VA_CM_FMT_Y416                 = VA_FOURCC_Y416,
                                      ^~~~~~~~~~~~~~
                                      VA_FOURCC_YV16
make[2]: *** [cmrtlib/linux/CMakeFiles/igfxcmrt.dir/build.make:63:cmrtlib/linux/CMakeFiles/igfxcmrt.dir/__/agnostic/share/cm_printf_host.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:104:cmrtlib/linux/CMakeFiles/igfxcmrt.dir/all] 错误 2
make: *** [Makefile:152:all] 错误 2
==> 错误: 在 build() 中发生一个错误。
    正在放弃...

离线

#2 2018-07-16 11:58:34

apersonlikesc
兔子春
所在地: 喧闹之地
注册时间: 2018-01-21
帖子: 56
个人网站

Re: intel-media-driver不能更新

没有装依赖吧   Scanning dependencies of target igfxcmrt


越过山丘,遇见十九岁的我

离线

#3 2018-07-21 11:13:29

xtricman
喵了个咪
注册时间: 2012-12-26
帖子: 460

Re: intel-media-driver不能更新

上游源码就是有问题的,有编译期找不到的符号,打开源码cm_def_os.h,应该找不到VA_FOURCC_Y216 VA_FOURCC_Y416符号,看他是不是少包含一个头文件,自己改一下源码

离线

#4 2018-07-22 09:21:58

www_aht
会员
注册时间: 2017-04-08
帖子: 14

Re: intel-media-driver不能更新

xtricman 说:

上游源码就是有问题的,有编译期找不到的符号,打开源码cm_def_os.h,应该找不到VA_FOURCC_Y216 VA_FOURCC_Y416符号,看他是不是少包含一个头文件,自己改一下源码

已解决。多谢。

离线

页脚