startx on Centos 4.2 - problems with optiplex GX620
Dear all,
I had installed Centos 4.2 on my Dell Optiplex GX620. Since it has a Pentium Dual Core CPU, I installed Centos 4.2 x86_64.
Obviously, startx hung.
I downloaded and installed XFree86 version 4.3.0 and downloaded the ATI Proprietary Linux x86_64 Display Driver for Motherboards with ATI Graphics (fglrx64_6_8_0-8.22.5-1.x86_64.rpm).
When I build the module, it fails. I am copying the exact error message below. I have been stumbling in making xserver for the past 2 days, but no luck. I would really appreciate it if someone could help me in this regard.
----------------------------------------------------------------------------------------------
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.9-22.0.2.ELsmp/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-22.0.2.EL-smp-x86_64'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.0.2.EL-smp-x86_64'
build succeeded with return value 0
compiling fglrx_agp.ko module
make -C /lib/modules/2.6.9-22.0.2.ELsmp/build SUBDIRS=/lib/modules/fglrx/build_mod/firegl_agpgart modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-22.0.2.EL-smp-x86_64'
CC [M] /lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.o
In file included from /lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:113:
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_agp.h:759:1: warning: "PCI_DEVICE_ID_INTEL_ICH7_1" redefined
In file included from include/linux/pci.h:438,
from /lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:74:
include/linux/pci_ids.h:2239:1: warning: this is the location of the previous definition
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:220: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552)
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function `__ke_phys_to_virt':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:660: warning: passing arg 1 of `phys_to_virt' makes integer from pointer without a cast
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:660: warning: return makes integer from pointer without a cast
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: At top level:
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:695: error: conflicting types for '__ke_pci_find_class'
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.h:419: error: previous declaration of '__ke_pci_find_class' was here
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:695: error: conflicting types for '__ke_pci_find_class'
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.h:419: error: previous declaration of '__ke_pci_find_class' was here
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function `__ke_pci_find_class':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:699: warning: implicit declaration of function `pci_get_class'
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:699: error: incompatible types in return
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function `firegl_get_user_ptr':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:762: warning: assignment makes pointer from integer without a cast
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function `firegl_put_user_ptr':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:794: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:794: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:794: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:794: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: At top level:
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:333: warning: 'firegl_stub_list' defined but not used
make[2]: *** [/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/firegl_agpgart] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.0.2.EL-smp-x86_64'
make: *** [default] Error 2
AGPGART module build failed with return value 2
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.
==============================
------------------------------------------------------------------------------------------------
Thanks in advance,
James
|