OpenWRT SDK Compile Package error:package hello are missing dependencies for the following libraries:libc.so.6

Source: Internet
Author: User

An error occurred while compiling the Hello demo in the OpenWrt SDK:

Package Hello was missing dependencies for the following libraries:libc.so.6

The discovery could have been compiled before, but now it's strange.

Later on the Internet to find the reason, some say change libc.provides add libc.so.6

This makes it an error to install the compiled IPK into the OpenWrt runtime.

Finally, I found the problem:

I'll do it under PACKAGE/HELLO/SRC. Check the code for any problems, and then the following files are generated:

Hello hello.c hello.o Makefile

Among them, hello and hello.o is my x86_64 ubuntu, these two files affect the OpenWrt SDK compilation cause reported missing libc.so.6 error.

Solve:

Do clean under PACKAGE/HELLO/SRC, restore Libc.provides, and then make v=s.

OpenWRT SDK Compile Package error:package hello are missing dependencies for the following libraries:libc.so.6

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.