LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-12-2005, 03:21 AM   #1
Elomis
Member
 
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 make.sh script which bombs with the following results:

ATI module generator V 2.0
==========================
initializing...
cleaning...
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/2.6.8.1-12mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/lib/modules/2.6.8.1-12mdk/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.8.1-12mdk/build'
make: *** [kmod_build] Error 2
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================

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

Any ideas?

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

Rep: Reputation: 121Reputation: 121
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
Elomis
Member
 
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?
 
  


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
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


All times are GMT -5. The time now is 10:31 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