OpenWrt移植Apache2 apr 到MT7620N
来源:互联网 发布:java 设置时区 编辑:程序博客网 时间:2024/06/13 00:56
1、下载apr-1.6.2 https://apr.apache.org/download.cgi
2、解压 tar xvf apr-1.6.2.tar.gz
3、cd apr-1.6.2
4、配置
#!/bin/shfilePath=`pwd`./configure --host=mips CC=mips-openwrt-linux-gcc --prefix=$filePath/libaprs --enable-so ac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes apr_cv_process_shared_works=yes apr_cv_mutex_robust_shared=yes apr_cv_tcp_nodelay_with_cork=yes ap_void_ptr_lt_long=no
5、编译
> make
6、安装
make install
Note:如果此时make执行编译,会报如下错误
In file included from ./include/apr_strings.h:52, from passwd/apr_getpass.c:23: ./include/apr_want.h:95: error: redefinition of 'struct iovec' make[1]: *** [passwd/apr_getpass.lo] Error 1 make[1]: Leaving directory `/work/src/apr-1.4.8' make: *** [all-recursive] Error 1
修改include/apr_want.h,注释掉struct iovec的定义
阅读全文
0 0
- OpenWrt移植Apache2 apr 到MT7620N
- 移植OpenWrt到RT5350
- 移植OpenWrt到RT5350
- Ubus移植到openwrt
- iotjs移植到openwrt
- 移植tiobench到openwrt
- 移植apache2 ARM版 - 交叉编译apr-1.4.8
- 移植apache2 ARM版 - 交叉编译apr-util
- openwrt移植到pb44---第一章
- 将openwrt移植到P720
- ntp client 移植到openwrt
- OpenWRT mt7620n 系统升级引起的问题
- OpenWrt mt7620n双SSID实现原理
- OpenWRT移植到三星S5PV210处理器上
- OpenWRT移植到三星S5PV210处理器上
- 将openwrt移植到belkin F5D8235V2
- 自己移植Asterisk1.8到OpenWRT下
- 如何将openwrt移植到Intel Galileo
- 更改Tomcat日志路径
- 2017全国大学生信安赛 easyheap
- 影响关键词排名稳定的因素有哪些?
- 前端基础学习之CSS样式
- 【bzoj1334】[Baltic2008]Elect
- OpenWrt移植Apache2 apr 到MT7620N
- 【ETL】拉链表算法
- mysql binlog日志及mysqlbinlog操作详解
- 三栏布局
- 为什么有时候使用迭代函数得到的都是undefined
- ExtJs 常用方法(alert confirm prompt show wait)
- 数据挖掘(1):关联规则挖掘基本概念与Aprior算法
- RPM包的安装命令
- 测试一个网段主机在线情况