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 |
Have you installed the Linux kernel sources? You need that if you must build the driver module for fglrx unfortunately.
|
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?
|
All times are GMT -5. The time now is 06:09 PM. |