Re: [Xf4vnc-devel] How to build xf4vnc from CVS
Brought to you by:
alanh
From: Daniel A. F. <Da...@di...> - 2004-08-03 15:08:22
|
Thanks for the tips Alex, <excerpt>cp xc/programs/Xserver/hw/xfree86/xf86Version.h xc/config/cf/version.def cp xc/programs/Xserver/hw/xfree86/xf86Date.h xc/config/cf/date.def </excerpt> That helped a lot. <excerpt> The thing you'll have to check before running make World, is that in the libvncauth directory, you have a libvncauth.a and that in the vncviewer directory, you have : copyrect.so, corre.so, hextile.so, rre.so, tight.so and zlib.so. </excerpt> The build script didn't do it but using Daniel's tip, xmkmf -a in libvncauth followed by make, helped get some of these. <excerpt> Then, X should compile fine. </excerpt>Not yet. The build process is still halting with errors but it is getting much further along. Here is how it ends: vncext.c: In function `vncCreateScreenResources': vncext.c:621: warning: void format, different type arg (arg 4) vncext.c:621: warning: void format, different type arg (arg 5) rm -f vnc.so gcc -o vnc.so -shared -L/usr/local/lib vncInit.o cmap.o draw.o rfbserver.o sockets.o auth.o loginauth.o translate.o kbdptr.o hextile.o corre.o cutpaste.o httpd.o rre.o stats.o cursor.o tight.o zlib.o rfbkeyb.o rfbmouse.o vncext.o ../../../../../../libvncauth/libvncauth.a -ljpeg -lcrypt/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: vncInit.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPICvncInit.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[6]: *** [vnc.so] Error 1 make[6]: Leaving directory `/home/dfort/xf4vnc/xc/programs/Xserver/hw/xfree86/vnc'make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/dfort/xf4vnc/xc/programs/Xserver/hw/xfree86'make[4]: *** [hw/xfree86] Error 2 make[4]: Leaving directory `/home/dfort/xf4vnc/xc/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/dfort/xf4vnc/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/dfort/xf4vnc/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/home/dfort/xf4vnc/xc' make: *** [World] Error 2 |