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

[BUG] Build with -DENABLE_STDCXX_SYNC=ON on Linux fails #1444

Closed
maxsharabayko opened this issue Aug 5, 2020 · 0 comments · Fixed by #1445
Closed

[BUG] Build with -DENABLE_STDCXX_SYNC=ON on Linux fails #1444

maxsharabayko opened this issue Aug 5, 2020 · 0 comments · Fixed by #1445
Assignees
Labels
[build] Area: Changes in build files Type: Bug Indicates an unexpected problem or unintended behavior
Milestone

Comments

@maxsharabayko
Copy link
Collaborator

Building the latest SRT version with -DENABLE_STDCXX_SYNC=ON fails on Linux (e.g. Ubuntu 20.04 LTS).

It is still required to link pthreads to the target application.

/usr/bin/ld: CMakeFiles/srt-tunnel.dir/apps/srt-tunnel.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/srt-tunnel.dir/build.make:107: recipe for target 'srt-tunnel' failed
make[2]: *** [srt-tunnel] Error 1
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/srt-tunnel.dir/all' failed
make[1]: *** [CMakeFiles/srt-tunnel.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
@maxsharabayko maxsharabayko added Type: Bug Indicates an unexpected problem or unintended behavior [build] Area: Changes in build files labels Aug 5, 2020
@maxsharabayko maxsharabayko added this to the v1.5.0 - Sprint 20 milestone Aug 5, 2020
@maxsharabayko maxsharabayko self-assigned this Aug 5, 2020
@mbakholdina mbakholdina modified the milestones: v1.5.0 - Sprint 20, v1.4.2 Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[build] Area: Changes in build files Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants