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

Adriano Frare alfrare at e-alinux.com
Thu Sep 1 21:50:35 UTC 2005


Daet Mohan,

I do it and work now. I solved yestarday.

Now. I am with other problem on nxssh.

when I compile , I rhave received follow mmessages


======= BEGIN ======================


afrare at LoPdev:~/nx/nxssh> make
(cd openbsd-compat && make)
make[1]: Entering directory `/home/afrare/nx/nxssh/openbsd-compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/afrare/nx/nxssh/openbsd-compat'
gcc -o nxssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o 
readconf.o clientloop.o -L. -Lopenbsd-compat/  -lssh -lopenbsd-compat 
-lutil -lz -lnsl  -lcrypto -lcrypt
/usr/local/lib/libcrypto.a(dso_dlfcn.o)(.text+0x378): In function 
`dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3b8): In function 
`dlfcn_bind_func':
: undefined reference to `dlerror'
/usr/local/lib/libcrypto.a(dso_dlfcn.o)(.text+0x4b4): In function 
`dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/lib/libcrypto.a(dso_dlfcn.o)(.text+0x51c): In function 
`dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/lib/libcrypto.a(dso_dlfcn.o)(.text+0x5b4): In function 
`dlfcn_unload':
: undefined reference to `dlclose'
/usr/local/lib/libcrypto.a(dso_dlfcn.o)(.text+0x654): In function 
`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/lib/libcrypto.a(dso_dlfcn.o)(.text+0x70c): In function 
`dlfcn_load':
: undefined reference to `dlerror'
/usr/local/lib/libcrypto.a(dso_dlfcn.o)(.text+0x73c): In function 
`dlfcn_load':
: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make: *** [nxssh] Error 1

============================================================================


Thanks again for your help.

Adriano
Vishnu.Mohan at tsysprepaid.com wrote:
> 
> 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.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> FreeNX-kNX mailing list
> FreeNX-kNX at kde.org
> https://mail.kde.org/mailman/listinfo/freenx-knx



More information about the FreeNX-kNX mailing list