有已经编译好的驱动 可以直接下载https://download.sourcefind.cn:65024/6/main
configure: creating ./config.status
config.status: creating config/config.h
make: 进入目录“/usr/src/kernels/5.14.0-578.el9.x86_64”
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/drm_gem_ttm_helper.o
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/drm_buddy.o
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/scheduler/sched_main.o
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/extra/extra.o
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/ttm/ttm_tt.o
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/amd/amdkcl/main.o
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/ttm/ttm_bo.o
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/amd/amdgpu/amdgpu_drv.o
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/amd/amdkcl/symbols.o
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/amd/amdkcl/kcl_common.o
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/extra/hydcu_fence_mgr.o
In file included from /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/amd/backport/include/kcl/kcl_amdgpu_drm_gem_framebuffer_helper.h:6,
from /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/amd/backport/backport.h:80,
from <命令行>:
/tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/amd/amdgpu/amdgpu.h:1372: 警告:“MIN”重定义
1372 | #define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
|
In file included from ./include/linux/kernel.h:18,
from /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/amd/backport/backport.h:6,
from <命令行>:
./include/linux/minmax.h:342: 附注:这是先前定义的位置
342 | #define MIN(a,b) __cmp(min,a,b)
|
/tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/amd/amdgpu/amdgpu_drv.c:2712:10: 错误:‘struct drm_driver’ has no member named ‘lastclose’; did you mean ‘postclose’?
2712 | .lastclose = amdgpu_driver_lastclose_kms,
| ^~~~~~~~~
| postclose
CC [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/extra/hydcu_fence_mgr_cmd_buffer.o
make[2]: *** [scripts/Makefile.build:249:/tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/amd/amdgpu/amdgpu_drv.o] 错误 1
make[1]: *** [scripts/Makefile.build:478:/tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/amd/amdgpu] 错误 2
make[1]: *** 正在等待未完成的任务....
LD [M] /tmp/tmp.hzpijlXHdm/rock-kernel-refactory-hygon-master-5.7.1-V1.6.3/build/amdgpu-5.7.0-0/hydrm_buddy.o
ubuntu和centos都是编译报错

暂无数据