Closed GoogleCodeExporter closed 8 years ago
This is a problem in the network headers in RedHat 5. We cannot fix it. You
have two options:
1) Upgrade to RedHat 6, or
2) Build with the following configure command:
$ TURN_NO_SCTP=1 ./configure
that would turn off sctp, and your turnserver will compile successfully.
Original comment by mom040...@gmail.com
on 27 May 2015 at 5:49
@mom040...@gmail.com.Thank you for your help,but I still have some issues when
I build it.
This is what I get when I run the "make" after building with the
"TURN_NO_SCTP=1 ./configure" command.
mkdir -p lib
ar -r lib/libturnclient.a build/obj/ns_turn_ioaddr.o
build/obj/ns_turn_msg_addr.o build/obj/ns_turn_msg.o
pwd
/u/home/oracle/stun/turnserver-4.4.5.1
mkdir -p bin
cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include
-D_GNU_SOURCE -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local
-DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server
-Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/
src/apps/stunclient/stunclient.c src/apps/common/apputils.c
src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o
bin/turnutils_stunclient -Llib -lturnclient -Llib -L/usr/local/lib/
-L/usr/local/lib/ -L/usr/local/lib64/ -L/usr/local/lib64/ -lrt -lnsl -lresolv
-lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads
-lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/
-Wl,-rpath,/usr/local/lib64/ -Wl,-rpath,/usr/local/lib64/
-Wl,-rpath,/usr/lib64/pgsql -Wl,-rpath,/usr/lib/mysql
-Wl,-rpath,/usr/lib64/mysql -Wl,-rpath,/usr/local/lib
/usr/local/lib64//libssl.a(s3_clnt.o): In function `ssl_do_client_cert_cb':
s3_clnt.c:(.text+0x71): undefined reference to `ENGINE_load_ssl_client_cert'
/usr/local/lib64//libssl.a(s3_clnt.o): In function
`ssl3_send_client_certificate':
s3_clnt.c:(.text+0x4877): undefined reference to `ENGINE_load_ssl_client_cert'
/usr/local/lib64//libssl.a(d1_srvr.o): In function
`dtls1_send_server_key_exchange':
d1_srvr.c:(.text+0xb65): undefined reference to `EVP_ecdsa'
/usr/local/lib64//libssl.a(ssl_sess.o): In function
`SSL_CTX_set_client_cert_engine':
ssl_sess.c:(.text+0x2e4): undefined reference to
`ENGINE_get_ssl_client_cert_function'
/usr/local/lib64//libssl.a(tls_srp.o): In function `SRP_Calc_A_param':
tls_srp.c:(.text+0x27a): undefined reference to `SRP_Calc_A'
/usr/local/lib64//libssl.a(tls_srp.o): In function `srp_verify_server_param':
tls_srp.c:(.text+0x34f): undefined reference to `SRP_check_known_gN_param'
/usr/local/lib64//libssl.a(tls_srp.o): In function
`SRP_generate_client_master_secret':
tls_srp.c:(.text+0x3a9): undefined reference to `SRP_Verify_B_mod_N'
tls_srp.c:(.text+0x3cb): undefined reference to `SRP_Calc_u'
tls_srp.c:(.text+0x415): undefined reference to `SRP_Calc_x'
tls_srp.c:(.text+0x44a): undefined reference to `SRP_Calc_client_key'
/usr/local/lib64//libssl.a(tls_srp.o): In function
`SRP_generate_server_master_secret':
tls_srp.c:(.text+0x597): undefined reference to `SRP_Verify_A_mod_N'
tls_srp.c:(.text+0x5bc): undefined reference to `SRP_Calc_u'
tls_srp.c:(.text+0x5ec): undefined reference to `SRP_Calc_server_key'
/usr/local/lib64//libssl.a(tls_srp.o): In function
`SSL_set_srp_server_param_pw':
tls_srp.c:(.text+0xb45): undefined reference to `SRP_get_default_gN'
tls_srp.c:(.text+0xbca): undefined reference to `SRP_create_verifier_BN'
/usr/local/lib64//libssl.a(tls_srp.o): In function
`SSL_srp_server_param_with_username':
tls_srp.c:(.text+0xcaa): undefined reference to `SRP_Calc_B'
collect2: ld returned 1 exit status
make: *** [bin/turnutils_stunclient] Error 1
Original comment by ghwil...@gmail.com
on 27 May 2015 at 8:21
Original issue reported on code.google.com by
ghwil...@gmail.com
on 27 May 2015 at 3:31