trying to emerge nxserver-freenx. /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: Loop.o: relocation R_X86_64_32 against `std::cerr' can not be used when making a shared object; recompile with -fPIC Loop.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [libXcomp.so.1.4.0] Error 1 make[4]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nxcomp' make[3]: *** [../../../nxcomp/libXcomp.so] Error 2 make[3]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nx-X11/lib/X11' make[2]: *** [depend] Error 2 make[2]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nx-X11/lib' make[1]: *** [depend] Error 2 make[1]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nx-X11' make: *** [World] Error 2 Reproducible: Always Steps to Reproduce: 1.emerge nx-x11 nxserver-freenx 2. 3. Actual Results: see details Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 x86_64) ================================================================= System uname: 2.6.11-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 27 2005, 21:43:53)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.5, 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa berkdb bitmap-fonts cdr commericial crypt cups curl dba esd fam flac font-server foomaticdb footmaticdb fortran gd gd-external gdbm gif gnome gpm gstreamer gtk imagemagick imlib ipv6 java jp2 jpeg kde libwww lzw lzw-tiff mad madd motif mozilla mp3 mysql ncurses nls oggvorbis opengl oss pam perl png python qt readline sdl server ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xrandr xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Well, I've gotten past this problem. I had to open the archive and change the Makefile.in. I added the -fPIC flag to the CXXFLAGS. I think this should only be done for AMD64 (from what I've read of PIC, it can cause performance issues on other architectures). NXComp now ebuilds cleanly for me (after hacking the nx-x11 ebuild stuff. That's a first for me). However, I now have run into a different issue. NXViewer won't build (as a part of NX-X11). Here's the offending output: gcc -o nxviewer -O2 -fno-strength-reduce -fno-strict-aliasing -L../../nx-X11/exports/lib argsresources.o colour.o cursor.o desktop.o dialogs.o fullscreen.o listen.o misc.o popup.o rfbproto.o selection.o shm.o sockets.o tunnel.o vncviewer.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 ./libvncauth.a -L/usr/local/lib -lz -L/usr/local/lib -ljpeg -L../../nxcomp -lXcomp -L../../nxcompext -lXcompext ../../nxcompext/libXcompext.a(NXlib.o)(.text+0xea): In function `NXGetControlParameters': : undefined reference to `_NXEnableCleanGet' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x227): In function `NXGetControlParameters': : undefined reference to `_NXLostSequenceFunction' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x231): In function `NXGetControlParameters': : undefined reference to `_NXFlushSize' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x254): In function `NXGetControlParameters': : undefined reference to `_NXEnableCleanGet' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x2ee): In function `NXGetCleanupParameters': : undefined reference to `_NXEnableCleanGet' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3a5): In function `NXGetCleanupParameters': : undefined reference to `_NXCleanupEnvironmentCached' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3b0): In function `NXGetCleanupParameters': : undefined reference to `_NXEnableCleanAlloc' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3b6): In function `NXGetCleanupParameters': : undefined reference to `_NXEnableCleanFlush' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3c0): In function `NXGetCleanupParameters': : undefined reference to `_NXEnableCleanSend' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3c7): In function `NXGetCleanupParameters': : undefined reference to `_NXEnableCleanImages' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3ce): In function `NXGetCleanupParameters': : undefined reference to `_NXEnableCleanGet' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3f7): In function `NXGetCleanupParameters': : undefined reference to `_NXEnableCleanGet' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x48e): In function `NXGetImageParameters': : undefined reference to `_NXEnableCleanGet' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x53b): In function `NXGetImageParameters': : undefined reference to `_NXEnableImageSplit' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x542): In function `NXGetImageParameters': : undefined reference to `_NXEnableImageMask' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x548): In function `NXGetImageParameters': : undefined reference to `_NXEnableImageFrame' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x55d): In function `NXGetImageParameters': : undefined reference to `_NXColorParams' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x566): In function `NXGetImageParameters': : undefined reference to `_NXColorParams' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x571): In function `NXGetImageParameters': : undefined reference to `_NXColorParams' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x57c): In function `NXGetImageParameters': : undefined reference to `_NXColorParams' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x595): In function `NXGetImageParameters': : undefined reference to `_NXSplitParams' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x5a0): In function `NXGetImageParameters': : undefined reference to `_NXSplitParams' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x5a9): In function `NXGetImageParameters': : undefined reference to `_NXSplitParams' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x5b2): In function `NXGetImageParameters': : undefined reference to `_NXSplitParams' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x5be): In function `NXGetImageParameters': : undefined reference to `_NXImageEnvironmentCached' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x60b): In function `NXGetImageParameters': : undefined reference to `_NXEnableCleanGet' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x687): In function `NXGetUnpackParameters': : undefined reference to `_NXEnableCleanGet' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x723): In function `NXGetUnpackParameters': : undefined reference to `_NXEnableCleanGet' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x804): In function `NXGetShmemParameters': : undefined reference to `_NXEnableCleanGet' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x8e6): In function `NXGetShmemParameters': : undefined reference to `_NXEnableCleanGet' ../../nxcompext/libXcompext.a(NXlib.o)(.text+0x971): more undefined references to `_NXEnableCleanGet' follow collect2: ld returned 1 exit status make[2]: *** [nxviewer] Error 1 make[2]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nxviewer/nxviewer' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nxviewer' make: *** [World] Error 2 !!! ERROR: net-misc/nx-x11-1.4.0-r4 failed. !!! Function src_compile, Line 52, Exitcode 2 !!! unable to make nxviewer !!! If you need support, post the topmost build error, NOT this status message. I was assuming that there was an issue with nxviewer, but maybe I'm wrong and the problem is in nxcompext. I'd really like to see this package for AMD64. Here's my emerge --info: Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 x86_64) ================================================================= System uname: 2.6.11-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 20 2005, 01:11:29)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.4_p6, 1.9.5, 1.6.3, 1.7.9-r1 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe -fPIC" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa arts berkdb bitmap-fonts bonobo cdr crypt cups curl esd fam flac font-server foomaticdb fortran ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml hal howl imagemagick imlib ipv6 jack java jp2 jpeg kde lzw lzw-tiff mad mikmod motif mp3 ncurses nls oggvorbis opengl oss pam perl png python qt readline samba sdl sqlite ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xmms xpm xrandr xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Created attachment 55357 [details, diff] Patches to the nx-x11 ebuild This adds the ~amd64 keyword as well as some patches that need to be added to the source to get it to compile.
Created attachment 55359 [details, diff] Patches to the nxcomp library This attachment adds the -fPIC to the compiling of the nxcomp library. This is needed to get this library to be usable on the AMD64 platform.
Created attachment 55360 [details, diff] Patches to the nxcompext library This patch adds the -fPIC to the compile flags for the nxcompext library. This allows the library to be used on the AMD64 platform (allows nx-X11 to compile).
Created attachment 55361 [details, diff] Patches to the X11 library This patch creates and if-def for the x86_64. This allows the X11 library to be compiled on AMD64.
Created attachment 55363 [details, diff] Patches to the nxproxy ebuild Just adds the ~amd64 keyword. Not sure this is necessary.
Created attachment 55364 [details, diff] Patches to the nxserver-freenx ebuild Patch to add the ~amd64 keyword. Not sure this is necessary.
Well, I've gotten this bad boy to ebuild for me now. I created the necessary patches to get it to work for the AMD64 for everyone else. Can someone test this? It ebuilds, but whether or not it works, I haven't had time to try.
Hi, I don't have a working Gentoo/AMD64 system, so I can't test these patches (and therefore can't accept them safely into Portage atm). CC'ing the AMD64 arch team in the hope that someone there could test these patches for us. AMD64 team: please note that these patches will need testing on x86 as well before they can be added to the tree. Best regards, Stu
The nx-x11-1.4.0.ebuild-amd64.patch failed to apply for me when I was testing this: handel nx-x11 # patch -p1 < /root/nx-x11-1.4.0.ebuild-amd64.patch patching file nx-x11-1.4.0-r4.ebuild Hunk #1 FAILED at 21. 1 out of 2 hunks FAILED -- saving rejects to file nx-x11-1.4.0-r4.ebuild.rej handel nx-x11 # This is due to the fact that somebody changed the ~ppc keyword to ppc in line 24 of the original ebuild sometime after this patch was created, which breaks the original context of this patch. This is easily fixed by modifying the patch, but I am just mentioning this to make you all aware of the issue. I am still testing this, will send another update in soon.
I finally got nx-x11 to build with the patches. However, the patch for the nx-x11 ebuild is missing inclusion of several of the patches which permit nx-x11 to build. I shall attach a modified version of the nx-x11 ebuild that fixes this.
Created attachment 61697 [details, diff] Patches to the nx-x11 ebuild
When I attempted to run nxviewer, I got the following error: handel ~ # /usr/NX/bin/nxviewer /usr/NX/bin/nxviewer: error while loading shared libraries: libXcomp.so.1: cannot open shared object file: No such file or directory handel ~ # It appears that libXcomp.so.1 is located in /usr/NX/lib64 on amd64. Perhaps a simple fix would be to modify the ebuild script to add this directory to /etc/ld.so.conf. However, there seems to be additional problems, namely, that nxviewer is looking for some command called nxclient that does not appear to exist: handel ~ # LD_LIBRARY_PATH=/usr/NX/lib64 /usr/NX/bin/nxviewer testdrive.nomachine.com Info: Connecting to RFB server 'testdrive.nomachine.com'. nxviewer: Connection refused. NXDialog: WARNING! Couldn't invoke 'nxclient'. Error is 2 'No such file or directory'. Warning: Couldn't invoke 'nxclient'. Error is 2 'No such file or directory'. NXDialog: WARNING! Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4:/opt/blackdown-jdk-1.4.2.01/bin:/opt/blackdown-jdk-1.4.2.01/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin'. Warning: Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4:/opt/blackdown-jdk-1.4.2.01/bin:/opt/blackdown-jdk-1.4.2.01/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin'. NXDialog: WARNING! Couldn't invoke 'nxclient'. Error is 2 'No such file or directory'. Warning: Couldn't invoke 'nxclient'. Error is 2 'No such file or directory'. NXDialog: WARNING! Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4:/opt/blackdown-jdk-1.4.2.01/bin:/opt/blackdown-jdk-1.4.2.01/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin'. Warning: Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4:/opt/blackdown-jdk-1.4.2.01/bin:/opt/blackdown-jdk-1.4.2.01/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin'. I am unsure as to the origin of nxclient.
Ah, I see nxclient is built separately, in net-misc/nxclient. Perhaps the ebuild should have a RDEPEND line for this?
nxclient seems to be a precompiled 32-bit binary. This is problematic on amd64, as the 32-bit libraries for NX do not exist: handel ~ # ldd /usr/NX/bin/nxclient linux-gate.so.1 => (0xffffe000) libqt-mt.so.3 => not found libXext.so.6 => not found libX11.so.6 => not found libpthread.so.0 => /lib32/libpthread.so.0 (0x55585000) libstdc++.so.5 => not found libm.so.6 => /lib32/libm.so.6 (0x555d8000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32/libgcc_s.so.1 (0x555fb000) libc.so.6 => /lib32/libc.so.6 (0x55604000) /lib/ld-linux.so.2 (0x55555000) handel ~ # My 32-bit chroot is broken, so I do not have an easy way to build the 32-bit versions of the libraries here. It would be best if someone could compile a 64-bit version of nxclient and/or nxproxy for amd64. I am unable to test this much further on amd64, due to this issue.
Disregard my previous note, the missing 32-bit libraries seem to be standard C++ and X11/Qt libraries. I have emerged the appropriate emul-linux-* packages to continue testing this. I still stand by my previous comment, though -- having 64-bit precompiled binaries of things like nxclient would be preferable on amd64.
OK, I was finally able to bring up nxclient at attempt to connect to the TestDrive server at testdrive.nomachine.com, port 22. However, after nxclient authenticates to my testdrive account, it dies with a "proxy libraries not found" message. I am not sure what these proxy libraries are, nor how to obtain them. I do have the nxproxy program emerged, though I am not sure if this is what the nxclient utility is looking for. I think I have gone about as far as I can go without additional intervention from the NX team. I am a newbie to NX, so I would welcome any advice or suggestions on where to go from here, insofar as testing NX on amd64 goes.
While I'm adding me to the cc list, I'll also offer some testing. I'm no dev, but I have an amd64 box. Willing to test stuff if anyone wants.
Created attachment 64025 [details, diff] Patches to the nxssh ebuild Adds the ~amd64 keyword to the nxssh ebuild.
Well, with the patches here I can cleanly compile nxserver-freenx (and all deps), but if I try to connect to the server nxagent segfaults: Jul 21 20:13:57 linux nxagent[14249]: segfault at 0000000000000000 rip 0000000000460c76 rsp 00007fffffc72ad0 error 6 linux ~ # emerge info Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r2 x86_64) ================================================================= System uname: 2.6.12-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre1 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ccccom.com" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X aac alsa apache2 avi berkdb bitmap-fonts bzip2 crypt cups curl dvb dvd encode fam ffmpeg fftw flac foomaticdb fortran gd gif gpm gtk gtk2 imlib java jpeg kde kdeenablefinal libwww lzw lzw-tiff mad mozilla mp3 mpeg mpeg4 mysql ncurses nls nptl ogg oggvorbis opengl pam pdflib perl php png python qt quicktime readline samba sdl server spell sql ssl tcpd theora tidy tiff transcode truetype truetype-fonts type1-fonts usb userlocales v4l vorbis xine xml xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Hey! What a pity I didn't see this bug before (I was looking for some other nx component), because I duplicated the fixes for the nx-x11 ebuild). The fixes I did were basically the same (-fPIC for Makefile.in for nxcomp and nxcompext and #define fixing in XlcDL.c). I've successfuly tested the "remote" part of these packages on amd64: when using a x86 local display server. This means: - I emerged nx-x11 and a modified (add amd64) nxproxy at my remote amd64 machine. - I emerged nx-x11, nxproxy, xclient and dependencies at my local x86 machine. - I ran in remote machine: LD_LIBRARY_PATH=/usr/NX/lib64:$LD_LIBRARY_PATH nxproxy -C :8 & - I ran in local machine: LD_LIBRARY_PATH=/usr/NX/lib:$LD_LIBRARY_PATH nxproxy -S remote_machine:8 & - I ran in remote machine: DISPLAY=:8 xclock & And this worked (I mean the I got the remote xclock to display localy through nxproxy). I think that in this direct, successful connection, nxclient didn't get executed (so it's not needed perhaps?). Sorry, but I don't know nx technology too well, so excuse my flaky reports... What I mean is that if this combination worked, at least (for me) these two packages I used at the remote machine (nxproxy and nx-x11) are working with these fixes.
Apparently there are many problems with nx on amd64, so I'd prefer to no keyword it for now until somebody provides a patch which also fixes the segfaults and other errors. thanks for your efforts though!