Re: Ubuntu 11.10 x5250 compile error

"Porterfield, Sean" <SPorterfield-rhMrrli3/[email protected]> Wed, 18 Apr 2012 09:26:53 -0400
Newsgroups gmane.comp.emulators.tn5250
Message-ID <[email protected]>
-----Original Message-----
> From: Guillermo Garcia

Porterfield, Sean <SPorterfield@...> writes:

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

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

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

> Did you ever solved this I'm having the same problem make  all-recursive
> make[1]: Entering directory `/home/guillermo/Downloads/x5250-0.5.4'
> Making all in src
> make[2]: Entering directory `/home/guillermo/Downloads/x5250-0.5.4/src'
> 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  -lSM -lICE  -lX11 -lXext
> x5250.o: In function `check_options':
> /home/guillermo/Downloads/x5250-0.5.4/src/x5250.c:1895: undefined reference to `tn5250_config_parse_argv'
> /home/guillermo/Downloads/x5250-0.5.4/src/x5250.c:1900: undefined reference to `tn5250_config_get'
> /home/guillermo/Downloads/x5250-0.5.4/src/x5250.c:1905: undefined reference to `tn5250_config_get'
> /home/guillermo/Downloads/x5250-0.5.4/src/x5250.c:1910: undefined reference to `tn5250_config_get'
> x5250.o: In function `paste_text':


I did not solve the problem.  I just resigned myself to using xt5250 instead of x5250.
--
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.
-- 
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.