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

Failed to build on ubuntu18.04 #414

Closed
hoody17 opened this issue May 17, 2023 · 0 comments
Closed

Failed to build on ubuntu18.04 #414

hoody17 opened this issue May 17, 2023 · 0 comments

Comments

@hoody17
Copy link

hoody17 commented May 17, 2023

i use the script in /mcrouter/script/
and command is $./install_ubuntu_18.04.sh /home/$USER/mcrouter-install/ -j4
the error is
/usr/include/c++/7/bits/stl_construct.h:75:7: error: ‘folly::File::File(const folly::File&)’ is private within this context
{ ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hudi/mcrouter_install/pkgs/folly/folly/io/ShutdownSocketSet.h:22:0,
from /home/hudi/mcrouter_install/pkgs/folly/folly/io/async/AsyncSocket.h:31,
from /home/hudi/mcrouter_install/pkgs/folly/folly/io/async/fdsock/AsyncFdSocket.h:21,
from /home/hudi/mcrouter_install/pkgs/folly/folly/io/async/fdsock/AsyncFdSocket.cpp:17:
/home/hudi/mcrouter_install/pkgs/folly/folly/File.h:160:3: note: declared private here
File(const File&) = delete;
^~~~
In file included from /usr/include/c++/7/memory:64:0,
from /home/hudi/mcrouter_install/pkgs/folly/folly/io/async/AsyncSocket.h:23,
from /home/hudi/mcrouter_install/pkgs/folly/folly/io/async/fdsock/AsyncFdSocket.h:21,
from /home/hudi/mcrouter_install/pkgs/folly/folly/io/async/fdsock/AsyncFdSocket.cpp:17:
/usr/include/c++/7/bits/stl_construct.h:75:7: error: use of deleted function ‘folly::File::File(const folly::File&)’
{ ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hudi/mcrouter_install/pkgs/folly/folly/io/ShutdownSocketSet.h:22:0,
from /home/hudi/mcrouter_install/pkgs/folly/folly/io/async/AsyncSocket.h:31,
from /home/hudi/mcrouter_install/pkgs/folly/folly/io/async/fdsock/AsyncFdSocket.h:21,
from /home/hudi/mcrouter_install/pkgs/folly/folly/io/async/fdsock/AsyncFdSocket.cpp:17:
/home/hudi/mcrouter_install/pkgs/folly/folly/File.h:160:3: note: declared here
File(const File&) = delete;
how can i resolve it?

@hoody17 hoody17 closed this as completed May 17, 2023
@hoody17 hoody17 reopened this May 17, 2023
@hoody17 hoody17 changed the title Failed to build Failed to build on ubuntu18.04 May 18, 2023
@hoody17 hoody17 closed this as completed Jul 1, 2023
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