Re: Problem compiling x5250

Aaron Fransen <[email protected]> Fri, 15 Mar 2013 06:30:50 -0600
Newsgroups gmane.comp.emulators.tn5250
Message-ID <CAMx5CKetP66zU+m4tKOtkVSx195nA4GWOyEKLQED1dKN6B+Z+w@mail.gmail.com>
Closer! It took me a bit to figure out the autogen stuff (a bit of a source
rookie I'm afraid) but finally got that worked out, but on the next compile
for x5250 I got this far during the make:

x5250term.c: In function ‘x5250_terminal_waitevent’:
x5250term.c:1976:8: warning: passing argument 1 of
‘XRefreshKeyboardMapping’ from incompatible pointer type [enabled by
default]
/usr/include/X11/Xlib.h:3075:12: note: expected ‘struct XMappingEvent *’
but argument is of type ‘union XEvent *’
mv -f .deps/x5250term.Tpo .deps/x5250term.Po
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
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[2]: *** [x5250] Error 1
make[2]: Leaving directory `/tmp/x5250/x5250-0.5.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/x5250/x5250-0.5.3'
make: *** [all] Error 2




On Thu, Mar 14, 2013 at 3:40 PM, James Rich <[email protected]> wrote:

> On Thu, 14 Mar 2013, Aaron Fransen wrote:
>
> > I've already installed and compiled tn5250 0.17.4, so it's confusing to
> me
> > that I'd be getting this:
> >
> > x5250term.c: In function ?x5250_terminal_waitevent?:
> > x5250term.c:1955:40: error: ?Tn5250Display? has no member named
> > ?destructive_backspace?
> > x5250term.c:1976:8: warning: passing argument 1 of
> > ?XRefreshKeyboardMapping? from incompatible pointer type [enabled by
> > default]
> > /usr/include/X11/Xlib.h:3075:12: note: expected ?struct XMappingEvent *?
> > but argument is of type ?union XEvent *?
> > make[2]: *** [x5250term.o] Error 1
> > make[2]: Leaving directory `/tmp/x5250/x5250-0.5.3/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/tmp/x5250/x5250-0.5.3'
> > make: *** [all] Error 2
>
> Please use a development tn5250 available at:
>
> http://www.chowhouse.com/~james/x5250/tn5250-cvs.tar.gz
>
> 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.
>
>
-- 
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.