×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.





These error messages seem to imply that Curses wasn't compiled correctly. TN5250 assumes that libcurses is available as a dynamically linked shared object, but your copy wasn't compiled in a manner that allows dynamic linking.

I'm wondering why you'd want to run the curses version of TN5250 on a Linux partition on an iSeries? Seems like it'd make more sense to run the emulator on the workstation rather than the server.

---
Scott Klement  http://www.scottklement.com

On Thu, 6 Apr 2006, Jay Moore wrote:

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

--
Jay Moore
MooreTec Consulting
343.4534
jmoore@xxxxxxxxxxxx
http://www.mooretec.net
--
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2026 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.