Expert help !!! An error occurred while installing kermit.

Source: Internet
Author: User
Expert help !!! An error occurred while installing kermit-general Linux technology-Linux technology and application information. For more information, see. The compiler version I used is 3.4.1.
Download the C-Kermit version cku211.tar.gz
The procedure is as follows:
Put the program under/opt, in the root state:
Mkdir/opt/kermit
Cp cku211.tar.gz/opt/kermit
Cd/opt/kermit
Tar zxvf cku211.tar.gz
Make linux
Screen Display:
Make [1]: Entering directory '/opt/kermit'
Making C-Kermit "8.0.211" for Linux 1.2 or later...
IMPORTANT: Read the comments in the linux section of
Makefile if you have trouble.
Make xermit KTARGET =$ {KTARGET:-linuxa} "CC = gcc" "CC2 = gcc "\
"CFLAGS =-O-DLINUX-pipe-funsigned-char-DFNFLOAT-DCK_POSIX_SIG \
-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-DNOCOTFMC-DPOSIX \
-DUSE_STRERROR-DCK_NCURSES-I/usr/include/ncurses-DHAVE_PTMX-DHAVE_BAUDBOY-Example "" LNKFLAGS = "" LIBS =-lncurses-lresolv-lcrypt-lm"
Make [2]: Entering directory '/opt/kermit'
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckcmai. c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckclib. c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckucmd. c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckuusr. c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckuus2.c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckuus3.c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckuus4.c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckuus5.c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckuus6.c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckuus7.c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckuusx. c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckuusy. c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ck.pdf. c
Gcc-o unzip ckloud. o-lncurses-lresolv-lcrypt-lm
./Wart ckcpro. w ckcpro. c
16 states, 73 actions
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckcpro. c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckcfns. c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckcfn2.c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckcfn3.c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckuxla. c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckucns. c
Gcc-O-DLINUX-pipe-funsigned-char-DFNFLOAT-runtime-DCK_NEWTERM-DTCPSOCKET-DLINUXFSSTND-runtime-DPOSIX-DUSE_STRERROR-rewrite-I/usr/include/ncurses-DHAVE_PTMX- DHAVE_BAUDBOY-DHAVE_CRYPT_H-DKTARGET = \ "linux \"-c ckutio. c
In file encoded ded from ckutio. c: 795:
/Usr/include/fcntl. h: 72: error: conflicting types for 'open'
/Usr/include/fcntl. h: 72: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
/Usr/include/baudboy. h: 47: error: previous implicit declaration of 'open' was here
Make [2]: *** [ckutio. o] Error 1
Make [2]: Leaving directory '/opt/kermit'
Make [1]: *** [linuxa] Error 2
Make [1]: Leaving directory '/opt/kermit'
Make: *** [linux] Error 2

Fcnt. h72 rows:
# Ifndef _ USE_FILE_OFFSET64
Extern int open (_ const char * _ file, int _ oflag,...) _ nonnull (1); this is 72 rows
# Else

47th rows of baudboy. h
If (fd = open ("/dev/null", 2) <0)

Does the Parameter definition conflict? How to change it?
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.