Re: Ubuntu 11.10 x5250 compile error

"Porterfield, Sean" <SPorterfield-rhMrrli3/[email protected]> Thu, 29 Dec 2011 21:28:38 -0500
Newsgroups gmane.comp.emulators.tn5250
Message-ID <[email protected]>
> > Background: new computer, fresh Ubuntu 11.10 install, compiled tn5250
> > from cvs source.
> >
> > I resolved the obvious issues by installing missing -dev packages but
> > still have one I haven't figured out.
> >
> > I get a bunch of error from make like:
> > x5250.c:1896: undefined reference to `tn5250_config_parse_argv'

> Sounds to me like you have done everything correctly, but I'm wondering if
> cvs is missing some code.  I can't seem to get cvs to work right now, but
> here is a copy I have of tn5250 that should work:
>
> http://www.chowhouse.com/~james/x5250/tn5250-cvs.tar.gz
>
> Please report back if this fixes your problems and I'll see what I can do
> about cvs.
>
> James Rich

Diff tells me the only differences are the sslstream.c that I modified to omit sslv2, the files that were created in my tn5250 directory due to compilation, and files in CVS directories (Root and Entries).

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

I also should have specified that I downloaded x5250-0.5.3.tar.gz which was the latest version I could find.
--
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.