LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2004, 10:47 AM   #1
gadams33
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 10

Rep: Reputation: 0
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
 
Old 12-31-2004, 12:15 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
I would try as root
Code:
cd /usr/src/linux
make oldconfig
make dep && make bzImage modules modules_install
and try again
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to install dri driver Griffent Linux - Software 0 08-27-2005 01:47 PM
x700 uses DRI how do I install iy linuxmandrake Linux - Hardware 4 08-26-2005 08:40 AM
Radeon DRI install problem. jfbertrand Linux - Hardware 3 12-06-2004 08:52 AM
Gatos / dri install trouble fitz9948 Linux - Hardware 3 09-19-2003 11:20 AM
DRI Driver Install Problem Thylakoid Linux - Software 13 08-15-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration