03 2013 档案

摘要:./configure 后,直接make可能会出现libtool: link: `ext/date/php_date.lo' is not a valid libtool object 的错误。make clean 一下然后再make,即可。原因未知,可能是某些脚本执行顺序的问题?做个标记~ 阅读全文
posted @ 2013-03-19 18:49 wanhl 阅读(8833) 评论(0) 推荐(1)
摘要:下载httpd-2.4.4.tar.gz 解压完后,./configure && make 出现了以下一系列的错误。......//***************.................................................................................................................*****************************************//最开始提示configure: error: APR not found. Please read the d 阅读全文
posted @ 2013-03-19 17:47 wanhl 阅读(454) 评论(0) 推荐(0)
摘要:这里记一句,如果是long型或unsigned long型的数,可以直接printf("%ul\%l");的方式直接输出出来。或者可以使用sprintf (buf,"%x\%ul\%l",dex);这种方式将十六进制数存放在一个数组里,然后再使用如下的函数。#include <stdio.h>#include <stdlib.h>#include <math.h>int toi(char s[]) { int i; int n = 0; if (s[0] == '0' && (s[1]= 阅读全文
posted @ 2013-03-14 10:01 wanhl 阅读(1172) 评论(0) 推荐(0)