[FreeNX-kNX] ERROR - Compile NXLIBS 1.4 to SUSE PowerPC

Vishnu.Mohan at tsysprepaid.com Vishnu.Mohan at tsysprepaid.com
Thu Sep 1 19:52:05 UTC 2005


Adriano,

For some reason the autoconf scripts fail to turn on Postition Independent 
Code generation on the POWER platform

You need to edit the toplevel Makefile and add the -fPIC flag to CXXFLAGS 
and CCFLAGS so that they look like this

CXXFLAGS = -O3 -fPIC -I../nx-X11/exports/include -Wno-deprecated 
-DIN_ADDR_T=
in_addr_t -DVERSION=\"1.5.0\" -I/usr/X11R6/include -DPACKAGE_NAME=\"\" 
-DPACKAG
E_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
-DPACKAGE_BUGREPORT=
\"\" \
-Wall -Wpointer-arith
CCFLAGS = -fPIC -I/usr/X11R6/include -DPACKAGE_NAME=\"\" 
-DPACKAGE_TARNAME=
\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
\
-Wall -Wpointer-arith
Likewise if you  are also trying to compile ncompext you will have to pass 
the -fPIC option to CXXFLAGS again as such

CXXFLAGS = -O3 -fPIC -DVERSION=\"1.5.0\" -I/usr/X11R6/include 
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -D__USE_MALLOC \
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs 
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!
Hope this helps,
Vishnu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20050901/2735d130/attachment.html>


More information about the FreeNX-kNX mailing list