Re: x5250 vs xt5250 and ssh -X
James Rich <[email protected]>
| Newsgroups | gmane.comp.emulators.tn5250 |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 10 Jan 2010, Porterfield, Sean wrote: > Finally getting back to this. Compiled tn5250 from cvs: > $ tn5250 +version > tn5250 0.17.5 This looks good. > 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 The above is normal and is not a problem. > 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' [snip a bunch of stuff] The above error appears to me to be a result of compiling against old libraries. The tn5250_window_list_find_by_id() function is relatively new and the linker can't find it. To me that indicates that you have an old version of lib5250 hanging around somewhere and the linker is using that old version instead of the new libs you just installed. James Rich if you want to understand why that is, there are many good books on the design of operating systems. please pass them along to redmond when you're done reading them :) - Paul Davis on ardour-dev -- This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/linux5250 or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.