<br><font size=2 face="sans-serif">Adriano,</font>
<br>
<br><font size=2 face="sans-serif">For some reason the autoconf scripts
fail to turn on Postition Independent Code generation on the POWER platform</font>
<br>
<br><font size=2 face="sans-serif">You need to edit the toplevel Makefile
and add the -fPIC flag to CXXFLAGS and CCFLAGS so that they look like this</font>
<br>
<br><font size=3>CXXFLAGS = -O3 </font><font size=3 color=red>-fPIC</font><font size=3>
-I../nx-X11/exports/include -Wno-deprecated -DIN_ADDR_T=<br>
in_addr_t -DVERSION=\"1.5.0\" -I/usr/X11R6/include -DPACKAGE_NAME=\"\"
-DPACKAG<br>
E_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=<br>
\"\" \<br>
-Wall -Wpointer-arith</font>
<p><font size=3>CCFLAGS = </font><font size=3 color=red>-fPIC</font><font size=3>
-I/usr/X11R6/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=<br>
\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" \<br>
-Wall -Wpointer-arith</font>
<p><font size=2 face="sans-serif">Likewise if you  are also trying
to compile ncompext you will have to pass the -fPIC option to CXXFLAGS
again as such</font>
<br>
<br><font size=3>CXXFLAGS = -O3 </font><font size=3 color=red>-fPIC</font><font size=3>
-DVERSION=\"1.5.0\" -I/usr/X11R6/include -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -D__USE_MALLOC \<br>
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \<br>
-Wmissing-declarations -Wnested-externs </font>
<p><font size=2 face="sans-serif">I recently managed to port the NoMachine
OSS Components to the POWER platform, more specifically an IBM OpenPower
720 running Suse and an IBM JS20 running Gentoo/PPC64. The performance
on the OpenPower is just fantastic!</font>
<p><font size=2 face="sans-serif">Hope this helps,<br>
Vishnu.</font>