From: Felix <fx...@gm...> - 2004-10-04 09:41:36
|
On Sun, 3 Oct 2004 10:42:04 -0700 (PDT) Pasi Rehtonen <re...@ya...> wrote: > OK I managed to compile Xorg CVS (just missed couple > of devel-packages.. thanks Felix :) ) but when I tried > to compile it again with DRI (mesa & drm cvs from > dri.freedesktop.org) compilation stopped and the error > was (world.log): Sorry, just after I told you how to compile stuff from source the build of the latest Mesa DRI drivers in Xorg broke. I'm going to update the build instructions soon. The only driver that doesn't build in Xorg right now is r128. Since you want to compile only the radeon driver you can continue building everything in Xorg for now. Just edit host.def and change the line #define DriDrivers <long list of drivers> into #define DriDrivers radeon That should also reduce the build time. Felix >=20 > rm -f mga_xmesa.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/mga/mga_xmesa.c > mga_xmesa.c > rm -f mga_xmesa.h > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/mga/mga_xmesa.h > mga_xmesa.h > make[5]: Leaving directory > `/home/pasi/dri/xc/lib/GL/mesa/drivers/dri/mga' > including in lib/GL/mesa/drivers/dri/r128... > make[5]: Entering directory > `/home/pasi/dri/xc/lib/GL/mesa/drivers/dri/r128' > rm -f r128_context.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_context.c > r128_context.c > rm -f r128_context.h > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_context.h > r128_context.h > rm -f r128_dd.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_dd.c > r128_dd.c > rm -f r128_dd.h > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_dd.h > r128_dd.h > rm -f r128_ioctl.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_ioctl.c > r128_ioctl.c > rm -f r128_ioctl.h > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_ioctl.h > r128_ioctl.h > rm -f r128_lock.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_lock.c > r128_lock.c > rm -f r128_lock.h > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_lock.h > r128_lock.h > rm -f r128_screen.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_screen.c > r128_screen.c > rm -f r128_screen.h > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_screen.h > r128_screen.h > rm -f r128_span.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_span.c > r128_span.c > rm -f r128_span.h > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_span.h > r128_span.h > rm -f r128_state.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_state.c > r128_state.c > rm -f r128_state.h > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_state.h > r128_state.h > rm -f r128_tex.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_tex.c > r128_tex.c > rm -f r128_tex.h > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_tex.h > r128_tex.h > rm -f r128_texmem.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_texmem.c > r128_texmem.c > rm -f r128_texobj.h > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_texobj.h > r128_texobj.h > rm -f r128_texstate.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_texstate.c > r128_texstate.c > rm -f r128_tris.c > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_tris.c > r128_tris.c > rm -f r128_tris.h > ln -s > /home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_tris.h > r128_tris.h > make[5]: *** No rule to make target > `/home/pasi/dri/Mesa/src/mesa/drivers/dri/r128/r128_vb.c', > needed by `r128_vb.c'. Stop. > make[5]: Leaving directory > `/home/pasi/dri/xc/lib/GL/mesa/drivers/dri/r128' > make[4]: *** [includes] Error 2 > make[4]: Leaving directory > `/home/pasi/dri/xc/lib/GL/mesa/drivers/dri' > make[3]: *** [includes] Error 2 > make[3]: Leaving directory `/home/pasi/dri/xc/lib/GL' > make[2]: *** [includes] Error 2 > make[2]: Leaving directory `/home/pasi/dri/xc/lib' > make[1]: *** [includes] Error 2 > make[1]: Leaving directory `/home/pasi/dri/xc' > make: *** [World] Error 2 >=20 >=20 > I don't know if the problem is my host.def (I just > don't seem to get it right) or what... a snip from > host.def: >=20 >=20 > * The distributed version of this file MUST contain > no uncommented > * definitions. Default definitions belong in > xfree86.cf, or <vendor>.cf > * files. > */ > /************************************************************************= ******/ > =20 > #define ProjectRoot /home/pasi/dri/xorg_cvs > #define NothingOutsideProjectRoot YES > #define MesaSrcDir /home/pasi/dri/Mesa=20 > #define DRMSrcDir /home/pasi/dri/drm >=20 > /* > * If you have build-specific modifications in your > host.def file, but > * want an empty host.def file installed when doing > 'make install', > * uncomment the following > * > #define InstallEmptyHostDef > */ >=20 >=20 >=20 > =09 > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. > http://promotions.yahoo.com/new_mail >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out mo= re > http://productguide.itmanagersjournal.com/guidepromo.tmpl > -- > _______________________________________________ > Dri-users mailing list > Dri...@li... > https://lists.sourceforge.net/lists/listinfo/dri-users >=20 | Felix K=FChling <fx...@gm...> http://fxk.de.vu | | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 | |