Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error: undefined reference to 'janus_sctp_init' #2

Open
li-yanhao opened this issue Jul 10, 2019 · 1 comment
Open

Build error: undefined reference to 'janus_sctp_init' #2

li-yanhao opened this issue Jul 10, 2019 · 1 comment

Comments

@li-yanhao
Copy link

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 to janus_sctp_deinit' janus-dtls.o: In function janus_dtls_srtp_create_sctp':
/home/li/janus/janus-gateway/dtls.c:602: undefined reference to janus_sctp_association_create' janus-dtls.o: In function janus_dtls_srtp_incoming_msg':
/home/li/janus/janus-gateway/dtls.c:683: undefined reference to janus_sctp_data_from_dtls' janus-dtls.o: In function janus_dtls_srtp_destroy':
/home/li/janus/janus-gateway/dtls.c:924: undefined reference to janus_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 2

It seems like an error of janus...

@Bepartofyou
Copy link
Owner

按照步骤来应该是没问题的 git checkout a7d7991a 使用前先确认自己原生的janus是可编译的

Repository owner deleted a comment from karandakave Feb 2, 2024
Repository owner deleted a comment Feb 2, 2024
Repository owner deleted a comment from mkproject-admin Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants