DRI install woes
First off, the basics:
Distro: Fedora Core 1; Kernel: 2.4.22-1.2199.nptl_52.rhfc1.at
Hardware: P4 1.2; 512MB RAM; Radisys MB
Video Card: Intel 845G (on-board)
I am in the initial throes of getting my video card working. The Intel driver package has me using an install script to install the DRIPKG. It was initially complaining that it couldn't find the kernel headers. This was eventually fixed by reinstalling the kernel source (was installed, but evidently wasn't working).
Anywho, I have run into a new problem now that I have gotten past the kernel headers. I'm not even sure how to describe the problem, so I will post the output of the dri.log below (after this message).
I am a newbie, so this message is probably pretty vague. Any help would be greatly appreciated.
From DRI.log:
rm -f *.o *.ko dristat drmstat .depend .*.flags .*.d .*.cmd
make -f Makefile.linux DRM_MODULES=gdg.o modules
make[1]: Entering directory `/home/intel/download/dripkg/drm'
make -C /lib/modules/2.4.22-1.2115.nptl/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.4.22-1.2115.nptl'
gcc32 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
make -r -f tmp_include_depends all
make[3]: Entering directory `/usr/src/linux-2.4.22-1.2115.nptl'
make[3]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl'
make -C /home/intel/download/dripkg/drm CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.22-1.2115.nptl/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2115.nptl/include/linux/modversions.h" MAKING_MODULES=1 modules
make[3]: Entering directory `/home/intel/download/dripkg/drm'
gcc32 -I/home/intel/download/dripkg/drm -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2115.nptl/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2115.nptl/include/linux/modversions.h -DDO_MUNMAP_4_ARGS -DVMAP_4_ARGS -nostdinc -iwithprefix include -DKBUILD_BASENAME=gdg_drv -c -o gdg_drv.o gdg_drv.c
In file included from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/list.h:6,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:12,
from drmP.h:46,
from gdg_drv.c:12:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:60: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:60: field `loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:83: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:83: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:83: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:202: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h: In function `set_in_cr4':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: `dad5638d' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: for each function it appears in.)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: invalid lvalue in assignment
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h: In function `clear_in_cr4':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:216: `dad5638d' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:216: invalid lvalue in assignment
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h: At top level:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:255: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:255: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:255: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:259: warning: parameter names (without types) in function declaration
In file included from drmP.h:46,
from gdg_drv.c:12:
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:192: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:192: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:193: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:193: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:203: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:203: warning: parameter names (without types) in function declaration
In file included from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/highmem.h:5,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:8,
from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/io.h:47,
from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/pci.h:40,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/pci.h:658,
from drmP.h:53,
from gdg_drv.c:12:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:79: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `free_pgd_fast':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:90: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:123: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `pte_free_fast':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:133: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/io.h:47,
from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/pci.h:40,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/pci.h:658,
from drmP.h:53,
from gdg_drv.c:12:
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h: In function `vmalloc':
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:40: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h: In function `vmalloc_dma':
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:49: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h: In function `vmalloc_32':
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:58: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from gdg_drv.c:17:
drm_agpsupport.h: In function `gdg_agp_init':
drm_agpsupport.h:407: warning: implicit declaration of function `inter_module_get_Rf6a0ce24'
drm_agpsupport.h: In function `gdg_agp_uninit':
drm_agpsupport.h:436: warning: implicit declaration of function `inter_module_put_R6b99f7d8'
In file included from gdg_drv.c:24:
drm_init.h: In function `gdg_cpu_valid':
drm_init.h:123: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from gdg_drv.c:28:
drm_memory.h: In function `agp_remap':
drm_memory.h:129: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from gdg_drv.c:30:
drm_vm.h: In function `gdg_mmap':
drm_vm.h:600: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from gdg_drv.c:31:
drm_stub.h: In function `gdg_stub_open':
drm_stub.h:72: warning: implicit declaration of function `try_inc_mod_count_Re6105b23'
In file included from gdg_drv.c:31:
drm_stub.h: In function `gdg_stub_putminor':
drm_stub.h:147: warning: implicit declaration of function `inter_module_unregister_R7a9e845e'
drm_stub.h: In function `gdg_stub_register':
drm_stub.h:188: warning: implicit declaration of function `inter_module_register_R62dada05'
make[3]: *** [gdg_drv.o] Error 1
make[3]: Leaving directory `/home/intel/download/dripkg/drm'
make[2]: *** [_mod_/home/intel/download/dripkg/drm] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/intel/download/dripkg/drm'
make: *** [gdg.o] Error 2
|