Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-14-2013, 07:00 PM
|
#1
|
LQ Newbie
Registered: Jun 2013
Location: Michigan, USA
Distribution: Slackware64 14.1
Posts: 23
Rep: 
|
Problem installing fglrx drivers on Slackware 14.1
The fglrx drivers worked fine back in Slackware 14.0, but now in 14.1 it fails because it says I need kernel headers. I've never had this problem before and I don't know where to get the headers? Are they on my disc or something? Thanks in advance for the help!
Here's the fglrx-install.log if it helps:
Quote:
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers. /lib/modules/3.10.17/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.
|
Last edited by Brosch91; 11-14-2013 at 07:04 PM.
|
|
|
11-14-2013, 08:55 PM
|
#2
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Quote:
Originally Posted by Brosch91
The fglrx drivers worked fine back in Slackware 14.0, but now in 14.1 it fails because it says I need kernel headers. I've never had this problem before and I don't know where to get the headers? Are they on my disc or something? Thanks in advance for the help!
Here's the fglrx-install.log if it helps:
|
Please use the search function prior to posting as topics on this already exist.
http://www.linuxquestions.org/questi...-a-4175484253/
|
|
1 members found this post helpful.
|
11-14-2013, 09:17 PM
|
#3
|
LQ Newbie
Registered: Jun 2013
Location: Michigan, USA
Distribution: Slackware64 14.1
Posts: 23
Original Poster
Rep: 
|
Quote:
Originally Posted by ReaperX7
|
Still not working even after I tried linking the files like Matt did. This is the error log I got after trying to install the fglrx drivers. If it helps at all, my laptop has an ATI Radeon 4250. Maybe it's age is an issue?
Quote:
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Unloading radeon module...
rmmod: ERROR: Module radeon is in use
Unloading drm module...
rmmod: ERROR: Module drm is in use by: ttm drm_kms_helper radeon
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
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/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-3.10.17'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:464:0:
/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h: In function 'FGLDRM_proc_init':
/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:98:2: error: implicit declaration of function 'create_proc_entry' [-Werror=implicit-function-declaration]
if (!minor) root = create_proc_entry("dri", S_IFDIR, NULL);
^
/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:98:19: warning: assignment makes pointer from integer without a cast [enabled by default]
if (!minor) root = create_proc_entry("dri", S_IFDIR, NULL);
^
/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:105:12: warning: assignment makes pointer from integer without a cast [enabled by default]
*dev_root = create_proc_entry(name, S_IFDIR, root);
^
/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:112:7: warning: assignment makes pointer from integer without a cast [enabled by default]
ent = create_proc_entry(DRM(proc_list)[i].name,
^
/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:124:6: error: dereferencing pointer to incomplete type
ent->read_proc = DRM(proc_list)[i].f;
^
/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:125:6: error: dereferencing pointer to incomplete type
ent->data = dev;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_proc_init':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:586:14: warning: assignment makes pointer from integer without a cast [enabled by default]
root = create_proc_entry("ati", S_IFDIR, NULL);
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:598:13: warning: assignment makes pointer from integer without a cast [enabled by default]
ent = create_proc_entry("major", S_IFREG|S_IRUGO, root);
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:605:12: error: dereferencing pointer to incomplete type
ent->read_proc = (read_proc_t*)firegl_major_proc_read;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:605:27: error: 'read_proc_t' undeclared (first use in this function)
ent->read_proc = (read_proc_t*)firegl_major_proc_read;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:605:27: note: each undeclared identifier is reported only once for each function it appears in
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:605:39: error: expected expression before ')' token
ent->read_proc = (read_proc_t*)firegl_major_proc_read;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:609:15: warning: assignment makes pointer from integer without a cast [enabled by default]
*dev_root = create_proc_entry(name, S_IFDIR, root);
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:619:13: warning: assignment makes pointer from integer without a cast [enabled by default]
ent = create_proc_entry(list->name, S_IFREG|S_IRUGO, *dev_root);
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:639:16: error: dereferencing pointer to incomplete type
ent->read_proc = (read_proc_t*)list->f;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:639:43: error: expected expression before ')' token
ent->read_proc = (read_proc_t*)list->f;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:644:16: error: dereferencing pointer to incomplete type
ent->proc_fops = (struct file_operations*)list->fops;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:648:16: error: dereferencing pointer to incomplete type
ent->data = (dev->pubdev.signature == FGL_DEVICE_SIGNATURE)? firegl_find_device(minor) : (dev);
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:657:13: warning: assignment makes pointer from integer without a cast [enabled by default]
ent = create_proc_entry("debug", S_IFREG|S_IRUGO, root);
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:660:16: error: dereferencing pointer to incomplete type
ent->read_proc = (read_proc_t*)firegl_debug_proc_read_wrap;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:660:43: error: expected expression before ')' token
ent->read_proc = (read_proc_t*)firegl_debug_proc_read_wrap;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:661:16: error: dereferencing pointer to incomplete type
ent->write_proc = (write_proc_t*)firegl_debug_proc_write_wrap;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:661:32: error: 'write_proc_t' undeclared (first use in this function)
ent->write_proc = (write_proc_t*)firegl_debug_proc_write_wrap;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:661:45: error: expected expression before ')' token
ent->write_proc = (write_proc_t*)firegl_debug_proc_write_wrap;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:662:16: error: dereferencing pointer to incomplete type
ent->data = dev;
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_MEM_AllocLinearAddrInterval':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2152:5: error: implicit declaration of function 'do_mmap' [-Werror=implicit-function-declaration]
vaddr = (void *) do_mmap(file, 0, len, prot, flags, pgoff);
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2152:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
vaddr = (void *) do_mmap(file, 0, len, prot, flags, pgoff);
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_MEM_VM_MapRegion':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3700:39: error: 'VM_RESERVED' undeclared (first use in this function)
vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:511:16: warning: 'firegl_debug_proc_read_wrap' defined but not used [-Wunused-function]
READ_PROC_WRAP(firegl_debug_proc_read)
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:496:12: note: in definition of macro 'READ_PROC_WRAP'
static int func##_wrap(char *buf, char **start, kcl_off_t offset, \
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:516:12: warning: 'firegl_debug_proc_write_wrap' defined but not used [-Wunused-function]
static int firegl_debug_proc_write_wrap(void* file, const char *buffer, unsigned long count, void *data)
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:534:12: warning: 'firegl_major_proc_read' defined but not used [-Wunused-function]
static int firegl_major_proc_read(char *buf, char **start, kcl_off_t offset,
^
cc1: some warnings being treated as errors
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/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] Kernel Module : Failed to compile kernel module - please consult readme.
[Reboot] Kernel Module : mkinitrd
|
Last edited by Brosch91; 11-14-2013 at 10:22 PM.
|
|
|
11-14-2013, 11:49 PM
|
#4
|
LQ Newbie
Registered: Jun 2013
Location: Michigan, USA
Distribution: Slackware64 14.1
Posts: 23
Original Poster
Rep: 
|
I've decided to start using the open source radeon driver in Slackware 14.1 It seems to perform just as good, if not better than fglrx did for me back in 14.0. So I guess this topic is now solved...in a way
Thanks for the help anyways Reaper! But I just don't think it's worth screwing around with fglrx when the open source radeon driver works fine...it even runs Compiz without any issues!
|
|
|
All times are GMT -5. The time now is 04:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|