From: Sergio M. B. <se...@se...> - 2005-12-02 17:55:50
|
to compile sources one workaround is: on xc/config/cf/xorg.cf delete ffb from line 414 # define DevelDRIDrivers ffb mach64 unichrome On Fri, 2005-12-02 at 10:19 -0200, Arthur Tupinamb=E1 wrote: > Hello People, > Please, someone help me to put Via Dri drivers to work! >=20 > I am following these steps (got from VIAARENA instalation_m.txt) : >=20 > 2.1 Installed linux kernel version 2.6.14 > 2.1.1 #apt-get install linux-source-2.6.14 > 2.1.2 #cd /usr/src > 2.1.3 #rm -f linux (if ./linux exist then rename it) > 2.1.4 #tar -jxvf linux-source-2.6.14 > 2.1.5 #ln -s linux-source-2.6.14 linux > 2.1.6 #cd linux > 2.1.7 #make menuconfig > 2.1.8 #Choose CPU TYPE (Pentium/C3) and MTRR/ > 2.1.9 #Go to Charter Device > 2.1.10#Disable /dev/agpgart (AGP Support) > 2.1.11#Disable Direct Rendering Manager(DRM) > 2.1.12#edit /etc/lilo.conf, add the follow lines > image=3D/boot/vmlinuz > label=3Dlinux-2.6.14 > read-only > root=3D/dev/hda5 > 2.1.13#make-kpkg --initrd modules_image > 2.1.14#dpkg -i kernel-2.6.14.deb > 2.1.15#lilo > 2.1.16#rebooted and choose label linux-2.6.14 to start the new kernel >=20 > 2.2 Download XFree86 source tree from dri-sourceforge ftp site: > 2.2.1 Create a 'dri-cvs' Directory > #mkdir dri-cvs > 2.2.2 #cd dri-cvs > 2.2.3 #cvs -z3 -d:pserver:ano...@dr...:/cvs/dri=20 > login 2.2.4 #cvs -z3=20 > -d:pserver:ano...@dr...:/cvs/dri co xc > 2.3 Merge DRI driver into source tree *first i downloaded a file=20 > called cn-cne-pmxf40056-kernel-src_20050411a.tgz from VIAARENA*) > 2.3.1 Copy DRI driver source code to source tree... > cp /root/cn-cle-pmxf40056-kernel/src/DRI/*=20 > /dri-cvs/xc/xc/lib/GL/mesa/src/drv/via > 2.3.2 #cd /dri-cvs/xc/xc/lib/GL/mesa/src/drv/via > 2.3.3 #dos2unix * > 2.3.4 Copy dri.c in DRI driver to /dri-cvs/xc/xc/programs/Xserver/GL/dr= i > 2.3.5 Copy dri_util.c in DRI driver to /dri-cvs/xc/xc/lib/GL/dri > 2.3.6 Copy glxcmds.c in DRI driver to /dri-cvs/xc/xc/lib/GL/glx > 2.3.7 Copy xf86dri.c in DRI driver to /dri-cvs/xc/xc/lib/GL/dri > 2.4 Make a build tree > 2.4.1 #cd ~/dri-cvs/ > 2.4.2 #ln -s xc XFree40 > 2.4.3 #mkdir build > 2.4.4 #cd build > 2.4.5 #lndir -silent -ignorelinks ../XFree40 > 2.5 Edit file ~/dri-cvs/build/xc/config/cf/host.def > 2.5.1 Search for string "DriDrivers" > 2.5.2 Add "via" into this define > 2.5.3 Add "#define DefaultGcc2i386Opt -g" > 2.5.3 Add "#define MesaUse3DNow NO" > 2.6 Compilation > 2.6.1 cd ~/dri-cvs/build/xc > 2.6.2 make World >& world.log & >=20 > I stopped here, because in the middle of compilation, i got an error...=20 > My world.log is attached below. >=20 >=20 > What im doing wrong? There is another way? Please, someone help-me=20 > because im lost! >=20 >=20 > Thanks! >=20 --=20 S=E9rgio M.B. |