Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build! (for 17.40) #3

Closed
darrmining opened this issue Oct 29, 2017 · 2 comments
Closed

Can not build! (for 17.40) #3

darrmining opened this issue Oct 29, 2017 · 2 comments

Comments

@darrmining
Copy link

hi, I attempted to run your amdgpu-mod and got this output:

BUILDING new amdgpu.ko file
Patch file /usr/src/amdgpu-17.40-483984/amd/powerplay/smumgr/polaris10_smc.c
patching file /usr/src/amdgpu-17.40-483984/amd/powerplay/smumgr/polaris10_smc.c
Hunk #3 succeeded at 780 (offset 4 lines).
File patched: /usr/src/amdgpu-17.40-483984/amd/powerplay/smumgr/polaris10_smc.c
Patch file /usr/src/amdgpu-17.40-483984/amd/powerplay/hwmgr/smu7_hwmgr.c
patching file /usr/src/amdgpu-17.40-483984/amd/powerplay/hwmgr/smu7_hwmgr.c
Hunk #1 succeeded at 4403 (offset 24 lines).
File patched: /usr/src/amdgpu-17.40-483984/amd/powerplay/hwmgr/smu7_hwmgr.c
make: Entering directory '/usr/src/linux-headers-4.11.0-kfd-compute-rocm-rel-1.6-180'
LD /usr/src/amdgpu-17.40-483984/built-in.o
LD /usr/src/amdgpu-17.40-483984/amd/amdgpu/built-in.o
CC [M] /usr/src/amdgpu-17.40-483984/amd/amdgpu/amdgpu_drv.o
In file included from /usr/src/amdgpu-17.40-483984/amd/amdgpu/../include/../backport/backport.h:14:0,
from :0:
/usr/src/amdgpu-17.40-483984/include/kcl/kcl_reservation.h: In function ‘kcl_reservation_object_copy_fences’:
/usr/src/amdgpu-17.40-483984/include/kcl/kcl_reservation.h:95:9: error: implicit declaration of function ‘reservation_object_copy_fences’ [-Werror=implicit-function-declaration]
return reservation_object_copy_fences(dst, src);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/usr/src/amdgpu-17.40-483984/amd/amdgpu/amdgpu_drv.o' failed
make[2]: *** [/usr/src/amdgpu-17.40-483984/amd/amdgpu/amdgpu_drv.o] Error 1
scripts/Makefile.build:553: recipe for target '/usr/src/amdgpu-17.40-483984/amd/amdgpu' failed
make[1]: *** [/usr/src/amdgpu-17.40-483984/amd/amdgpu] Error 2
Makefile:1492: recipe for target 'module/usr/src/amdgpu-17.40-483984' failed
make: *** [module/usr/src/amdgpu-17.40-483984] Error 2
make: Leaving directory '/usr/src/linux-headers-4.11.0-kfd-compute-rocm-rel-1.6-180'
/home/james/Downloads/dwarfing-master

@rumatoest
Copy link
Collaborator

Hello.

It should work only for Ubuntu LTS with non HWE kernel.

Could you try to build project from /usr/src/amdgpu-17.40-483984/ without my script?

@rumatoest
Copy link
Collaborator

rumatoest commented Oct 30, 2017

BTW I've never tested it with amdgpu 17.40 only 17.30-465504

@rumatoest rumatoest changed the title Can not build! Can not build! (for 17.40) Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants