Failed to install fglrx

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
maspai
Posts: 62
Joined: 4. Jul 2012, 11:13
Location: Indonesia
Contact:

Failed to install fglrx

Post 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.
sorry for my noob-ness guys, i'm new in linux and salix.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Failed to install fglrx

Post by gapan »

Did you install the kernel source package?
Image
Image
User avatar
maspai
Posts: 62
Joined: 4. Jul 2012, 11:13
Location: Indonesia
Contact:

Re: Failed to install fglrx

Post 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.
sorry for my noob-ness guys, i'm new in linux and salix.
User avatar
witek
Posts: 233
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

Re: Failed to install fglrx

Post 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/
User avatar
maspai
Posts: 62
Joined: 4. Jul 2012, 11:13
Location: Indonesia
Contact:

Re: Failed to install fglrx

Post 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. :)
sorry for my noob-ness guys, i'm new in linux and salix.
Post Reply