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

"make: *** [all] Error 2" during build #186

Closed
nav1d opened this issue Apr 7, 2018 · 3 comments
Closed

"make: *** [all] Error 2" during build #186

nav1d opened this issue Apr 7, 2018 · 3 comments

Comments

@nav1d
Copy link

nav1d commented Apr 7, 2018

Hi, i followed instructions, but i got these errors:

[ 32%] Built target tl_generate_common
[ 36%] Built target tdnet
[ 36%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/utils.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.9/README.Bugs for instructions.
make[2]: *** [CMakeFiles/tdcore.dir/td/mtproto/utils.cpp.o] Error 4
make[1]: *** [CMakeFiles/tdcore.dir/all] Error 2
make: *** [all] Error 2

@levlam
Copy link
Contributor

levlam commented Apr 7, 2018

It is likely that you have not enough RAM for compilation. gcc needs 4.5 GB+. You can try clang, which needs less than 2 GB.

@isopen
Copy link
Contributor

isopen commented Apr 8, 2018

Try to purchase additional memory for 16GB and compile with gcc or clang #6
Instructions for some assemblies https://github.com/isopen/docker/tree/master/tdlib
If you have new types of instructions, then write to me about this

@nav1d
Copy link
Author

nav1d commented Apr 8, 2018

Yeah. Bacause i used a vps.
Tnx

@nav1d nav1d closed this as completed Apr 8, 2018
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

3 participants