On Tue, 2001-12-11 at 14:51, Michael Thaler wrote:
> On Tue, Dec 11, 2001 at 12:45:59PM +0000, Jose Fonseca wrote:
> 
> > Me neither. That's not a problem, just login as anonymous:
> > 
> > cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/dri login
> > 
> > Press enter for password and then 
> > 
> > cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/dri co -r
> > mach64-0-0-2-branch xc
> 
> I start to feel really stupid. I tryed it again and again I got
> errors. I followed your instructions and did:
> 

Don't. Obviously the problem isn't in the cvs checkout after all.

> mkdir DRI-CVS
> cd DRI-CVS
> cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/dri login
> cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/dri co
> -r mach64-0-0-2-branch xc
> ln -s xc XFree40
> mkdir build
> cd build
> lndir -silent -ignorelinks ../XFree40
> cd ~/DRI-CVS/build/xc/
> make World >& World.LOG
> 
> 
> + gcc -o ./libGL.so.1.2~ -shared -Wl,-soname,libGL.so.1
> ../../../lib/GL/glx/clientattrib.o ../../../lib/GL/glx/compsize.o
> ../../../lib/GL/glx/dispatch.o ../../../lib/GL/glx/eval.o
> ../../../lib/GL/glx/glapinoop.o ../../../lib/GL/glx/glapi.o
> ../../../lib/GL/glx/glapi_x86.o ../../../lib/GL/glx/glthread.o
> ../../../lib/GL/glx/glxcmds.o ../../../lib/GL/glx/glxext.o
> ../../../lib/GL/glx/g_render.o ../../../lib/GL/glx/g_single.o
> ../../../lib/GL/glx/g_vendpriv.o ../../../lib/GL/glx/indirect_init.o
> ../../../lib/GL/glx/pixel.o ../../../lib/GL/glx/pixelstore.o
> ../../../lib/GL/glx/render2.o ../../../lib/GL/glx/renderpix.o
> ../../../lib/GL/glx/single2.o ../../../lib/GL/glx/singlepix.o
> ../../../lib/GL/glx/vertarr.o ../../../lib/GL/glx/xfont.o
> ../../../lib/GL/dri/XF86dri.o ../../../lib/GL/dri/dri_glx.o -lpthread
> -L../../../exports/lib -L/usr/X11R6-DRI/lib -lXext -lX11 -ldl -lc
> /usr/bin/ld: cannot find -lXext
> collect2: ld returned 1 exit status
> + rm -f libGL.so.1
> + ln -s libGL.so.1.2 libGL.so.1
> + rm -f ../../../exports/lib/libGL.so.1
> + cd ../../../exports/lib
> + ln -s ../../lib/GL/GL/libGL.so.1 .
> rm -f libGL.so.1.2
> mv -f libGL.so.1.2~ libGL.so.1.2
> mv: cannot stat `libGL.so.1.2~': No such file or directory
> make[5]: *** [libGL.so.1.2] Error 1
> 
> > I've checked and Xext is not built after all. It must be already
> > available. For that you need to make the 'lndir' stuff _before_ building
> > so that the linker finds it (note the "-L/usr/X11R6-DRI/lib" in the
> > command line).
> 
> How do I have to do that? I don't think that lndir'ing from /usr/X11R6
> to /usr/X11R6-DRI will do any good. 
> 

It will put a symbolic link of /usr/X11R6/lib/libXext.so in
/usr/X11R6-DRI/lib/libXext.so. The flag -L/usr/X11R6-DRI/lib tell the
linker to search the -lXext (i.e., libXext.a or .so) in the
/usr/X11R6-DRI/lib. So I'm pretty sure that it will fix this particular
problem.

When I built the tree myself I also had some problems (different ones)
but eventually when I built the tree successfully for the first time I
already had the /usr/X11R6-DRI dir.. which corroborates with my hunch.

Give it a try. It shouldn't even be necessary to rebuild the tree. In
the ~/DRI-CVS/build/xc/ as is just do

mkdir /usr/X11R6-DRI
lndir /usr/X11R6 /usr/X11R6-DRI
make World >& World.LOG

If there is an error in the same place, then it will be I the one that
will start to feel really stupid! :-)

> As soon as I managed to compile this I will write a short compilation
> guide because I think the compilation guide on the webpage is really
> outdated and there are probably a lot of people who want to get the
> mach64 working.
> 
> Thanks for your help,
> Michael
> 

That will surely be appreciated.

Regards,

Jose Fonseca


_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to