Compile C-Kermit 9.0.302 in Ubuntu 12.04

Source: Internet
Author: User
Tags openssl version

You need to use ckermit + openOCD + openJTAG to debug rtems, but an error occurred while installing kermit...

Sudo apt-get intstall ckermit in Ubuntu 12.04 is successfully installed, but the openssl version provided by the system is too high. It is a warning to remind you to re-Compile from the source code;

Related reading: how to install and use C-Kermit and how to download the kernel

1. Slave;

2. decompress: gunzip-c cku302.tar.gz | tar xf -;

3. make linux + krb5 + ssl

...

If there are no errors, congratulations! You can end this section...

4. If compilation failed: openssl/comp. h: No such file or directory appears, install libssl-dev

Sudo apt-get install libssl-dev libkrb5 libpam0g-dev

5. But is there an error?

6. Try to make linux + ssl...

7. Unable to find symbols (references)

There will be around 6090 rows,

If test-f/usr/lib64/libncurses. so | \
Test-f/usr/lib/libncurses. a | \
Test-f/usr/lib/libncurses. so; then \
HAVE_LIBCURSES = '-lncurses ';\
Else if test-f/usr/lib64/libcurses. so | \
Test-f/usr/lib/libcurses. a | \
Test-f/usr/lib/libcurses. so; then \
HAVE_LIBCURSES = '-lcurses'; fi ;\

Change

If test-f/usr/lib64/libncurses. so | \
Test-f/usr/lib/libncurses. a | \
Test-f // lib/i386-linux-gnu/libncurses. so.5 | |\## add this line-x86 or x86_64 test-f/usr/lib/libncurses. so; then \
HAVE_LIBCURSES = '-lncurses ';\
Else if test-f/usr/lib64/libcurses. so | \
Test-f/usr/lib/libcurses. a | \
Test-f/usr/lib/libcurses. so; then \
HAVE_LIBCURSES = '-lcurses'; fi ;\

OK. make linux + ssl

There should be no errors...

If there is an error, please do not forget to use google, but do not remember the virus...

Enjoy it...

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.