Trying to compile tn5250 with all the latest changes on my old slackware 7.1 laptop just isn't working. The problem is with some new code related to ssl. Here is the compile failure:

gcc -Wall -g -o .libs/scs2ascii scs2ascii.o ./.libs/lib5250.so -lssl -lcrypto -lnsl -lncurses
./.libs/lib5250.so: undefined reference to `ASN1_UTCTIME_cmp_time_t'
collect2: ld returned 1 exit status


The 16 branch doesn't have the call to ASN1_UTCTIME_cmp_time_t() and compiles cleanly. This looks like it is in code related to 3270 communication. Scott, do you know what I can do to get this to compile? Is ASN1_UTCTIME_cmp_time_t() a function in newer versions of openssl? Can we test for this in configure?

btw - I tried compiling with --without-ssl and it compiles the ssl code anyway. Shouldn't this turn off any ssl code?

James Rich

It's not the software that's free; it's you.
        - billyskank on Groklaw

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-2020 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].