projectroot makes ld not work

Christoffer Brodd-Reijer ephracis at
Tue Apr 26 07:17:32 PDT 2005

I want to compile the CVS of xorg and not install it over my existing 
xorg. So I read the CVS page on the xorg wiki. My intentions are to 
install DRI and DRM for my VIA video card (following a guide at, but this one installs over the 
existing xorg). So I fetched the cvs and the host.def from Now I added #define 
ProjectRoot and NothingOutsideProjectRoot, so I could install this new 
xorg at some location and then just make a symlink.

When I tried to compile I got this error:

making all in lib/Xxf86vm...
make[4]: Entering directory 
rm -f XF86VMode.o
gcc -m32 -c -O2 -gstabs+ -pipe  -ansi -pedantic -Wall -Wpointer-arith 
-Wstrict-prototypes                         -Wmissing-prototypes 
-Wmissing-declarations     -Wredundant-decls -Wnested-externs -Wundef    
-I../.. -I../../exports/include -I/home/mezzymeat/program/xorg/include  
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L  -D_POSIX_SOURCE 
-D_XOPEN_SOURCE                               -D_BSD_SOURCE 
-D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64  -D_GNU_SOURCE                                  
rm -f
+ cd .
+ gcc -m32 -o ./ -shared -Wl,-soname, 
XF86VMode.o -L../../exports/lib -L/home/mezzymeat/program/xorg/lib 
-lXext -lX11 -lc
cannot find -lXext
collect2: ld returned 1 exit status
make[4]: *** [] Error 1
make[4]: Leaving directory 
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/mezzymeat/packages/unichrome/build/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mezzymeat/packages/unichrome/build/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/mezzymeat/packages/unichrome/build/xc'
make: *** [World] Error 2

What am I doing wrong?

More information about the xorg mailing list