Hi everybody,

An extra PC here at work became available, so I installed Fedora
Core 1 from Red Hat on it and tried to compile version 0.16.5 of
TN5250. The configure script ran fine, but when I ran make I got:

gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/usr/local/etc\" -g -O2 -c `test -f tn5250.c || echo './'`tn5250.c
tn5250.c:181:11: missing terminating " character
tn5250.c: In function `syntax':
tn5250.c:183: error: syntax error before "tn5250"
tn5250.c:183: error: stray '\' in program
tn5250.c:183:56: missing terminating " character
make[2]: *** [tn5250.o] Error 1
make[2]: Leaving directory `/home/brian/tn5250-0.16.5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/brian/tn5250-0.16.5/src'
make: *** [all-recursive] Error 1

Here is the relevant ource code for tn5250.c

line180: #ifdef HAVE_LIBSSL
line181:   printf("\
line182:   To connect using ssl prefix HOST with 'ssl:'.  Example:
line183:      tn5250 +ssl_verify_server ssl:as400.example.com\n");
line184: #endif

Oddly enough, if I just made one long printf statement out of it,
it worked fine. Has anyone else tried to compile on Fedora? I
don't think I used the SSL options when I compiled it on my
Red Hat 9 box.

Brian Finn

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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