Successful implementation of the Add DNS library on ARM Linux __linux

Source: Internet
Author: User
Tags ftp openssl

First download the source code:
Bind-9.5.0.tar.gz Source: ftp://ftp.isc.org/isc/bind9/9.5.0/bind-9.5.0.tar.gz
OpenSSL Source: http://www.openssl.org/

1. OpenSSL support is required to compile bind. So compile OpenSSL first.

./config no-asm--prefix=/home/hxs/lib
Modify the makefile to change the GCC into ARM-LINUX-GCC
Make Make install

You can see: Engines libcrypto.a libssl.a pkgconfig four files

2. Compiling DNS Packets
./configure--prefix=/home/hxs/lib--with-openssl=/home/hxs/lib HOST=ARM-LINUX-GCC

Make Make install

Then a few more in the library.
LIBISC.A libisccfg.a libssl.a libbind9.a libdns.a libisccc.a

Test, can be used, but are static library is very annoying, the makefile in the AR to Arm-linux-ar, dynamic library is compiled

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.