Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-14-2008, 03:46 PM   #1
Registered: Feb 2008
Distribution: slackware, suse, anything that begins with S
Posts: 45

Rep: Reputation: 16
fglrx fails to build

I installed slackware 12.0 (didn't install kernel source). I then got the vanilla sources and built a new kernel. I put the source in /usr/src and made a /usr/src/linux symlink to it.

I added /dev/shm to my fstab

Then I got the ati driver installer and tryed to run it. It froze up my laptop and i had to reboot so i tried building the slackware package with --buildpkg Slackware/All (I can't remember the exact command I used, I got it from the --listpkg)

but it fails to build like this:

patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
 Assuming default VMAP API
 Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/ SUBDIRS=/fglrx-install.2KVhj3/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/root/linux-'
  CC [M]  /fglrx-install.2KVhj3/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/fglrx-install.2KVhj3/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_check_pci':
/fglrx-install.2KVhj3/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1951: error: implicit declaration of function 'pci_find_slot'
/fglrx-install.2KVhj3/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1951: warning: assignment makes pointer from integer without a cast
make[2]: *** [/fglrx-install.2KVhj3/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/fglrx-install.2KVhj3/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/root/linux-'
make: *** [kmod_build] Error 2
build failed with return value 2
Error -> I don't have make module
I have an ati radeon x1100 (it's on a pci bus in an acer laptop) and so acceleration won't work with the open source drivers. Does anyone know what is wrong here or what I've done wrong?
Old 04-14-2008, 04:56 PM   #2
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 838Reputation: 838Reputation: 838Reputation: 838Reputation: 838Reputation: 838Reputation: 838
A quick google turned up few specific results. Are you using the latest (8.3) drivers? (There are some older drivers labeled higher than 8.3, but because they changed their numbering scheme seemingly to confuse potential users, 8.3 is in fact the latest). It has been suggested to enable CONFIG_PCI_LEGACY=Y in the kernel, so you may wish to try that -- but I'm not sure if it'll work. It is also possible that the drivers just won't work such a late kernel version -- but you'll have to wait for others to reply for that information.
Old 04-14-2008, 05:32 PM   #3
Registered: Feb 2008
Distribution: slackware, suse, anything that begins with S
Posts: 45

Original Poster
Rep: Reputation: 16
Thanks for that, I'll try what you suggest. I have another distro (slamd64) with the same kernel version and the drivers work ok, so it's not that, I assume it must be something in my kernel config.

Last edited by superdog; 04-14-2008 at 05:33 PM.
Old 04-15-2008, 08:27 PM   #4
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
im using and ati driver built fine. I would have to say it is your build if you use the generic config from slackware current it will build. I use the config file as a starting point and really only adjust abit of it.

Also this confuses me:
make[1]: Entering directory `/root/linux-'
Should say:
make[1]: Entering directory `/usr/src/linux-'

Go the alienbobs wiki and read the linux kernel build section. google it!

Last edited by symatic; 04-15-2008 at 10:59 PM. Reason: Just noticed that
Old 04-16-2008, 06:38 AM   #5
Registered: Feb 2008
Distribution: slackware, suse, anything that begins with S
Posts: 45

Original Poster
Rep: Reputation: 16
Ah, you got it i think. I originally built my kernel in /root. Rebuilt and it builds without error.

Thanks for the help.


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 driver for kernel (custom build) frieza Linux - Hardware 6 11-27-2007 02:26 PM
etch: will ATIs fglrx* .deb pkgs still build if I upgrade kernel? HowDoIProgramIt Debian 9 08-06-2007 10:59 AM
fglrx fails to compile? custom 2.6.20 kramed Slackware 3 02-24-2007 02:06 PM
fglrx module build fails (i think it is the kernel?) android6011 Linux - Hardware 3 01-06-2007 05:50 PM
module-assistant cant build fglrx android6011 Linux - General 3 12-16-2006 03:41 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:59 PM.

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