LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-24-2007, 01:15 PM   #1
kramed
Member
 
Registered: Feb 2007
Location: Peterborough, Ontario, Canada
Distribution: Fedora 8
Posts: 36

Rep: Reputation: 15
fglrx fails to compile? custom 2.6.20


Hi there. I just got back into Linux (last time I used Slackware was version 7.0) and have been able to get my PC running perfectly and my laptop (IBM T43) is almost there. I have a full install of Slack 11 and the problem I am facing right now is getting my ATI x300 working. I have a custom 2.6.20 kernel and downloaded and tried to install ATI's latest (8.34.8) from the site. I have tried using the installer as well as the rpm (rpm2tgz ...) but neither works. Please help me figure out why I cant compile.


My relevant kernel options:
Code:
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
CONFIG_AGP_ATI=m
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
# CONFIG_DRM is not set

My error message:
Code:
root@quasimodo:/lib/modules/fglrx/build_mod/2.6.x# make
make -C /lib/modules/2.6.20.1/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x m
odules
make[1]: Entering directory `/usr/src/linux-2.6.20.1'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:204: error: syntax error befo
re "mlock"
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:206: error: syntax error befo
re "munlock"
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:211: error: syntax error befo
re "modify_ldt"
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:238: warning: return type def
aults to `int'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:238: warning: function declar
ation isn't a prototype
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `_syscall3':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:238: error: parameter `firegl
' is initialized
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:239: error: parameter `__ke_d
ebuglevel' is initialized
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:240: error: parameter `__ke_m
oduleflags' is initialized

...

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:475: error: for each function it appears in.)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:475: confused by earlier errors, bailing out
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-2.6.20.1'
make: *** [kmod_build] Error 2
Please, any assistance would be appreciated. I tried reading the sticky threads and searched the forums but have not been able to get this working. Thanks in advance.

Mark
 
Old 02-24-2007, 01:49 PM   #2
mr90
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
None

Hi Kramed

Kernel 2.6.20 is not supported... Yea, i know its hard to belive. You'll find more info here:

http://www.rage3d.com/board/showthread.php?t=33883520

Good luck
 
Old 02-24-2007, 01:51 PM   #3
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Slackware,Bluewhite64
Posts: 252

Rep: Reputation: 30
There's a patch you can download at rage3d.com. Just use the search button you'll find it
 
Old 02-24-2007, 02:06 PM   #4
kramed
Member
 
Registered: Feb 2007
Location: Peterborough, Ontario, Canada
Distribution: Fedora 8
Posts: 36

Original Poster
Rep: Reputation: 15
What a joke, ATI. As much as I would like to support a Canadian tech company they sure are getting slapped around by Nvidia regarding Linux support.

To anyone having the same problem, great thread on Ubuntu forums also:
http://www.ubuntuforums.org/showthread.php?p=2128313

Thanks for the help guys, I got it working. A whooping 300 fps from glxgears. Go ATI mobility !
 
  


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
fglrx module build fails (i think it is the kernel?) android6011 Linux - Hardware 3 01-06-2007 05:50 PM
fglrx.ko insertion fails on Radeon X700 BlueSpirit Slackware 2 09-15-2006 08:54 PM
ati-fglrx driver fails to load :@ Infernal211283 Linux - Newbie 4 04-02-2005 09:52 AM
fglrx compiling custom module problem (firegl_public.c) Slate01 Linux - Hardware 0 11-25-2004 02:25 PM
X fails when ATI FGLRX driver installed black hole sun Linux - Software 6 08-08-2004 07:16 AM


All times are GMT -5. The time now is 04:09 AM.

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