ps3netsrv-- icon indicating copy to clipboard operation
ps3netsrv-- copied to clipboard

Make doesn't work on Arch Linux

Open C0rn3j opened this issue 7 years ago • 1 comments

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.

C0rn3j avatar Nov 25 '17 21:11 C0rn3j

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

Check the makefile in my fork.

Pandoriaantje avatar Nov 26 '17 09:11 Pandoriaantje