商城网站支付端怎么做的,做黄漫画网站,手加工外包加工网,nginx wordpress多个站点工作需要要在嵌入Linux上实现DNS#xff0c; 从Delphi的Indy9中移植了一个DNS#xff0c;用了半年了还可以。今日偶然看到了网上有源码(竟然原来没有搜到ftp://ftp.isc.org/isc/bind9/9.5.0/bind-9.5.0.tar.gz)1. 找到bind-9.5.0.tar.gz源码#xff0c;其中有包含DNS协议的源…工作需要要在嵌入Linux上实现DNS 从Delphi的Indy9中移植了一个DNS用了半年了还可以。今日偶然看到了网上有源码(竟然原来没有搜到ftp://ftp.isc.org/isc/bind9/9.5.0/bind-9.5.0.tar.gz)1. 找到bind-9.5.0.tar.gz源码其中有包含DNS协议的源码./configure --prefix/home/hxs/lib --hostarm-linux编译提示checking for struct lifconf... nochecking if unistd.h or sys/types.h defines fd_set... yeschecking whether byte ordering is bigendian... nochecking for OpenSSL library... using OpenSSL from /usr/lib and /usr/includechecking whether linking with OpenSSL works... assuming it does work on target platformchecking whether linking with OpenSSL requires -ldl... unknownconfigure: error: OpenSSL has unsupported dynamic loading原来还需要OpenSSL支持。./config no-asm --prefix/home/hxs/lib #去掉asm修改Makefile 把其中的gcc改成arm-linux-gccmake; make install可以看到drwxr-xr-x 2 hxs users 4096 09-28 16:35 engines-rw-r--r-- 1 hxs users 2307146 09-28 16:35 libcrypto.a-rw-r--r-- 1 hxs users 384152 09-28 16:35 libssl.adrwxr-xr-x 2 hxs users 4096 09-28 10:48 pkgconfig3.继续编译dns包./configure --prefix/home/hxs/lib --with-openssl/home/hxs/lib hostarm-linux-gccmake; make install那么库中多了几个libisc.a libisccfg.a libssl.a libbind9.a libdns.a libisccc.a liblwres.a测试一下可以用但是都是静态库很讨厌把Makefile中的ar改成arm-linux-ar动态库就编译出来了没有测试感觉应该没有问题吧。