0
回答
在linux 装apache-2.2.6 apache-2.2.6 报错make[2]: *** [ab] Error 1,make[1]: *** [all-recursive] Error 1
终于搞明白,存储TCO原来是这样算的>>>   

我在contos 装apache-2.2.6 apache-2.2.6 报错,求解

安装备命令:

[root@fanwe httpd-2.2.6]# ./configure --prefix=/usr/local/apache --with-apr-util=/usr/local/apr-util  --with-included-apr=/usr/local/apr  --enable-so
[root@fanwe httpd-2.2.6]# make

报错:代码
/usr/local/apr/build-1/libtool --silent --mode=link gcc -g -O2 -pthread        -o ab  ab.lo    /usr/local/src/httpd-2.2.6/srclib/pcre/libpcre.la /usr/local/apr-util/lib/libaprutil-1.la -lexpat /usr/local/apr/lib/libapr-1.la -lrt -lcrypt -lpthread 
.libs/ab.o: In function `output_results':
/usr/local/src/httpd-2.2.6/support/ab.c:836: undefined reference to `sqrt'
/usr/local/src/httpd-2.2.6/support/ab.c:835: undefined reference to `sqrt'
/usr/local/src/httpd-2.2.6/support/ab.c:834: undefined reference to `sqrt'
/usr/local/src/httpd-2.2.6/support/ab.c:833: undefined reference to `sqrt'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.2.6/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.2.6/support'
make: *** [all-recursive] Error 1
举报
chenhualeguan
发帖于4年前 0回/3K+阅
顶部