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 doesn't work on Arch Linux #17

Open
C0rn3j opened this issue Nov 25, 2017 · 1 comment
Open

Make doesn't work on Arch Linux #17

C0rn3j opened this issue Nov 25, 2017 · 1 comment

Comments

@C0rn3j
Copy link

C0rn3j commented Nov 25, 2017

Had to use gcc.

[0] % make   
clang++ -c -O3 -I./utils/inc -D_FILE_OFFSET_BITS=64 -DCONSOLE_SUPPORTS_COLOR -Wall -std=c++11 -Wfatal-errors -stdlib=libc++ ps3netsrv.cpp -o ps3netsrv.o
ps3netsrv.cpp:7:10: fatal error: 'array' file not found
#include <array>
         ^~~~~~~
1 error generated.
make: *** [Makefile:16: ps3netsrv.o] Error 1
[255] % clang --version
clang version 5.0.0 (tags/RELEASE_500/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Also the readme should include a "cd ps3netsrv--" after git clone.

@Pandoriaantje
Copy link
Contributor

Compiling with clang/libc++ on linux, the linker needs to be manually pointed to libc++abi.

Check the makefile in my fork.

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