× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I am trying to compile tn5250 on an iseries linux ppc server running SUSE for iSeries.

Here is the output from make, any help would be appreciated.

/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o lib5250.la -rpath /usr/local/lib buffer.lo conf.lo cursesterm.lo debug.lo dbuffer.lo display.lo field.lo menu.lo printsession.lo record.lo scrollbar.lo scs.lo session.lo slangterm.lo sslstream.lo stream.lo terminal.lo telnetstr.lo utility.lo version.lo wtd.lo macro.lo window.lo -lssl -lcrypto -lnsl -lncurses gcc -shared .libs/buffer.o .libs/conf.o .libs/cursesterm.o .libs/debug.o .libs/dbuffer.o .libs/display.o .libs/field.o .libs/menu.o .libs/printsession.o .libs/record.o .libs/scrollbar.o .libs/scs.o .libs/session.o .libs/slangterm.o .libs/sslstream.o .libs/stream.o .libs/terminal.o .libs/telnetstr.o .libs/utility.o .libs/version.o .libs/wtd.o .libs/macro.o .libs/window.o -lssl -lcrypto -lnsl -lncurses -Wl,-soname -Wl,lib5250.so.0 -o .libs/lib5250.so.0.0.0 /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: Error: The symbol `wscrl' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/libncurses.a(lib_addch.o)' was compiled without -fPIC. /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: Error: The symbol `unctrl' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/libncurses.a(lib_addch.o)' was compiled without -fPIC. /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: Error: The symbol `__ctype_b_loc@@GLIBC_2.3' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/libncurses.a(lib_addch.o)' was compiled without -fPIC. /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: Error: The symbol `wclrtoeol' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/libncurses.a(lib_addch.o)' was compiled without -fPIC. /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: Error: The symbol `wscrl' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/libncurses.a(lib_addch.o)' was compiled without -fPIC. /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: Error: The symbol `wclrtoeol' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/libncurses.a(lib_addch.o)' was compiled without -fPIC. /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: Error: The symbol `wscrl' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/libncurses.a(lib_addch.o)' was compiled without -fPIC. /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: Error: The symbol `_nc_synchook' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/libncurses.a(lib_addch.o)' was compiled without -fPIC. /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld: Error: The symbol `_nc_synchook' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/libncurses.a(lib_addch.o)' was compiled without -fPIC.
collect2: ld returned 1 exit status
make[2]: *** [lib5250.la] Error 1
make[2]: Leaving directory `/root/tn5250-0.17.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/tn5250-0.17.3/src'
make: *** [all-recursive] Error 1


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.