Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Amdgpu-pro
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2158
Location: Barcelona

PostPosted: Wed Oct 04, 2017 6:02 pm    Post subject: Amdgpu-pro Reply with quote

I trying this guide to install amdgpu-pro: https://www2.warwick.ac.uk/fac/cross_fac/complexity/people/staff/delgenio/amdgpuprogentoo

At the last step, when I try to install the dkms modul, i get this error:

Code:

Core2Duo src # dkms install amdgpu-pro-17.30-465504 -k 4.9.52-gentoo --force

Forcing install of amdgpu-pro-17.30-465504

Creating symlink /var/lib/dkms/amdgpu-pro/17.30-465504/source ->
                 /usr/src/amdgpu-pro-17.30-465504

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Running the pre_build script:

Building module:
cleaning build area....
make KERNELRELEASE=4.9.52-gentoo -j2 -C /lib/modules/4.9.52-gentoo/build M=/var/lib/dkms/amdgpu-pro/17.30-465504/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.9.52-gentoo (x86_64)
Consult /var/lib/dkms/amdgpu-pro/17.30-465504/build/make.log for more information.
Core2Duo src #


The error file contains:

Code:
Core2Duo src # cat /var/lib/dkms/amdgpu-pro/17.30-465504/build/make.log
DKMS make.log for amdgpu-pro-17.30-465504 for kernel 4.9.52-gentoo (x86_64)
mié oct  4 19:54:41 CEST 2017
make: se entra en el directorio '/usr/src/linux-4.9.52-gentoo'
  LD      /var/lib/dkms/amdgpu-pro/17.30-465504/build/built-in.o
  LD      /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/built-in.o
  LD      /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/built-in.o
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/kcl_drm.o
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/amdgpu_drv.o
In file included from /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/../display/modules/inc/mod_freesync.h:57:0,
                 from /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/../amdgpu/amdgpu_mode.h:47,
                 from /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/../amdgpu/amdgpu.h:49,
                 from /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
                 from /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/../include/../backport/backport.h:6,
                 from <línea-de-orden>:0:
/var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/../display/dc/dm_services.h: En la función ‘dm_read_reg_func’:
/var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/../display/dc/dm_services.h:78:2: error: declaración implícita de la función ‘BREAK_TO_DEBUGGER’ [-Werror=implicit-function-declaration]
  BREAK_TO_DEBUGGER(); \
  ^
/var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/../display/dc/dm_services.h:109:3: nota: in expansion of macro ‘DC_ERR’
   DC_ERR("invalid register read; address = 0\n");
   ^
/var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/../display/dc/dm_services.h: En la función ‘set_reg_field_value_ex’:
/var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/../display/dc/dm_services.h:171:2: error: declaración implícita de la función ‘ASSERT’ [-Werror=implicit-function-declaration]
  ASSERT(mask != 0);
  ^
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/main.o
cc1: algunos avisos se tratan como errores
make[2]: *** [scripts/Makefile.build:293: /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/amdgpu_drv.o] Error 1
make[1]: *** [scripts/Makefile.build:544: /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu] Error 2
make[1]: *** Se espera a que terminen otras tareas....
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/symbols.o
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/kcl_fence.o
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/kcl_fence_array.o
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/kcl_kthread.o
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/kcl_io.o
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/kcl_mn.o
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/kcl_reservation.o
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/kcl_drm_global.o
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/kcl_bitmap.o
  CC [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/kcl_pci.o
  LD [M]  /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdkcl/amdkcl.o
make: *** [Makefile:1493: _module_/var/lib/dkms/amdgpu-pro/17.30-465504/build] Error 2
make: se sale del directorio '/usr/src/linux-4.9.52-gentoo'
Core2Duo src #




Where is the problem?
_________________
pcmaster
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22160
Location: here

PostPosted: Thu Oct 05, 2017 6:06 am    Post subject: Reply with quote

Try to look here
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum