From: zhou <zh...@st...> - 2000-11-21 19:07:15
|
"Homme R. Bitter" wrote: > Hi all, Dear Homme: You put most useful information of DRI in this user group. Thanks for your efforts and your time! I really appreciate your assistance! > > > Here is the promised mini-howto for compiling DRI on RH 7. > > Follow the instructions on building DRI as pointend out on the DRI compile > howto: http://dri.sourceforge.net/DRIcompile.html > > Take special care of your compile on RH 7 regarding the following issues: > > - make sure your compiler knows the path to the kernel header > files that come with the 2.4 kernel source tree. > If not, your DRI compile wil quit somewhere with a message like > error 1: linux/blah.h not found > > - Make sure you compile your kernel with kgcc > after make (menu)config, you usually run something like > make clean; make dep; make modules && make bzImage > you should change to > make modules CC="/usr/bin/kgcc"; \ > make bzImage CC="/usr/bin/kgcc" > This will make sure kgcc is used for kernel compilation > because the default C compiler RedHat uses has issues with > building kernels. > Could you please also provide your .config file for your kernel rebuilding as our reference? What features you enabled and disabled? The guide says: enable agpgart, disable the DRI in the kernel, any others? mtrr, multiprocessing, etc? enable agpgart as a module or embed in the kernel, any difference? > > - Make sure your DRI also compiles with kgcc, you can accomplish > this by setting a few enviroment variables before you run > make World > eg.: > when using bash > export CC="/usr/bin/kgcc"; \ > export cc="/usr/bin/kgcc"; \ > make World > /tmp/dribuild.log 2>&1 > > when using (t)csh > setenv CC "/usr/bin/kgcc"; \ > setenv cc "/usr/bin/kgcc"; \ > make World >& /tmp/dribuild.log > Could you please also put your "host.conf" as our reference? What features you enabled and disabled? Thanks Homme. Zhou > > These are the basic steps you should take to compile DRI on a stock RH7 > system, it worked for me, I can't tell anything about stability because I > only got things done about 2 hours ago... > > Regards, > > Homme R. Bitter XS4ALL Windows Hosting > > *NIX/Windows admin, BOFH, former MCSE, parttime divine entity > -- > W2K: improved uptime between weekly hotfixes that require a > reboot. > > 0% HTML 100% Signature > > _______________________________________________ > Dri-users mailing list > Dri...@li... > http://lists.sourceforge.net/mailman/listinfo/dri-users |