[FreeNX-kNX] ERROR - Compile NXLIBS 1.4 to SUSE PowerPC
Adriano Frare
alfrare at e-alinux.com
Mon Sep 12 02:00:28 UTC 2005
I solved problem.
When complied include parameters -ldl in Makefile.
Thanks for all
Adriano
Vishnu.Mohan at tsysprepaid.com wrote:
>
> Strangely enough I haven't run into any issues trying to compile nxssh -
> what you could do is try and compile the openssh sources and see if you
> get the same/similar errros. You might be missing some development
> libraries for crypto or ssl.
>
> Are you sure that ./configure doesn't throw any warnings that look
> suspicious - there are times when openssh will not compile cause util.h
> won't compile (I can't remember the exact error off the top of my head)
> but do a 'make clean' and run './configure' again to see if there are
> any warnings that it spits out which might be preventing you from
> completing a successful build.
>
> Regards,
> Vishnu.
>
>
> *Adriano Frare <alfrare at e-alinux.com>*
>
> 09/01/2005 06:50 PM
> Please respond to
> alfrare at e-alinux.com; Please respond to
> User Support for FreeNX Server and kNX Client <freenx-knx at kde.org>
>
>
>
> To
> User Support for FreeNX Server and kNX Client <freenx-knx at kde.org>,
> Vishnu.Mohan at tsysprepaid.com
> cc
>
> Subject
> Re: [FreeNX-kNX] ERROR - Compile NXLIBS 1.4 to SUSE PowerPC
>
>
>
>
>
>
>
>
> 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
> _______________________________________________
> 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