当前位置: 技术问答>linux和unix
在编译apache的时候出个错,啥子个情况?
来源: 互联网 发布时间:2016-11-02
本文导语: make[2]: Entering directory `/usr/soft/apache/httpd-2.2.9/support' /usr/soft/apache/httpd-2.2.9/srclib/apr/libtool --silent --mode=link armeb-linux-gcc -mbig-endian -D_BIG_ENDIAN -I/include -L/opt/swkit_nofpu/lib -L/usr/soft/openssl/openssl-0.9.8f/output/lib -m...
make[2]: Entering directory `/usr/soft/apache/httpd-2.2.9/support'
/usr/soft/apache/httpd-2.2.9/srclib/apr/libtool --silent --mode=link armeb-linux-gcc -mbig-endian -D_BIG_ENDIAN -I/include -L/opt/swkit_nofpu/lib -L/usr/soft/openssl/openssl-0.9.8f/output/lib -mbig-endian -o ab ab.lo -lm /usr/soft/apache/httpd-2.2.9/srclib/pcre/libpcre.la /usr/soft/apache/httpd-2.2.9/srclib/apr-util/libaprutil-1.la -lexpat /usr/soft/apache/httpd-2.2.9/srclib/apr/libapr-1.la -lm -lcrypt -ldl -lssl -lcrypto
libtool: link: warning: library `/opt/swkit_nofpu/lib/libexpat.la' was moved.
libtool: link: warning: library `/opt/swkit_nofpu/lib/libexpat.la' was moved.
ab.o: In function `ssl_print_cb':
ab.c:(.text+0x10c): undefined reference to `BIO_get_callback_arg'
ab.o: In function `start_connect':
ab.c:(.text+0x54d0): undefined reference to `BIO_set_callback'
ab.c:(.text+0x54e0): undefined reference to `BIO_set_callback_arg'
ab.o: In function `main':
ab.c:(.text+0x8810): undefined reference to `SSL_CTX_set_info_callback'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/usr/soft/apache/httpd-2.2.9/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/soft/apache/httpd-2.2.9/support'
make: *** [all-recursive] Error 1
debian:/usr/soft/apache/httpd-2.2.9#
其实在这之前还有很多错误,不过这个错误实在难以解决了,谁见到了帮个忙哇?
/usr/soft/apache/httpd-2.2.9/srclib/apr/libtool --silent --mode=link armeb-linux-gcc -mbig-endian -D_BIG_ENDIAN -I/include -L/opt/swkit_nofpu/lib -L/usr/soft/openssl/openssl-0.9.8f/output/lib -mbig-endian -o ab ab.lo -lm /usr/soft/apache/httpd-2.2.9/srclib/pcre/libpcre.la /usr/soft/apache/httpd-2.2.9/srclib/apr-util/libaprutil-1.la -lexpat /usr/soft/apache/httpd-2.2.9/srclib/apr/libapr-1.la -lm -lcrypt -ldl -lssl -lcrypto
libtool: link: warning: library `/opt/swkit_nofpu/lib/libexpat.la' was moved.
libtool: link: warning: library `/opt/swkit_nofpu/lib/libexpat.la' was moved.
ab.o: In function `ssl_print_cb':
ab.c:(.text+0x10c): undefined reference to `BIO_get_callback_arg'
ab.o: In function `start_connect':
ab.c:(.text+0x54d0): undefined reference to `BIO_set_callback'
ab.c:(.text+0x54e0): undefined reference to `BIO_set_callback_arg'
ab.o: In function `main':
ab.c:(.text+0x8810): undefined reference to `SSL_CTX_set_info_callback'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/usr/soft/apache/httpd-2.2.9/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/soft/apache/httpd-2.2.9/support'
make: *** [all-recursive] Error 1
debian:/usr/soft/apache/httpd-2.2.9#
其实在这之前还有很多错误,不过这个错误实在难以解决了,谁见到了帮个忙哇?
|
SSL装了,路径也在指定了,不过,现在上面几个错误没了,还剩
undefined reference to `SSL_CTX_set_info_callback'
为什么呢?
undefined reference to `SSL_CTX_set_info_callback'
为什么呢?
|
应该是没装ssl或者是装了定位不对吧?