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 thread ...


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