Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
franuteOffline
Post subject: (solved) can't compile fglrx module with last kernel update  PostPosted: 18.09.2010, 21:02



Joined: 2010-09-14
Posts: 10
Location: Almadén (Ciudad Real)
Status: Offline
Hi everybody!

I can't compile the fglrx modules (version 10.9) with the last 2 kernel versions: 2.6.35-4.slh.12 and 2.6.35-4.slh.15 (both the amd64 version on an ati mobility hd 5430).

I installed fglrx using module-assistant and dmakms (just like installing the nvidia ones in the aptosid manual), but when I execute "m-a a-i fglrx-source" I get an error. Anyone else having this problem? Confused

Here is the log:

      Code:
/usr/bin/make  -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/fglrx'
dh_testroot
rm -f configure-stamp
rm -f fglrx.ko fglrx.mod.c *.o libfglrx_ip.a
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
rm -rf patch
dh_clean
make[1]: Leaving directory `/usr/src/modules/fglrx'
 debian/rules KVERS=2.6.35-4.slh.15-aptosid-amd64 KSRC=/lib/modules/2.6.35-4.slh.15-aptosid-amd64/build KDREV=2.6.35-32 kdist_image
/usr/bin/make  -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/fglrx'
if [ -f /usr/src/modules/fglrx/debian/control.template ]; then \
      cat /usr/src/modules/fglrx/debian/control.template > /usr/src/modules/fglrx/debian/control; \
   fi
dh_testdir
touch configure-stamp
dh_testdir
/usr/bin/make -C /lib/modules/2.6.35-4.slh.15-aptosid-amd64/build SUBDIRS=/usr/src/modules/fglrx modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.35-4.slh.15-aptosid-amd64'
  CC [M]  /usr/src/modules/fglrx/firegl_public.o
  CC [M]  /usr/src/modules/fglrx/kcl_acpi.o
  CC [M]  /usr/src/modules/fglrx/kcl_agp.o
  CC [M]  /usr/src/modules/fglrx/kcl_debug.o
  CC [M]  /usr/src/modules/fglrx/kcl_ioctl.o
/usr/src/modules/fglrx/kcl_ioctl.c: In function 'KCL_IOCTL_AllocUserSpace32':
/usr/src/modules/fglrx/kcl_ioctl.c:196: error: implicit declaration of function 'compat_alloc_user_space'
/usr/src/modules/fglrx/kcl_ioctl.c:196: warning: return makes pointer from integer without a cast
make[3]: *** [/usr/src/modules/fglrx/kcl_ioctl.o] Error 1
make[2]: *** [_module_/usr/src/modules/fglrx] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.35-4.slh.15-aptosid-amd64'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/modules/fglrx'
make: *** [kdist_image] Error 2


Thanks in advance
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
towoOffline
Post subject: RE: can  PostPosted: 18.09.2010, 21:08



Joined: 2010-09-13
Posts: 500
Location: Pößneck / Thüringen
Status: Offline
Delete /usr/src/modules/fglrx, if it exist
Download the file here and replace the /usr/src/fglrx.tar.bz2 with it.
After that, do m-a a-i fglrx-source again.
 
 View user's profile Send private message  
Reply with quote Back to top
franuteOffline
Post subject:   PostPosted: 18.09.2010, 21:17



Joined: 2010-09-14
Posts: 10
Location: Almadén (Ciudad Real)
Status: Offline
Thanks towo, it worked like a charm Very Happy
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio