Hi, i have to compile ati driver 9.7 for my Gentoo amd64 box. I have patchset and other stuff to work this driver with kernel but there is still error with compiling it under 64bit system. Make command said that there is "implict declaration of function register_ioctl32_conversion". So i was googling in the net and changed kcl_ioctl.c source code from this: #ifdef __x86_64__ # include "asm/compat.h" # if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22) # if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) # include "linux/ioctl32.h" # else # include "asm/ioctl32.h" # endif # endif #endif to this one: #ifdef __x86_64__ # include "asm/compat.h" # include "linux/ioctl32.h" # include "asm/ioctl32.h" #endif Cause i thought that, ioctl32.h isn`t included due to my kernel. This if-else statement i understand like this: if kernel is 2.6.12 to 2.6.22 include linux/ioctl32.h, if below than 2.6.12, include asm/ioctl32.h When i now type make i have somethin like this: "linux/ioctl32.h" no such file or directory, asm/ioctl32.h no such file or directory. And in my source kernel: (gentoo 2.6.30-r4) there is no such this like a ioctl32.h. Is that file deprecated ? I need this driver so is there any way to change function register_ioctl32_conversion to other stuff ? Here is source code of "gloomy" KCL_IOCTL_RegisterConversion32: int ATI_API_CALL KCL_IOCTL_RegisterConversion32( unsigned int cmd, int (*handler)(unsigned int, unsigned int, unsigned long, KCL_IO_FILE_Handle)) { #ifdef KCL_OSCONFIG_IOCTL_COMPAT return 0; #else return register_ioctl32_conversion(cmd, (ioctl_trans_handler_t)handler); #endif } -- -----BEGIN GEEK CODE BLOCK----- GCS d- s:- a--- C+++ P L+++>+++++ E---- W+ N+ o? K- w--- O- M- V? PS++ PE++ Y PGP++ t--- 5? X R tv-- b+ DI+ D- G++ e- h! !r(--) !z+ ------END GEEK CODE BLOCK------ -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