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



Hi,
 I've download the tn5250-0.16.4 source code,then do as following :

 #tar xvfz tn5250-0.16.4-src.tar.gz
 #./configure
 #make
 and has report--

 gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/usr/local/etc\" -g -O2 -c 
cursesterm.c -Wp,-MD,.deps/cursesterm.TPlo  -fPIC -DPIC -o .libs/cursesterm.lo
 cursesterm.c:35: parse error before `NCURSES_COLOR_T'
 cursesterm.c:35: warning: no semicolon at end of struct or union
 cursesterm.c:37: parse error before `}'
 cursesterm.c:40: elements of array `colorlist' have incomplete type
 cursesterm.c:42: warning: excess elements in struct initializer
 cursesterm.c:42: warning: (near initialization for `colorlist[0]')
 cursesterm.c:42: warning: excess elements in struct initializer
 cursesterm.c:42: warning: (near initialization for `colorlist[0]')
 cursesterm.c:43: warning: excess elements in struct initializer
 cursesterm.c:43: warning: (near initialization for `colorlist[1]')
 cursesterm.c:43: warning: excess elements in struct initializer
 cursesterm.c:43: warning: (near initialization for `colorlist[1]')
 cursesterm.c:43: warning: excess elements in struct initializer
 cursesterm.c:43: warning: (near initialization for `colorlist[1]')
 cursesterm.c:44: warning: excess elements in struct initializer
 cursesterm.c:44: warning: (near initialization for `colorlist[2]')
 cursesterm.c:44: warning: excess elements in struct initializer
 cursesterm.c:44: warning: (near initialization for `colorlist[2]')
 cursesterm.c:45: warning: excess elements in struct initializer
 cursesterm.c:45: warning: (near initialization for `colorlist[3]')
 cursesterm.c:45: warning: excess elements in struct initializer
 cursesterm.c:45: warning: (near initialization for `colorlist[3]')
 cursesterm.c:45: warning: excess elements in struct initializer
 cursesterm.c:45: warning: (near initialization for `colorlist[3]')
 cursesterm.c:46: warning: excess elements in struct initializer
 cursesterm.c:46: warning: (near initialization for `colorlist[4]')
 cursesterm.c:46: warning: excess elements in struct initializer
 cursesterm.c:46: warning: (near initialization for `colorlist[4]')
 cursesterm.c:46: warning: excess elements in struct initializer
 cursesterm.c:46: warning: (near initialization for `colorlist[4]')
cursesterm.c:47: warning: excess elements in struct initializer
 cursesterm.c:47: warning: (near initialization for `colorlist[5]')
 cursesterm.c:47: warning: excess elements in struct initializer
cursesterm.c:47: warning: (near initialization for `colorlist[5]')
> > cursesterm.c:48: warning: excess elements in struct initializer
> > cursesterm.c:48: warning: (near initialization for `colorlist[6]')
> > cursesterm.c:48: warning: excess elements in struct initializer
> > cursesterm.c:48: warning: (near initialization for `colorlist[6]')
> > cursesterm.c:49: warning: excess elements in struct initializer
> > cursesterm.c:49: warning: (near initialization for `colorlist[7]')
> > cursesterm.c:49: warning: excess elements in struct initializer
> > cursesterm.c:49: warning: (near initialization for `colorlist[7]')
> > cursesterm.c:49: warning: excess elements in struct initializer
> > cursesterm.c:49: warning: (near initialization for `colorlist[7]')
> > cursesterm.c:50: warning: excess elements in struct initializer
> > cursesterm.c:50: warning: (near initialization for `colorlist[8]')
> > cursesterm.c:50: warning: excess elements in struct initializer
> > cursesterm.c:50: warning: (near initialization for `colorlist[8]')
> > cursesterm.c:51: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c: In function `curses_terminal_init':
> > cursesterm.c:330: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:331: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:332: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:333: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:334: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:335: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:336: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:337: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:338: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:339: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:340: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:341: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:342: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:343: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:344: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:345: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:349: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:350: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:351: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:352: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:353: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:354: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:355: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:357: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:358: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:359: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:360: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:361: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:362: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:363: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:365: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:366: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:367: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:368: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:369: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:370: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:371: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:373: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:374: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:375: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:376: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:377: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:378: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:379: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c: In function `tn5250_curses_terminal_load_colorlist':
> > cursesterm.c:1324: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:1325: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:1327: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:1328: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:1333: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:1334: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:1336: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:1337: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:1341: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:1342: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:1344: invalid use of undefined type `struct _curses_color_map'
> > cursesterm.c:1345: invalid use of undefined type `struct _curses_color_map'
> > make[2]: *** [cursesterm.lo] Error 1
> > make[2]: Leaving directory `/home/loveheart/tn5250-0.16.4/src'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/home/loveheart/tn5250-0.16.4/src'
> > make: *** [all-recursive] Error 1
> >
 What is the matter? How can I do now?


 I have down tn5250-0.16.3 source code too.I compiled it successfully,but as I 
do following the ~/linux/README,then connect to AS400 server,the function 
key(such as 'return','execute' etc.) can not work,why?

Best Regards,
Wendy Li



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.