From: James Rich
On Thu, 3 Dec 2009, Porterfield, Sean wrote:
$ x5250 --version
x5250 version: 0.4.6
$ tn5250 -version
tn5250 0.17.1
Maybe I should try something current first :)
Yes, particularly in the case of x5250! The current version is 0.5.2-pre4
available at:
http://www.chowhouse.com/~james/x5250/x5250-0.5.2-pre4.tar.gz
This also requires the newest tn5250 or else configure fails.
Finally getting back to this. Compiled tn5250 from cvs:
$ tn5250 +version
tn5250 0.17.5
Ran configure then make on x5250 and got errors on make:
x5250term.c: In function ‘x5250_terminal_waitevent’:
x5250term.c:1840: warning: passing argument 1 of ‘XRefreshKeyboardMapping’ from incompatible pointer type
gcc -DDATADIR=\"/usr/local/share\" -g -O2 -o x5250 -l5250 alloccolors.o debug.o dialog.o help.o mouse.o key.o resources.o x5250.o x5250term.o -lSM -lICE -lX11 -lXext
mouse.o: In function `buttonreleasehandler':
/usr/local/src/x5250-0.5.2-pre4/src/mouse.c:776: undefined reference to `tn5250_window_list_find_by_id'
/usr/local/src/x5250-0.5.2-pre4/src/mouse.c:800: undefined reference to `tn5250_window_list_find_by_id'
mouse.o: In function `buttonmotionhandler':
/usr/local/src/x5250-0.5.2-pre4/src/mouse.c:480: undefined reference to `tn5250_window_list_find_by_id'
/usr/local/src/x5250-0.5.2-pre4/src/mouse.c:565: undefined reference to `tn5250_window_list_find_by_id'
/usr/local/src/x5250-0.5.2-pre4/src/mouse.c:628: undefined reference to `tn5250_window_list_find_by_id'
mouse.o:/usr/local/src/x5250-0.5.2-pre4/src/mouse.c:230: more undefined references to `tn5250_window_list_find_by_id' follow
x5250.o: In function `main':
/usr/local/src/x5250-0.5.2-pre4/src/x5250.c:307: undefined reference to `tn5250_macro_init'
/usr/local/src/x5250-0.5.2-pre4/src/x5250.c:308: undefined reference to `tn5250_macro_attach'
/usr/local/src/x5250-0.5.2-pre4/src/x5250.c:321: undefined reference to `tn5250_macro_exit'
x5250term.o: In function `x5250_terminal_putkey':
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:2182: undefined reference to `tn5250_window_list_find_by_id'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:2187: undefined reference to `tn5250_window_start_row'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:2188: undefined reference to `tn5250_window_start_col'
x5250term.o: In function `x5250_terminal_update_indicators':
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:1132: undefined reference to `tn5250_window_list_find_by_id'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:1150: undefined reference to `tn5250_window_list_find_by_id'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:1168: undefined reference to `tn5250_window_list_find_by_id'
x5250term.o: In function `x5250_terminal_update':
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:862: undefined reference to `tn5250_window_start_row'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:863: undefined reference to `tn5250_window_start_col'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:864: undefined reference to `tn5250_window_start_row'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:864: undefined reference to `tn5250_window_height'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:866: undefined reference to `tn5250_window_width'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:614: undefined reference to `tn5250_window_list_find_by_id'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:619: undefined reference to `tn5250_window_start_row'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:620: undefined reference to `tn5250_window_start_col'
x5250term.o: In function `x5250_terminal_waitevent':
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:1378: undefined reference to `tn5250_window_list_find_by_id'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:1791: undefined reference to `tn5250_window_list_find_by_id'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:1668: undefined reference to `tn5250_window_list_find_by_id'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:1723: undefined reference to `tn5250_window_list_find_by_id'
/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:1331: undefined reference to `tn5250_window_list_find_by_id'
x5250term.o:/usr/local/src/x5250-0.5.2-pre4/src/x5250term.c:1232: more undefined references to `tn5250_window_list_find_by_id' follow
collect2: ld returned 1 exit status
make[2]: *** [x5250] Error 1
make[2]: Leaving directory `/usr/local/src/x5250-0.5.2-pre4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/x5250-0.5.2-pre4'
make: *** [all] Error 2
Does this mean more to someone other than me?
--
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.