[FreeNX-kNX] nx 3.1.0 on x86_64: Core.o: relocation R_X86_64_32S against `vtable for CorePoller'
Axel Thimm
Axel.Thimm at ATrpms.net
Mon Jan 7 01:00:26 UTC 2008
Hi,
has anyone succeeded in building nx 3.1.0 on 64 bits? My build fails
with
g++ -o libXcompshad.so.3.1.0 -Wl,-soname,libXcompshad.so.3 Core.o Input.o Logger.o Shadow.o X11.o Win.o Updater.o Manager.o -L../nx-X11/exports/lib-shared -L/usr/X11R6/lib -lX11 -lXtst -lXrandr -lXdamage
/usr/bin/ld: Core.o: relocation R_X86_64_32S against `vtable for CorePoller' can not be used when making a shared object; recompile with -fPIC
Core.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
But I added -fPIC and later even -DPIC just in case to Core.c's build:
gcc -c -g -ansi -Wall -Wpointer-arith -Wundef -I../.. -I../../exports/include -Dlinux -D__amd64__ -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 -DUSE_SNPRINTF -DLIBXT -DNX_TRANS_SOCKET -fPIC -DPIC Core.c
Help?! :)
Thanks!
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20080107/7bb4bc62/attachment.sig>
More information about the FreeNX-kNX
mailing list