Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-12-2005, 03:21 AM   #1
Registered: Dec 2004
Location: Sydney
Distribution: SUSE
Posts: 89

Rep: Reputation: 15
Unhappy Building an ATI driver module

X86 / Mandrakelinux 10.1 (Official) / Installation

Hey Guys,

Problem is building the ATI driver module for my graphics card which without proper drivers is scoring a phearsome 150fps with glxgears. During the rpm installation of the package it gives a message saying everything went almost ok, but two steps are required first before the driver runs; the first is to go to /lib/modules/fglrx/build_mod and run a script which bombs with the following results:

ATI module generator V 2.0
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/ SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/lib/modules/'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/'
make: *** [kmod_build] Error 2
build succeeded with return value 0
duplicating results into driver repository...
You must change your working directory to /lib/modules/fglrx
and then call ./ in order to install the built module.

This process creates a broken link to the module fglrx.ko

Any ideas?

Old 01-12-2005, 05:08 AM   #2
Senior Member
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 136Reputation: 136
Have you installed the Linux kernel sources? You need that if you must build the driver module for fglrx unfortunately.
Old 01-12-2005, 01:50 PM   #3
Registered: Dec 2004
Location: Sydney
Distribution: SUSE
Posts: 89

Original Poster
Rep: Reputation: 15
Yes I have, I carefully went through the list of prerequisites making sure I had done them. What does the "no rule to make target 'target'. Stop." mean? I've seen the message tens of thousands of times but my head goes "you screwed up" and I usually re-untar whatever I''m working on, check for unset environment variables and go again with success. Are you able from the error messages able to determine what info (or what sort of info) I should have in these directories?


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
build and Install the module (ATI driver install) michapma Debian 5 11-13-2005 10:30 AM
ATI driver kernel module bmorgan98 Mandriva 1 08-23-2005 12:32 PM
Debian sid ATi driver problem, no module love? ChemBot Debian 3 08-07-2005 11:22 PM
ATI Driver module won't load under 2.6.* SCVirus Linux - Hardware 3 06-07-2004 09:26 AM
ATI Driver module build fail Bana Linux - Software 0 02-16-2004 02:54 PM > Forums > Linux Forums > Linux - Software

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

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