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

sdk-5.1.2 build fail #2658

Open
Pro-pra opened this issue Dec 29, 2023 · 0 comments
Open

sdk-5.1.2 build fail #2658

Pro-pra opened this issue Dec 29, 2023 · 0 comments

Comments

@Pro-pra
Copy link

Pro-pra commented Dec 29, 2023

I have this errors:
error: 'using mega::NodeManager::MutexType = class std::recursive_mutex' {aka 'class std::recursive_mutex'} has no member named 'owns_lock'

[ 58%] Building CXX object CMakeFiles/SDKlib.dir/src/nodemanager.cpp.o
/usr/bin/g++ -DSDKlib_EXPORTS -I/var/lib/notamock/rpmbuild/BUILD/MEGAsync-4.11.0.0_Linux/src/MEGASync/mega/include -I/var/lib/notamock/rpmbuild/BUILD/MEGAsync-4.11.0.0_Linux/src/MEGASync/mega/build -I/var/lib/notamock/rpmbuild/BUILD/MEGAsync-4.11.0.0_Linux/src/MEGASync/mega/include/mega/posix -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -m64 -mtune=generic -std=gnu++11 -fPIC -Wall -Wextra -Wconversion -Wno-unused-parameter -DUNICODE -DSIZE_T_IS_LONG -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MD -MT CMakeFiles/SDKlib.dir/src/nodemanager.cpp.o -MF CMakeFiles/SDKlib.dir/src/nodemanager.cpp.o.d -o CMakeFiles/SDKlib.dir/src/nodemanager.cpp.o -c /var/lib/notamock/rpmbuild/BUILD/MEGAsync-4.11.0.0_Linux/src/MEGASync/mega/src/nodemanager.cpp
/var/lib/notamock/rpmbuild/BUILD/MEGAsync-4.11.0.0_Linux/src/MEGASync/mega/src/nodemanager.cpp: In member function 'void mega::NodeManager::setTable_internal(mega::DBTableNodes*)':
/var/lib/notamock/rpmbuild/BUILD/MEGAsync-4.11.0.0_Linux/src/MEGASync/mega/src/nodemanager.cpp:45:19: error: 'using mega::NodeManager::MutexType = class std::recursive_mutex' {aka 'class std::recursive_mutex'} has no member named 'owns_lock'
   45 |     assert(mMutex.owns_lock());
      |                   ^~~~~~~~~
/var/lib/notamock/rpmbuild/BUILD/MEGAsync-4.11.0.0_Linux/src/MEGASync/mega/src/nodemanager.cpp: In member function 'void mega::NodeManager::reset_internal()':
/var/lib/notamock/rpmbuild/BUILD/MEGAsync-4.11.0.0_Linux/src/MEGASync/mega/src/nodemanager.cpp:57:19: error: 'using mega::NodeManager::MutexType = class std::recursive_mutex' {aka 'class std::recursive_mutex'} has no member named 'owns_lock'
   57 |     assert(mMutex.owns_lock());

gcc version 13.2.0

build command:

	%cmake -DUSE_PDFIUM=0
	%make V=1
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

1 participant