ps3netsrv--
ps3netsrv-- copied to clipboard
Make doesn't work on Arch Linux
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
.
Compiling with clang/libc++ on linux, the linker needs to be manually pointed to libc++abi.
Check the makefile in my fork.