Hi!
Does anybody have compiled ssh2-0.11 on SCO, actually while I am trying to
compile it I get these errors:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I. -I../.. -I../..
-I../.. -I
../sshmath -I./../sshmath -I../zlib -I./../zlib -I../sshutil
-I./../sshutil -
g -Wall -UM_I86SM -c sshreadline.c
In file included from sshreadline.c:40:
/usr/include/term.h:1042: parse error before `bool'
/usr/include/term.h:1042: warning: no semicolon at end of struct or union
/usr/include/term.h:1043: warning: data definition has no type or storage
class
/usr/include/term.h:1068: parse error before `SGTTY'
/usr/include/term.h:1068: warning: no semicolon at end of struct or union
/usr/include/term.h:1085: parse error before `sgr_mode'
/usr/include/term.h:1085: warning: data definition has no type or storage
class
/usr/include/term.h:1086: parse error before `sgr_faked'
/usr/include/term.h:1086: warning: data definition has no type or storage
class
/usr/include/term.h:1097: parse error before `funckeystarter'
/usr/include/term.h:1097: warning: data definition has no type or storage
class
/usr/include/term.h:1098: parse error before `_fl_rawmode'
/usr/include/term.h:1101: warning: data definition has no type or storage
class
/usr/include/term.h:1105: parse error before `_input_queue'
/usr/include/term.h:1105: warning: data definition has no type or storage
class
/usr/include/term.h:1112: parse error before `*'
/usr/include/term.h:1112: warning: data definition has no type or storage
class
/usr/include/term.h:1115: parse error before `bit_vector'
/usr/include/term.h:1115: warning: data definition has no type or storage
class
/usr/include/term.h:1119: parse error before `check_turn_off'
/usr/include/term.h:1119: warning: data definition has no type or storage
class
/usr/include/term.h:1120: parse error before `non_faked_mode'
/usr/include/term.h:1120: warning: data definition has no type or storage
class
/usr/include/term.h:1121: parse error before `_cur_pair'
/usr/include/term.h:1121: warning: data definition has no type or storage
class
/usr/include/term.h:1122: parse error before `*'
/usr/include/term.h:1122: warning: data definition has no type or storage
class
/usr/include/term.h:1124: parse error before `}'
/usr/include/term.h:1187: parse error before `int'
/usr/include/term.h:1187: `vidputs' declared as function returning a function
/usr/include/term.h:1187: parse error before `)'
sshreadline.c:94: field `term' has incomplete type
sshreadline.c: In function `ssh_rl_set_tty_modes':
sshreadline.c:119: storage size of `new_term' isn't known
sshreadline.c:120: storage size of `win' isn't known
sshreadline.c:123: warning: implicit declaration of function `tcgetattr'
sshreadline.c:130: `ISTRIP' undeclared (first use this function)
sshreadline.c:130: (Each undeclared identifier is reported only once
sshreadline.c:130: for each function it appears in.)
sshreadline.c:131: `ONLCR' undeclared (first use this function)
sshreadline.c:132: `ECHO' undeclared (first use this function)
sshreadline.c:132: `ICANON' undeclared (first use this function)
sshreadline.c:132: `ISIG' undeclared (first use this function)
sshreadline.c:133: `VMIN' undeclared (first use this function)
sshreadline.c:134: `VTIME' undeclared (first use this function)
sshreadline.c:135: warning: implicit declaration of function `tcsetattr'
sshreadline.c:135: `TCSAFLUSH' undeclared (first use this function)
sshreadline.c:148: `TIOCGWINSZ' undeclared (first use this function)
sshreadline.c:120: warning: unused variable `win'
sshreadline.c:119: warning: unused variable `new_term'
sshreadline.c: In function `ssh_rl_restore_tty_modes':
sshreadline.c:168: `TCSAFLUSH' undeclared (first use this function)
*** Error code 1 (bu21)
I tried using cc and gcc compiler!
Regards!
Mario
-----
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Mario Misic | e-mail: [EMAIL PROTECTED] ~
~ System Administrator | Tel: +385 (20) 411-136 ~
~ CC Computer Consulting | +385 (1) 6552-330 ~
~ Janjevska 15 | Fax: +385 (20) 411-136 ~
~ 20 000 Dubrovnik | URL: http://www.laus.hr/ ~
~ Hrvatska (Croatia) | ICQ: 10671703 ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~