Page 1 of 1

Failed to install fglrx

Posted: 6. Mar 2014, 08:09
by maspai
Hi all

I just installed Salix Xfce 14.1. But failed to install fglrx propietary driver following http://docs.salixos.org/wiki/How_to_Install_ATI_Driver.
Content of fglrx-install.log is:

Code: Select all

AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.10.17-smp/build SUBDIRS=/media/FILES/Software/fglrx-install.ZOxVAH/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-3.10.17'
  CC [M]  /media/FILES/Software/fglrx-install.ZOxVAH/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
  CC [M]  /media/FILES/Software/fglrx-install.ZOxVAH/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
/media/FILES/Software/fglrx-install.ZOxVAH/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ‘KCL_ACPI_ParseTable’:
/media/FILES/Software/fglrx-install.ZOxVAH/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:999:5: warning: passing argument 1 of ‘(acpi_status (*)(u32,  void *, void *))handler’ makes integer from pointer without a cast [enabled by default]
     ((acpi_table_handler)handler)(hdr);
     ^
/media/FILES/Software/fglrx-install.ZOxVAH/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:999:5: note: expected ‘u32’ but argument is of type ‘struct acpi_table_header *’
/media/FILES/Software/fglrx-install.ZOxVAH/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:999:5: error: too few arguments to function ‘(acpi_status (*)(u32,  void *, void *))handler’
make[2]: *** [/media/FILES/Software/fglrx-install.ZOxVAH/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o] Error 1
make[1]: *** [_module_/media/FILES/Software/fglrx-install.ZOxVAH/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-3.10.17'
make: *** [kmod_build] Error 2
build failed with return value 2
ERROR: I didn't make module
[Error] Generate Package - error generating package : Slackware/Slackware
I also tried to install dkms first then repeat the installation, but same failure.

Thanks for solution.

Re: Failed to install fglrx

Posted: 6. Mar 2014, 08:12
by gapan
Did you install the kernel source package?

Re: Failed to install fglrx

Posted: 6. Mar 2014, 09:35
by maspai
gapan wrote:Did you install the kernel source package?
Yes. I followed steps on the page. I installed VirtualBox with the same way successfully after having kernel-source installed.

Re: Failed to install fglrx

Posted: 6. Mar 2014, 18:17
by witek
I got into this error, too. I read there is a patch needed but I have not tried it yet:
http://lqcdn.thequestionsnetwork.net/qu ... 175496391/

Re: Failed to install fglrx

Posted: 7. Mar 2014, 02:23
by maspai
witek wrote:I got into this error, too. I read there is a patch needed but I have not tried it yet:
http://lqcdn.thequestionsnetwork.net/qu ... 175496391/
Since I'm not familiar with kernel patch, I think I'll stick with built-in radeon driver until I have easier solution or (hopefully) ready-to-install fglrx package from Salix. Thanks. :)