LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-09-2013, 06:38 PM   #1
Max Rafiandy
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Rep: Reputation: Disabled
Question Can't Install ATI Catalyst Driver


Hi all, I'm a new member in this forum, and this is my first post.
I've just upgrading my Slackware to Slackware-Current, and now i use kernel 3.10.17
Code:
bash-4.2$ uname -r
3.10.17-smp
But I can't install ATI Catalyst Driver, each time I try to build fglrx, certainly shows an error message like this
Code:
root@slackware:/home/fian# sh amd-catalyst-13.4-linux-x86.x86_64.run --buildpkg Slackware/Slackware
Created directory fglrx-install.r39RNg
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-12.104....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager 
=====================================================================
Generating package: Slackware/Slackware

ATI SlackBuild 
-------------------------------------------- 
by: Emanuele Tomasi <tomasi@cli.di.unipi.it> 

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=/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-3.10.17'
  CC [M]  /home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:476:0:
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h: In function 'FGLDRM_proc_init':
/home/fian/fglrx-install.r39RNg/common/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);
  ^
/home/fian/fglrx-install.r39RNg/common/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);
                   ^
/home/fian/fglrx-install.r39RNg/common/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);
            ^
/home/fian/fglrx-install.r39RNg/common/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,
       ^
/home/fian/fglrx-install.r39RNg/common/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;
      ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:125:6: error: dereferencing pointer to incomplete type
   ent->data      = dev;
      ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_proc_init':
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:598:14: warning: assignment makes pointer from integer without a cast [enabled by default]
         root = create_proc_entry("ati", S_IFDIR, NULL);
              ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:610:13: warning: assignment makes pointer from integer without a cast [enabled by default]
         ent = create_proc_entry("major", S_IFREG|S_IRUGO, root);
             ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:617:12: error: dereferencing pointer to incomplete type
         ent->read_proc = (read_proc_t*)firegl_major_proc_read;
            ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:617:27: error: 'read_proc_t' undeclared (first use in this function)
         ent->read_proc = (read_proc_t*)firegl_major_proc_read;
                           ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:617:27: note: each undeclared identifier is reported only once for each function it appears in
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:617:39: error: expected expression before ')' token
         ent->read_proc = (read_proc_t*)firegl_major_proc_read;
                                       ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:621:15: warning: assignment makes pointer from integer without a cast [enabled by default]
     *dev_root = create_proc_entry(name, S_IFDIR, root);
               ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:631: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);
             ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:651:16: error: dereferencing pointer to incomplete type
             ent->read_proc = (read_proc_t*)list->f;
                ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:651:43: error: expected expression before ')' token
             ent->read_proc = (read_proc_t*)list->f;
                                           ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:656:16: error: dereferencing pointer to incomplete type
             ent->proc_fops = (struct file_operations*)list->fops;
                ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:660:16: error: dereferencing pointer to incomplete type
             ent->data = (dev->pubdev.signature == FGL_DEVICE_SIGNATURE)? firegl_find_device(minor) : (dev);
                ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:669:13: warning: assignment makes pointer from integer without a cast [enabled by default]
         ent = create_proc_entry("debug", S_IFREG|S_IRUGO, root);
             ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:672:16: error: dereferencing pointer to incomplete type
             ent->read_proc = (read_proc_t*)firegl_debug_proc_read_wrap;     
                ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:672:43: error: expected expression before ')' token
             ent->read_proc = (read_proc_t*)firegl_debug_proc_read_wrap;     
                                           ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:673:16: error: dereferencing pointer to incomplete type
             ent->write_proc = (write_proc_t*)firegl_debug_proc_write_wrap;  
                ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:673:32: error: 'write_proc_t' undeclared (first use in this function)
             ent->write_proc = (write_proc_t*)firegl_debug_proc_write_wrap;  
                                ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:673:45: error: expected expression before ')' token
             ent->write_proc = (write_proc_t*)firegl_debug_proc_write_wrap;  
                                             ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:674:16: error: dereferencing pointer to incomplete type
             ent->data = dev;
                ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_EFI_IS_ENABLED':
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3091:5: warning: return makes integer from pointer without a cast [enabled by default]
     return efi_enabled;
     ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:523:16: warning: 'firegl_debug_proc_read_wrap' defined but not used [-Wunused-function]
 READ_PROC_WRAP(firegl_debug_proc_read)
                ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:508:12: note: in definition of macro 'READ_PROC_WRAP'
 static int func##_wrap(char *buf, char **start, kcl_off_t offset,      \
            ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:528: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)
            ^
