× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've tried on both Debian Etch (PPC) and Ubuntu Gutsy (i386).

First question - if I install tn5250 via apt, what do I do to make the tn5250 source available to the x5250 to build?
e.g. can I just throw the two folders of source code together? or?

If I actually ./configure && make && sudo make install tn5250, then when I try to do the same to x5250
during make I get (this from the Gutsy attempt)

make[1]: Entering directory `/home/bmckee/Desktop/x5250-0.5.2-pre3'
Making all in src
make[2]: Entering directory `/home/bmckee/Desktop/x5250-0.5.2-pre3/ src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -I../bitmaps -DDATADIR=\"/usr/local/share\" -g -O2 -MT alloccolors.o -MD -MP -MF ".deps/alloccolors.Tpo" -c -o alloccolors.o alloccolors.c; \
then mv -f ".deps/alloccolors.Tpo" ".deps/alloccolors.Po"; else rm -f ".deps/alloccolors.Tpo"; exit 1; fi
In file included from /usr/local/include/tn5250.h:33,
from x5250.h:34,
from alloccolors.c:26:
/usr/local/include/tn5250/utility.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘!’ token
/usr/local/include/tn5250/utility.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tn5250_char_map_to_remote’
/usr/local/include/tn5250/utility.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tn5250_char_map_to_local’
/usr/local/include/tn5250/utility.h:90: error: expected declaration specifiers or ‘...’ before ‘Tn5250Char’
/usr/local/include/tn5250/utility.h:91: error: expected declaration specifiers or ‘...’ before ‘Tn5250Char’
In file included from /usr/local/include/tn5250.h:36,
from x5250.h:34,
from alloccolors.c:26:
/usr/local/include/tn5250/field.h:80: error: expected specifier- qualifier-list before ‘Tn5250Uint16’
In file included from /usr/local/include/tn5250.h:41,
from x5250.h:34,
from alloccolors.c:26:
/usr/local/include/tn5250/stream.h:84: error: expected declaration specifiers or ‘...’ before ‘SOCKET_TYPE’
/usr/local/include/tn5250/stream.h:99: error: expected specifier- qualifier-list before ‘SOCKET_TYPE’
/usr/local/include/tn5250/stream.h:129: error: expected ‘)’ before ‘masterSock’
In file included from /usr/local/include/tn5250.h:45,
from x5250.h:34,
from alloccolors.c:26:
/usr/local/include/tn5250/terminal.h:151: error: expected specifier- qualifier-list before ‘SOCKET_TYPE’
In file included from /usr/local/include/tn5250.h:47,
from x5250.h:34,
from alloccolors.c:26:
/usr/local/include/tn5250/printsession.h:55: error: expected declaration specifiers or ‘...’ before ‘SOCKET_TYPE’
make[2]: *** [alloccolors.o] Error 1
make[2]: Leaving directory `/home/bmckee/Desktop/x5250-0.5.2-pre3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bmckee/Desktop/x5250-0.5.2-pre3'
make: *** [all] Error 2

Comments appreciated,

Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Verify this email or encrypt your email for free - see gnupg.org

iD8DBQFH2nYeGnOmb9xIQHQRAkbSAJ90J4NOEbC+U6+R0a8lSpmZoCjvggCfbAJA
QIl+u5B19Y3W7koA3U5jL6g=
=KLst
-----END PGP SIGNATURE-----

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.