[opensuse-factory] Better gcc version to build fglrx
Hi! Which is the better gcc version to build fglrx? With gcc44, and ati-driver-installer-9-8-x86.x86_64.run I got: fglrx-install.log [Message] Kernel Module : Trying to install a precompiled kernel module. [Message] Kernel Module : Precompiled kernel module version mismatched. [Message] Kernel Module : Found kernel module build environment, generating kernel module now. AMD kernel module generator version 2.1 doing Makefile based build for kernel 2.6.x and higher rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers make -C /lib/modules/2.6.31-rc6-3-default/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules make[1]: se ingresa al directorio `/usr/src/linux-2.6.31-rc6-3-obj/i386/default' make -C ../../../linux-2.6.31-rc6-3 O=/usr/src/linux-2.6.31-rc6-3-obj/i386/default/. modules CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:443: /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h: En la función ‘FGLDRM__vma_info’: /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:497: aviso: el formato ‘%08lx’ espera el tipo ‘long unsigned int’, pero el argumento 5 es de tipo ‘phys_addr_t’ /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: En la función ‘KCL_MapPageToPfn’: /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1568: aviso: variable ‘bus_addr’ sin usar CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:431:6: aviso: #warning "ACPI notification wrapping won't work." /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:464:6: aviso: #warning "ACPI notification wrapping won't work." /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:490:6: aviso: #warning "ACPI notification wrapping won't work." /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:514:6: aviso: #warning "ACPI notification wrapping won't work." CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o Building modules, stage 2. MODPOST 1 modules WARNING: "find_task_by_vpid" [/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko] undefined! CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko make[1]: se sale del directorio `/usr/src/linux-2.6.31-rc6-3-obj/i386/default' 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. - recreating module dependency list - trying a sample load of the kernel modules failed. [Error] Kernel Module : Failed to install compiled kernel module - please consult readme. If I try to load the fglrx module, I got: modprobe fglrx FATAL: Error inserting fglrx (/lib/modules/2.6.31-rc6-3-default/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg) With dmesg I got: [ 4859.583742] fglrx: Unknown symbol find_task_by_vpid Thanks -- USA LINUX OPENSUSE QUE ES SOFTWARE LIBRE, NO NECESITAS PIRATEAR NADA Y TAMPOCO TE VAS A PREOCUPAR MAS POR LOS VIRUS Y SPYWARES: http://www.[ 4859.583742] fglrx: Unknown symbol find_task_by_vpidopensuse.org/es/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 27/08/09 22:01, Juan Erbes wrote:
Hi!
Which is the better gcc version to build fglrx?
With gcc44, and ati-driver-installer-9-8-x86.x86_64.run I got:
WARNING: "find_task_by_vpid" [/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko] undefined!
With dmesg I got: [ 4859.583742] fglrx: Unknown symbol find_task_by_vpid
This error has nothing to do with the compiler version. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 27/08/09 22:13, Cristian Rodríguez wrote:
This error has nothing to do with the compiler version.
See this: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (2)
-
Cristian Rodríguez
-
Juan Erbes