AnsweredAssumed Answered

fglrx compile errors with linux kernel 3.4.0

Question asked by dhughes on May 26, 2012
Latest reply on Jun 1, 2012 by dhughes

After upgrading to the 3.4.0 SuSE kernel, the fglrx compile fails.  The module compiled correctly prior to the upgrade, and there were no other changes (other than the matching kernel source, and header files).:

 

 

Used CPUs/Cores for compilation  =>  [ [1;32m 1  [0m]

 

********************************************************************************

*                                                                              *

*   Kernel:    3.4.0-25-desktop                                                *

*   Source:    /lib/modules/3.4.0-25-desktop/build                             *

*   Include:   /lib/modules/3.4.0-25-desktop/source/include                    *

*                                                                              *

********************************************************************************

file /lib/modules/3.4.0-25-desktop/source/include/../arch/x86/include/asm/compat.h says:COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space

/usr/src/kernel-modules/fglrx/2.6.x /usr/bin

rm -rf *.c *.h *.o *.ko *.a .??* *.symvers

make: Entering directory `/usr/src/linux-3.4.0-25-obj/x86_64/desktop'

/usr/src/linux-3.4.0-25/arch/x86/Makefile:96: CONFIG_X86_X32 enabled but no binutils support

  LD      /usr/src/kernel-modules/fglrx/2.6.x/built-in.o

  CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.o

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetInitKerPte':

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2357:5: warning: return makes integer from pointer without a cast

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2358:5: warning: return makes integer from pointer without a cast

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2359:5: warning: return makes integer from pointer without a cast

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetPageTableByVirtAddr':

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2404:5: warning: return makes integer from pointer without a cast

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2407:5: warning: return makes integer from pointer without a cast

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2408:5: warning: return makes integer from pointer without a cast

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_TestAndClearPageDirtyFlag':

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2582:5: warning: return makes integer from pointer without a cast

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'kasInitExecutionLevels':

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:4157:5: error: 'cpu_possible_map' undeclared (first use in this function)

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:4157:5: note: each undeclared identifier is reported only once for each function it appears in

/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:4157:5: warning: left-hand operand of comma expression has no effect

make[3]: *** [/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.o] Error 1

make[2]: *** [_module_/usr/src/kernel-modules/fglrx/2.6.x] Error 2

make[1]: *** [sub-make] Error 2

make: *** [all] Error 2

make: Leaving directory `/usr/src/linux-3.4.0-25-obj/x86_64/desktop'

 

******************************

Build of kernel module failed!

******************************

rm -rf *.c *.h *.o *.ko *.a .??* *.symvers

/usr/bin

Calling 'depmod -a 3.4.0-25-desktop' this may take a while...

 

Summary report:

================================================================================

 

   Kernel     => 3.4.0-25-desktop

   Detected   => RPM package

   Build      => [ [1;31m FAILURE  [0m]

   Install    => [ [1;31m FAILURE  [0m]

Outcomes