/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:546: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]: *** [/home/fian/fglrx-install.r39RNg/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/home/fian/fglrx-install.r39RNg/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
Removing temporary directory: fglrx-install.r39RNg
Is there someone have a solution?

Sorry for my bad English, but i hope you get my point
 
Old 11-09-2013, 11:12 PM   #2
mattallmill
Member
 
Registered: Nov 2009
Location: Salina,Kansas
Distribution: Slackware64-current
Posts: 202

Rep: Reputation: 31
Quote:
Originally Posted by Max Rafiandy View Post
Hi all, I'm a new member in this forum, and this is my first post.
I've just upgrading my Slackware to Slackware-Current, and now i use kernel 3.10.17
Code:
bash-4.2$ uname -r
3.10.17-smp
But I can't install ATI Catalyst Driver, each time I try to build fglrx, certainly shows an error message like this
[code]root@slackware:/home/fian# sh amd-catalyst-13.4-linux-x86.x86_64.run --buildpkg Slackware/Slackware
Created directory fglrx-install.r39RNg
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-12.104...

Is there someone have a solution?

Sorry for my bad English, but i hope you get my point
The 13.4 Catalyst driver does not work on 3.10.x, but AMD has posted a new version of their Catalyst driver, 13.11 Beta V6, that works fine. Despite the beta status of this driver, I have not personally encountered any difficulties.

Before running the installer, however, type this in your console:
Code:
ln -s /lib/modules/3.10.17/build/include/generated/uapi/linux/version.h /lib/modules/3.10.17/build/include/linux/version.h
The installer will not work without it!

You probably know this already, but after the installer finishes, the xorg.conf file has to be updated. Type this in to make it happen:

Code:
aticonfig --initial
This will update the file automatically, and then you should be good to go!

Hope this helps.

Regards,

Matt

Last edited by mattallmill; 11-09-2013 at 11:17 PM.
 
Old 11-10-2013, 07:18 AM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,344

Rep: Reputation: 184Reputation: 184
edit: ignore this, posted on the wrong thread, lol

Last edited by colorpurple21859; 11-10-2013 at 08:48 AM.
 
Old 11-10-2013, 01:48 PM   #4
Max Rafiandy
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mattallmill View Post
The 13.4 Catalyst driver does not work on 3.10.x, but AMD has posted a new version of their Catalyst driver, 13.11 Beta V6, that works fine. Despite the beta status of this driver, I have not personally encountered any difficulties.

Before running the installer, however, type this in your console:
Code:
ln -s /lib/modules/3.10.17/build/include/generated/uapi/linux/version.h /lib/modules/3.10.17/build/include/linux/version.h
The installer will not work without it!

You probably know this already, but after the installer finishes, the xorg.conf file has to be updated. Type this in to make it happen:

Code:
aticonfig --initial
This will update the file automatically, and then you should be good to go!

Hope this helps.

Regards,

Matt
thank you. I will try
 
Old 11-10-2013, 01:52 PM   #5
Max Rafiandy
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
edit: ignore this, posted on the wrong thread, lol
lol
 
Old 11-10-2013, 02:35 PM   #6
Max Rafiandy
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
The 13.4 Catalyst driver does not work on 3.10.x, but AMD has posted a new version of their Catalyst driver, 13.11 Beta V6, that works fine. Despite the beta status of this driver, I have not personally encountered any difficulties.
the Catalyst 13.11 Beta works fine.. thanks again...
 
Old 11-10-2013, 04:32 PM   #7
mattallmill
Member
 
Registered: Nov 2009
Location: Salina,Kansas
Distribution: Slackware64-current
Posts: 202

Rep: Reputation: 31
Quote:
Originally Posted by Max Rafiandy View Post
the Catalyst 13.11 Beta works fine.. thanks again...
No prob, Max. Glad I could help.

Regards,

Matt
 
Old 11-11-2013, 04:52 PM   #8
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware 14.1 (multilib) with kernel 3.15.5
Posts: 1,528
Blog Entries: 12

Rep: Reputation: 171Reputation: 171
Quote:
Before running the installer, however, type this in your console:

Code:
ln -s /lib/modules/3.10.17/build/include/generated/uapi/linux/version.h /lib/modules/3.10.17/build/include/linux/version.hThe installer will not work without it!
Hmm, I didn't see this, and yet the installer worked without any apparent problem. What sort of problem should I have seen?
 
Old 11-11-2013, 10:42 PM   #9
mattallmill
Member
 
Registered: Nov 2009
Location: Salina,Kansas
Distribution: Slackware64-current
Posts: 202

Rep: Reputation: 31
Quote:
Originally Posted by mostlyharmless View Post
Hmm, I didn't see this, and yet the installer worked without any apparent problem. What sort of problem should I have seen?
Perhaps the newer versions of Catalyst don't require the link to be made, as the earlier ones did (I used 13.1 prior to this, and the installer would err out if I didn't make that link). Just to be on the safe side, however, I ran the commmand. Better safe than sorry, even if the newer Catalyst drivers don't require it.

Regards,

Matt

P.S. The reason I said what I did was a reference to this web site, which references the 3.8.x kernel version (however,this was applicable up to 3.9.x). Perhaps the changes in Catalyst 13.11 included the information.

Just my 2 cents.

Last edited by mattallmill; 11-11-2013 at 10:47 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ati catalyst proprietary driver alexdy Linux Deepin 5 07-19-2013 03:34 AM
LXer: ATI Catalyst Linux Display Driver 9.12 LXer Syndicated Linux News 0 12-19-2009 03:30 PM
LXer: ATI Catalyst Linux Display Driver 9.10 LXer Syndicated Linux News 0 10-27-2009 11:12 PM
LXer: Power Management: ATI Catalyst vs. Open-Source ATI Driver LXer Syndicated Linux News 0 03-06-2009 03:12 PM
ATi Catalyst driver 8.1 problem on Slack 10.2 brooky9999 Slackware 5 02-08-2008 09:10 AM


All times are GMT -5. The time now is 11:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration