Trouble compiling C-Kermit
I am trying to compile C-Kermit (6.0.192) for Debian 2.0.34
and have run into a problem.
I have made the obvious changes from curses to ncurses and
also removed the makefile reference to termcap. Now I get:
: Making C-Kermit "6.0.192" for Linux...
: make[1]: Entering directory `/root/kermit/orig/src'
: gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG
: -DBIGBUFOK -DTCPSOCKET -DLINUXFSSTND
: -c ckutio.c -o ckutio.o
: In file included from /usr/include/linux/vfs.h:4,
: from /usr/include/linux/fs.h:14,
: from ckutio.c:668:
: /usr/include/asm/statfs.h:20: parse error before `__kernel_fsid_t'
: /usr/include/asm/statfs.h:20: warning: no semicolon at end of struct
or union
: /usr/include/asm/statfs.h:23: parse error before `}'
: In file included from /usr/include/linux/net.h:23,
: from /usr/include/linux/fs.h:15,
: from ckutio.c:668:
: /usr/include/linux/socket.h:9: redefinition of `struct sockaddr'
: /usr/include/linux/socket.h:14: redefinition of `struct linger'
: /usr/include/linux/socket.h:26: redefinition of `struct msghdr'
: ckutio.c: In function `ttsspd':
: ckutio.c:4679: `TIOCGSERIAL' undeclared (first use this function)
: ckutio.c:4679: (Each undeclared identifier is reported only once
: ckutio.c:4679: for each function it appears in.)
: ckutio.c:4685: `TIOCSSERIAL' undeclared (first use this function)
: ckutio.c: In function `ttgspd':
: ckutio.c:4833: `TIOCGSERIAL' undeclared (first use this function)
: ckutio.c: In function `in_chk':
: ckutio.c:6092: warning: passing arg 3 of `select' from incompatible
pointer type
: ckutio.c:6092: warning: passing arg 4 of `select' from incompatible
pointer type
: make[1]: *** [ckutio.o] Error 1
: make[1]: Leaving directory `/root/kermit/orig/src'
: make: *** [linux] Error 2
Does anyone recognize any of this and have any suggestions?
Blair
Reply to: