projectroot makes ld not work

Christoffer Brodd-Reijer ephracis at linux.se
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 
http://dri.freedesktop.org/wiki/Building, but this one installs over the 
existing xorg). So I fetched the cvs and the host.def from 
http://freedesktop.org/~fxkuehl/host.def. 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 
`/home/mezzymeat/packages/unichrome/build/xc/lib/Xxf86vm'
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                                  
-DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT 
-DXUSE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL     -fPIC XF86VMode.c
rm -f libXxf86vm.so.1.0~
+ cd .
+ gcc -m32 -o ./libXxf86vm.so.1.0~ -shared -Wl,-soname,libXxf86vm.so.1 
XF86VMode.o -L../../exports/lib -L/home/mezzymeat/program/xorg/lib 
-lXext -lX11 -lc
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: 
cannot find -lXext
collect2: ld returned 1 exit status
make[4]: *** [libXxf86vm.so.1.0] Error 1
make[4]: Leaving directory 
`/home/mezzymeat/packages/unichrome/build/xc/lib/Xxf86vm'
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