- 论坛徽章:
- 0
|
make all-am
make[1]: Entering directory `/home/walkermyy/del_build/libevent'
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Wall -fno-strict-aliasing -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum -Wno-unused-parameter -Wstrict-aliasing -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement -o sample/https-client sample/https-client.o sample/hostcheck.o sample/openssl_hostname_validation.o libevent.la libevent_openssl.la -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz -lrt
gcc -g -O2 -Wall -fno-strict-aliasing -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum -Wno-unused-parameter -Wstrict-aliasing -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement -o sample/.libs/https-client sample/https-client.o sample/hostcheck.o sample/openssl_hostname_validation.o ./.libs/libevent.so ./.libs/libevent_openssl.so -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz -lrt -Wl,--rpath -Wl,/home/walkermyy/uuu/lib
sample/https-client.o: In function `main':
/home/walkermyy/del_build/libevent/sample/https-client.c:350: undefined reference to `SSL_set_tlsext_host_name'
collect2: ld returned 1 exit status
make[1]: *** [sample/https-client] 错误 1
make[1]: Leaving directory `/home/walkermyy/del_build/libevent'
make: *** [all] 错误 2
[walkermyy@localhost libevent]$ rpm -qa | grep openssl
openssl-0.9.8e-7.el5
openssl-devel-0.9.8e-7.el5
在网络上搜了挺久,都没找到靠谱的解决方法:( |
|