Compile C-Kermit9.0.302 under Ubuntu12.04

Source: Internet
Author: User
You need to use ckermit + openOCD + openJTAG to debug rtems, but an error occurred while installing kermit... in Ubuntu12.04, sudoapt-getintstallckermit is successfully installed. It is only because the openssl version provided by the system is too high that it is a warning to remind you to re-Compile from the source code. For more information, see: c-Kermit installation and use and download kernel method http://www.linuxidc.com/Linux

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;

C-Kermit installation and use and download kernel method http://www.linuxidc.com/Linux/2008-04/12361.htm

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

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.