Cross-compiling Iproute2

Source: Internet
Author: User
Tags bz2
(1) Download source code can be downloaded in https://www.kernel.org/pub/linux/utils/net/iproute2/, but it is at least 3.1.0 version, afraid I 2.6.36 version of the kernel is not supported, in http:// pkgs.fedoraproject.org/repo/pkgs/iproute/iproute2-2.6.37.tar.bz2/9774ff9d74ebd301bf56bd8d74473786/ IPROUTE2-2.6.37.TAR.BZ2 's website was downloaded in version 2.6.37.
(2) After decompression into the directory modification makefile modify the 30th line of the compilation tool CC =/projects/hnd/tools/linux/hndtools-arm-linux-2.6.36-uclibc-4.5.3/bin/ ARM-BRCM-LINUX-UCLIBCGNUEABI-GCC because I only need IP commands, modify line 38th only compiles IP tools subdirs=ip
(3) Make
(4) The IP directory of the IP program into the board to see if it can run (directly to run, could not believe, the former east to change to make long time)
I thought I wanted to download the Iproute2 version of the kernel to work, but I compiled the latest version of Iiproute and put it in the same way as the board.

Reference: http://www.magicsite.cn/blog/Windows/cpp/cpp6941.html

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.