Open li-yanhao opened 4 years ago
janus-janus.o: In function main': /home/li/janus/janus-gateway/janus.c:4195: undefined reference tojanus_sctp_init' /home/li/janus/janus-gateway/janus.c:4695: undefined reference to janus_sctp_deinit' janus-dtls.o: In functionjanus_dtls_srtp_create_sctp': /home/li/janus/janus-gateway/dtls.c:602: undefined reference to janus_sctp_association_create' janus-dtls.o: In functionjanus_dtls_srtp_incoming_msg': /home/li/janus/janus-gateway/dtls.c:683: undefined reference to janus_sctp_data_from_dtls' janus-dtls.o: In functionjanus_dtls_srtp_destroy': /home/li/janus/janus-gateway/dtls.c:924: undefined reference to janus_sctp_association_destroy' janus-dtls.o: In functionjanus_dtls_wrap_sctp_data': /home/li/janus/janus-gateway/dtls.c:971: undefined reference to `janus_sctp_send_data' collect2: error: ld returned 1 exit status Makefile:1618: recipe for target 'janus' failed make[2]: [janus] Error 1 make[2]: Leaving directory '/home/li/janus/janus-gateway' Makefile:2780: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/li/janus/janus-gateway' Makefile:1268: recipe for target 'all' failed make: *** [all] Error 2
main': /home/li/janus/janus-gateway/janus.c:4195: undefined reference to
janus_sctp_deinit' janus-dtls.o: In function
janus_sctp_association_create' janus-dtls.o: In function
janus_sctp_data_from_dtls' janus-dtls.o: In function
janus_sctp_association_destroy' janus-dtls.o: In function
It seems like an error of janus...
按照步骤来应该是没问题的 git checkout a7d7991a 使用前先确认自己原生的janus是可编译的
janus-janus.o: In function
main': /home/li/janus/janus-gateway/janus.c:4195: undefined reference to
janus_sctp_init' /home/li/janus/janus-gateway/janus.c:4695: undefined reference tojanus_sctp_deinit' janus-dtls.o: In function
janus_dtls_srtp_create_sctp': /home/li/janus/janus-gateway/dtls.c:602: undefined reference tojanus_sctp_association_create' janus-dtls.o: In function
janus_dtls_srtp_incoming_msg': /home/li/janus/janus-gateway/dtls.c:683: undefined reference tojanus_sctp_data_from_dtls' janus-dtls.o: In function
janus_dtls_srtp_destroy': /home/li/janus/janus-gateway/dtls.c:924: undefined reference tojanus_sctp_association_destroy' janus-dtls.o: In function
janus_dtls_wrap_sctp_data': /home/li/janus/janus-gateway/dtls.c:971: undefined reference to `janus_sctp_send_data' collect2: error: ld returned 1 exit status Makefile:1618: recipe for target 'janus' failed make[2]: [janus] Error 1 make[2]: Leaving directory '/home/li/janus/janus-gateway' Makefile:2780: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/li/janus/janus-gateway' Makefile:1268: recipe for target 'all' failed make: *** [all] Error 2It seems like an error of janus...