Background: new computer, fresh Ubuntu 11.10 install, compiled tn5250
from cvs source.

I resolved the obvious issues by installing missing -dev packages but
still have one I haven't figured out.

I get a bunch of error from make like:
x5250.c:1896: undefined reference to `tn5250_config_parse_argv'

Sounds to me like you have done everything correctly, but I'm wondering if
cvs is missing some code. I can't seem to get cvs to work right now, but
here is a copy I have of tn5250 that should work:

http://www.chowhouse.com/~james/x5250/tn5250-cvs.tar.gz

Please report back if this fixes your problems and I'll see what I can do
about cvs.

James Rich

Diff tells me the only differences are the sslstream.c that I modified to omit sslv2, the files that were created in my tn5250 directory due to compilation, and files in CVS directories (Root and Entries).

Furthermore, picking on my example error, I see the following in my source:
lib5250/conf.h:extern int tn5250_config_parse_argv (Tn5250Config *This,
lib5250/conf.c:tn5250_config_parse_argv (Tn5250Config * This, int argc, char **argv)

Other examples appear to exist as well. It just seems like make can't find what it needs for some reason.

The line before the errors start:
gcc -DDATADIR=\"/usr/local/share\" -g -O2 -l5250 -o x5250 alloccolors.o debug.o dialog.o help.o mouse.o key.o resources.o x5250.o x5250term.o -lX11 -lXext

I also should have specified that I downloaded x5250-0.5.3.tar.gz which was the latest version I could find.
--
Sean Porterfield

This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.