Git Product home page Git Product logo

ps4link's Introduction

Hi there ๐Ÿ‘‹

ko-fi

๐Ÿ“ซ How to reach me: @psxdev on twitter

psxdev' github stats

ps4link's People

Contributors

droogie avatar psxdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ps4link's Issues

PS4SH doens't want to launch the elf (fMSX)

Hi !
I have a problem with the PS4SH, i have compiled with success fMSX and i have add all file needed (Game + BIOS/Filesystem). i have renamed it "homebrew.elf" and i have launched OrbisLink.

But i can't launch the .elf (nothing in the screen just the OrbisLink logo)

Screenshot:

fmsx data

Can be port on Linux?

Hello i try to install it on linux i follow the instruction in readame but when i do

cmake --build . --target install
i have
root@localhost-002:~/Scrivania/crossllvm/build# cmake --build . --target install [ 0%] Built target LLVMDemangle [ 4%] Built target LLVMSupport [ 4%] Built target LLVMTableGen [ 6%] Built target obj.llvm-tblgen [ 6%] Built target llvm-tblgen [ 7%] Built target AttributeCompatFuncTableGen [ 7%] Built target intrinsics_gen [ 9%] Built target LLVMCore [ 9%] Built target LLVMIRReader [ 9%] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/LexicalScopes.cpp.o In file included from /root/Scrivania/crossllvm/llvm/lib/CodeGen/LexicalScopes.cpp:17: In file included from /root/Scrivania/crossllvm/llvm/include/llvm/CodeGen/LexicalScopes.h:20: In file included from /root/Scrivania/crossllvm/llvm/include/llvm/ADT/ArrayRef.h:13: In file included from /root/Scrivania/crossllvm/llvm/include/llvm/ADT/Hashing.h:49: In file included from /root/Scrivania/crossllvm/llvm/include/llvm/Support/Host.h:17: In file included from /root/Scrivania/crossllvm/llvm/include/llvm/ADT/StringMap.h:17: In file included from /root/Scrivania/crossllvm/llvm/include/llvm/ADT/StringRef.h:13: In file included from /root/Scrivania/crossllvm/llvm/include/llvm/ADT/STLExtras.h:24: In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:55: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:1400:14: error: no matching constructor for initialization of 'tuple<llvm::LexicalScope *&&, const llvm::DILocalScope *&&, nullptr_t &&, bool &&>' { return tuple<_Elements&&...>(std::forward<_Elements>(__args)...); } ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/Scrivania/crossllvm/llvm/lib/CodeGen/LexicalScopes.cpp:155:36: note: in instantiation of function template specialization 'std::forward_as_tuple<llvm::LexicalScope *&, const llvm::DILocalScope *&, nullptr_t, bool>' requested here std::forward_as_tuple(Parent, Scope, nullptr, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:600:18: note: candidate template ignored: disabled by 'enable_if' [with _Dummy = void] _TCC<_Dummy>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:611:18: note: candidate template ignored: disabled by 'enable_if' [with _Dummy = void] _TCC<_Dummy>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:628:5: note: candidate template ignored: disabled by 'enable_if' [with _UElements = <llvm::LexicalScope *&, const llvm::DILocalScope *&, nullptr_t, bool>] _TC<sizeof...(_UElements) == 1, _Elements...>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:641:5: note: candidate template ignored: disabled by 'enable_if' [with _UElements = <llvm::LexicalScope *&, const llvm::DILocalScope *&, nullptr_t, bool>] _TC<sizeof...(_UElements) == 1, _Elements...>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:737:19: note: candidate template ignored: disabled by 'enable_if' [with _Alloc = const llvm::DILocalScope *, _UElements = <nullptr_t, bool>] enable_if<_TMC<_UElements...>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:748:19: note: candidate template ignored: disabled by 'enable_if' [with _Alloc = const llvm::DILocalScope *, _UElements = <nullptr_t, bool>] enable_if<_TMC<_UElements...>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:579:17: note: candidate constructor template not viable: requires 0 arguments, but 4 were provided constexpr tuple() ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:589:26: note: candidate constructor template not viable: requires 0 arguments, but 4 were provided explicit constexpr tuple() ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:670:19: note: candidate constructor template not viable: requires single argument '__in', but 4 arguments were provided constexpr tuple(const tuple<_UElements...>& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:682:28: note: candidate constructor template not viable: requires single argument '__in', but 4 arguments were provided explicit constexpr tuple(const tuple<_UElements...>& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:694:19: note: candidate constructor template not viable: requires single argument '__in', but 4 arguments were provided constexpr tuple(tuple<_UElements...>&& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:705:28: note: candidate constructor template not viable: requires single argument '__in', but 4 arguments were provided explicit constexpr tuple(tuple<_UElements...>&& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:721:2: note: candidate constructor template not viable: requires 6 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:732:11: note: candidate constructor template not viable: requires 6 arguments, but 4 were provided explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:711:2: note: candidate constructor template not viable: requires 2 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:759:2: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:763:2: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:772:2: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:784:11: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:796:2: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:808:11: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:654:17: note: candidate constructor not viable: requires 1 argument, but 4 were provided constexpr tuple(tuple&&) = default; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:652:17: note: candidate constructor not viable: requires 1 argument, but 4 were provided constexpr tuple(const tuple&) = default; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:1400:14: error: no matching constructor for initialization of 'tuple<llvm::LexicalScope *&&, const llvm::DILocalScope *&&, const llvm::DILocation *&&, bool &&>' { return tuple<_Elements&&...>(std::forward<_Elements>(__args)...); } ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/Scrivania/crossllvm/llvm/lib/CodeGen/LexicalScopes.cpp:186:43: note: in instantiation of function template specialization 'std::forward_as_tuple<llvm::LexicalScope *&, const llvm::DILocalScope *&, const llvm::DILocation *&, bool>' requested here std::forward_as_tuple(Parent, Scope, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:600:18: note: candidate template ignored: disabled by 'enable_if' [with _Dummy = void] _TCC<_Dummy>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:611:18: note: candidate template ignored: disabled by 'enable_if' [with _Dummy = void] _TCC<_Dummy>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:628:5: note: candidate template ignored: disabled by 'enable_if' [with _UElements = <llvm::LexicalScope *&, const llvm::DILocalScope *&, const llvm::DILocation *&, bool>] _TC<sizeof...(_UElements) == 1, _Elements...>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:641:5: note: candidate template ignored: disabled by 'enable_if' [with _UElements = <llvm::LexicalScope *&, const llvm::DILocalScope *&, const llvm::DILocation *&, bool>] _TC<sizeof...(_UElements) == 1, _Elements...>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:737:19: note: candidate template ignored: disabled by 'enable_if' [with _Alloc = const llvm::DILocalScope *, _UElements = <const llvm::DILocation *&, bool>] enable_if<_TMC<_UElements...>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:748:19: note: candidate template ignored: disabled by 'enable_if' [with _Alloc = const llvm::DILocalScope *, _UElements = <const llvm::DILocation *&, bool>] enable_if<_TMC<_UElements...>::template ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:579:17: note: candidate constructor template not viable: requires 0 arguments, but 4 were provided constexpr tuple() ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:589:26: note: candidate constructor template not viable: requires 0 arguments, but 4 were provided explicit constexpr tuple() ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:670:19: note: candidate constructor template not viable: requires single argument '__in', but 4 arguments were provided constexpr tuple(const tuple<_UElements...>& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:682:28: note: candidate constructor template not viable: requires single argument '__in', but 4 arguments were provided explicit constexpr tuple(const tuple<_UElements...>& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:694:19: note: candidate constructor template not viable: requires single argument '__in', but 4 arguments were provided constexpr tuple(tuple<_UElements...>&& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:705:28: note: candidate constructor template not viable: requires single argument '__in', but 4 arguments were provided explicit constexpr tuple(tuple<_UElements...>&& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:721:2: note: candidate constructor template not viable: requires 6 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:732:11: note: candidate constructor template not viable: requires 6 arguments, but 4 were provided explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:711:2: note: candidate constructor template not viable: requires 2 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:759:2: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:763:2: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:772:2: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:784:11: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:796:2: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:808:11: note: candidate constructor template not viable: requires 3 arguments, but 4 were provided explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:654:17: note: candidate constructor not viable: requires 1 argument, but 4 were provided constexpr tuple(tuple&&) = default; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:652:17: note: candidate constructor not viable: requires 1 argument, but 4 were provided constexpr tuple(const tuple&) = default; ^ /root/Scrivania/crossllvm/llvm/lib/CodeGen/LexicalScopes.cpp:208:32: error: no matching function for call to 'forward_as_tuple' std::forward_as_tuple(Parent, Scope, ^~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/tuple:1399:5: note: candidate template ignored: substitution failure [with _Elements = <llvm::LexicalScope *&, const llvm::DILocalScope *&, nullptr_t, bool>] forward_as_tuple(_Elements&&... __args) noexcept ^ 3 errors generated. lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/build.make:974: set di istruzioni per l'obiettivo "lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/LexicalScopes.cpp.o" non riuscito make[2]: *** [lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/LexicalScopes.cpp.o] Errore 1 CMakeFiles/Makefile2:1145: set di istruzioni per l'obiettivo "lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/all" non riuscito make[1]: *** [lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/all] Errore 2 Makefile:149: set di istruzioni per l'obiettivo "all" non riuscito make: *** [all] Errore 2 root@localhost-002:~/Scrivania/crossllvm/build#

Any solutions? thanks in advance!

linker error

ps4link and elfldr is not complied
same error on freebsd and os x:

sh-3.2# make
clang /usr/local/ps4dev/libps4/crt0.s build/main.o -O3 -Wall -m64 -nostdlib -L/usr/local/ps4dev/libps4/lib -pie -ldebugnet -lps4link -lelfloader -lps4 -o bin/ps4link.elf
clang: warning: argument unused during compilation: '-pie'
/usr/local/ps4dev/libps4/crt0.s:1:19: error: unexpected token in '.section' directive
.pushsection .text
^
/usr/local/ps4dev/libps4/crt0.s:3:1: error: unknown directive
.type _start, @function
^
/usr/local/ps4dev/libps4/crt0.s:6:1: error: unknown directive
.size _start, .-_start
^
/usr/local/ps4dev/libps4/crt0.s:7:12: error: .popsection without corresponding .pushsection
.popsection
^
make: *** [ps4link] Error 1

ps4sdk not building

sorry to contact you on this repo instead of the ps4sdk but you didn't have issues enabled there. the 5.05 tree of the ps4sdk won't build on Ubuntu Linux, I have got clang 6.0 and cmake (and normal make) installed, and I'm running make in the directory and getting this error


~/ps4/ps4sdk-firmware505$ make       
make -C base all 
make[1]: Entering directory '/home/user/ps4/ps4sdk-firmware505/base'
Makefile:9: *** Neither PS4SDK, Ps4Sdk nor ps4sdk set. Stop.
make[1]: Leaving directory '/home/user/ps4/ps4sdk-firmware505/base'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2

freeBSD error when try to compile elfldr

export

declare -x BLOCKSIZE="K"
declare -x COMPILER="clang38"
declare -x EDITOR="vim"
declare -x ENV="/root/.shrc"
declare -x HOME="/root"
declare -x LOGNAME="root"
declare -x MAIL="/var/mail/root"
declare -x OLDPWD="/usr/local/ps4dev/git/ps4link/elfldr/ps4link/ldrgen"
declare -x PAGER="more"
declare -x PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin"
declare -x PS4DEV="/usr/local/ps4dev"
declare -x PWD="/usr/local/ps4dev/git/ps4link/elfldr/ps4link"
declare -x SHELL="/usr/local/bin/bash"
declare -x SHLVL="1"
declare -x SSH_CLIENT="192.168.1.17 55917 22"
declare -x SSH_CONNECTION="192.168.1.17 55917 192.168.1.22 22"
declare -x SSH_TTY="/dev/pts/0"
declare -x TERM="linux"
declare -x USER="root"
declare -x libps4="/usr/local/ps4dev/libps4"

clang -v

FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
Target: x86_64-unknown-freebsd11.0
Thread model: posix
InstalledDir: /usr/bin

gmake

clang -c source/ps4link.c -std=c11 -O3 -Wall -pedantic -m64 -mcmodel=large -I. -Iinclude -ffreestanding -nostdlib -nostdinc -fno-builtin -D__PS4__ -I/usr/local/ps4dev/libps4/include -target x86_64-scei-ps4-elf -DPayload=0x926400000 -o build/ps4link.c.o
source/ps4link.c:58:5: warning: implicit declaration of function 'ps4LinkCreateConf' is invalid in C99 [-Wimplicit-function-declaration]
if(ps4LinkCreateConf())
^
source/ps4link.c:69:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
sleep(2);
^
source/ps4link.c:90:52: warning: incompatible pointer types passing 'int (void )' to parameter of type 'void *()(void )' [-Wincompatible-pointer-types]
ret=scePthreadCreate(&server_request_thid, NULL, ps4link_requests_thread, NULL, "ps4link_request_server_thread");
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/ps4dev/libps4/include/kernel.h:12:78: note: passing argument to parameter 'entry' here
int scePthreadCreate(ScePthread *thread, const ScePthreadAttr *attr, void *(entry)(void ), void *arg, const char *name);
^
source/ps4link.c:106:52: warning: incompatible pointer types passing 'int (void *)' to parameter of type 'void *(
)(void )' [-Wincompatible-pointer-types]
ret=scePthreadCreate(&server_command_thid, NULL, ps4link_commands_thread, NULL, "ps4link_command_server_thread");
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/ps4dev/libps4/include/kernel.h:12:78: note: passing argument to parameter 'entry' here
int scePthreadCreate(ScePthread *thread, const ScePthreadAttr *attr, void (entry)(void ), void *arg, const char *name);
^
4 warnings generated.
clang -c source/requests.c -std=c11 -O3 -Wall -pedantic -m64 -mcmodel=large -I. -Iinclude -ffreestanding -nostdlib -nostdinc -fno-builtin -D__PS4
-I/usr/local/ps4dev/libps4/include -target x86_64-scei-ps4-elf -DPayload=0x926400000 -o build/requests.c.o
source/requests.c:176:2: warning: implicit declaration of function 'strncpy' is invalid in C99 [-Wimplicit-function-declaration]
strncpy(openreq->path, file, PS4LINK_MAX_PATH);
^
source/requests.c:255:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (size < 0) {
~~~~ ^ ~
source/requests.c:285:61: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
i = ps4link_recv_bytes(ps4LinkGetValue(FILEIO_SOCK), data+j_PACKET_MAXSIZE, PACKET_MAXSIZE);
~~~~^
source/requests.c:289:61: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
i = ps4link_recv_bytes(ps4LinkGetValue(FILEIO_SOCK), data+j
PACKET_MAXSIZE, PACKET_MAXSIZE+lastread);
~~~~^
source/requests.c:350:3: warning: implicit declaration of function 'memcpy' is invalid in C99 [-Wimplicit-function-declaration]
memcpy(&send_packet[sizeof(ps4link_pkt_write_req)], &data[writtenbytes],nbytes);
^
source/requests.c:350:60: warning: subscript of a pointer to void is a GNU extension [-Wpointer-arith]
memcpy(&send_packet[sizeof(ps4link_pkt_write_req)], &data[writtenbytes],nbytes);
~~~~^
source/requests.c:640:2: warning: implicit declaration of function 'memset' is invalid in C99 [-Wimplicit-function-declaration]
memset(serveraddr.sin_zero, 0, sizeof(serveraddr.sin_zero));
^
7 warnings generated.
clang -c source/commands.c -std=c11 -O3 -Wall -pedantic -m64 -mcmodel=large -I. -Iinclude -ffreestanding -nostdlib -nostdinc -fno-builtin -D__PS4
-I/usr/local/ps4dev/libps4/include -target x86_64-scei-ps4-elf -DPayload=0x926400000 -o build/commands.c.o
source/commands.c:56:6: warning: comparison of address of 'mm' equal to a null pointer is always false [-Wtautological-pointer-compare]
if(&mm == NULL)
^~ ~~~~
source/commands.c:87:6: warning: comparison of address of 'mm' equal to a null pointer is always false [-Wtautological-pointer-compare]
if(&mm == NULL)
^~ ~~~~
source/commands.c:251:6: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration]
UID=getuid();
^
source/commands.c:252:6: warning: implicit declaration of function 'getgid' is invalid in C99 [-Wimplicit-function-declaration]
GID=getgid();
^
source/commands.c:265:30: warning: comparison of array 'pkg->argv' not equal to a null pointer is always true [-Wtautological-pointer-compare]
if(UID==0 && GID==0 && pkg->argv!=NULL)
~~~~~^~~~ ~~~~
source/commands.c:303:44: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
dent = (struct dirent )((void *)dent + dent->d_reclen);
~~~~~~~~~~~~ ^
source/commands.c:314:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
err=close(dfd);
^
source/commands.c:323:11: warning: comparison of array 'pkg->argv' not equal to a null pointer is always true [-Wtautological-pointer-compare]
if(pkg->argv!=NULL)
~~~~~^~~~ ~~~~
source/commands.c:372:5: warning: implicit declaration of function 'memset' is invalid in C99 [-Wimplicit-function-declaration]
memset(&serveraddr, 0, sizeof serveraddr);
^
source/commands.c:408:108: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
len = recvfrom(ps4LinkGetValue(COMMANDS_SOCK), &recvbuf[0], BUF_SIZE, 0, (struct sockaddr *)&remote_addr,&addrlen);
^~~~~~~~
/usr/local/ps4dev/libps4/include/sys/socket.h:615:96: note: passing argument to parameter here
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * restrict, socklen_t * __restrict);
^
10 warnings generated.
clang -c source/debugnet.c -std=c11 -O3 -Wall -pedantic -m64 -mcmodel=large -I. -Iinclude -ffreestanding -nostdlib -nostdinc -fno-builtin -D__PS4
-I/usr/local/ps4dev/libps4/include -target x86_64-scei-ps4-elf -DPayload=0x926400000 -o build/debugnet.c.o
clang -c source/elfloader.c -std=c11 -O3 -Wall -pedantic -m64 -mcmodel=large -I. -Iinclude -ffreestanding -nostdlib -nostdinc -fno-builtin -D__PS4
-I/usr/local/ps4dev/libps4/include -target x86_64-scei-ps4-elf -DPayload=0x926400000 -o build/elfloader.c.o
clang -c source/main.c -std=c11 -O3 -Wall -pedantic -m64 -mcmodel=large -I. -Iinclude -ffreestanding -nostdlib -nostdinc -fno-builtin -D__PS4__ -I/usr/local/ps4dev/libps4/include -target x86_64-scei-ps4-elf -DPayload=0x926400000 -o build/main.c.o
clang /usr/local/ps4dev/libps4/crt0.s build/ps4link.c.o build/requests.c.o build/commands.c.o build/debugnet.c.o build/elfloader.c.o build/main.c.o -O3 -Wall -m64 -L. -Llib -nostdlib -L/usr/local/ps4dev/libps4/lib -Wl,--build-id=none -Wl,-Ttext,0x926200000 -Wl,-Tdata,0x926300000 -lps4 -o bin/ldr
/usr/bin/ld: unrecognized option '--build-id=none'
/usr/bin/ld: use the --help option for usage information
clang: error: linker command failed with exit code 1 (use -v to see invocation)
/usr/local/ps4dev/libps4/make//targets/ps4-bin.mk:33: recipe for target 'bin/ldr' failed
gmake: *_* [bin/ldr] Error 1

this is frustrating ,what im missing here?
hope you guys can help me to compile this

Build fails under Os x Sierra

I get errors related to readline functions. I suspect this is not the only one.

This is the first one encountered (ps4sh make):

src/rl_common.c:50:20: error: use of undeclared identifier 'rl_abort'
rl_bind_key('\t',rl_abort);

Complication with compiling

I am having trouble compiling libdebugnet. I am getting errors in the following format: "unknown type name [type]; do you mean [type]?". Here is an error I get when compiling: /usr/local/ps4dev/libps4/include/stdarg.h:39:9: error: unknown type name '__va_list'; did you mean 'va_list'? I am trying to compile on Mac OS X 10.11 with Xcode 7.2.

Error linking elfldf and ps4link (multiple definitions)

I am encountering linker errors while linking due to duplicate symbols. Any idea ? Is there a way to check the exported symbols in the static library ?

Elfldr

clang /usr/local/ps4dev/libps4/crt0.s build/commands.c.o build/debugnet.c.o build/elfloader.c.o build/main.c.o build/ps4link.c.o build/requests.c.o -O3 -Wall -m64 -L. -Llib -nostdlib -L/usr/local/ps4dev/libps4/lib -Wl,-Ttext,0x93a300000 -Wl,-Tdata,0x93a400000 -lps4 -o bin/ldr
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfAddendRelocationAttribute': source/ps4/elfloader.c:(.text+0xcb0): multiple definition ofelfAddendRelocationAttribute'
build/elfloader.c.o:source/elfloader.c:(.text+0xab0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfAddendRelocations': source/ps4/elfloader.c:(.text+0xcd0): multiple definition ofelfAddendRelocations'
build/elfloader.c.o:source/elfloader.c:(.text+0xad0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfCreate': source/ps4/elfloader.c:(.text+0xf40): multiple definition ofelfCreate'
build/elfloader.c.o:source/elfloader.c:(.text+0xd40): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfDestroy': source/ps4/elfloader.c:(.text+0xfd0): multiple definition ofelfDestroy'
build/elfloader.c.o:source/elfloader.c:(.text+0xe00): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfDestroyAndFree': source/ps4/elfloader.c:(.text+0x1000): multiple definition ofelfDestroyAndFree'
build/elfloader.c.o:source/elfloader.c:(.text+0xe20): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfDynamic': source/ps4/elfloader.c:(.text+0x860): multiple definition ofelfDynamic'
build/elfloader.c.o:source/elfloader.c:(.text+0x7f0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfDynamicAttribute': source/ps4/elfloader.c:(.text+0x6d0): multiple definition ofelfDynamicAttribute'
build/elfloader.c.o:source/elfloader.c:(.text+0x6e0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfDynamics': source/ps4/elfloader.c:(.text+0x730): multiple definition ofelfDynamics'
build/elfloader.c.o:source/elfloader.c:(.text+0x700): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfEntry': source/ps4/elfloader.c:(.text+0x10): multiple definition ofelfEntry'
build/elfloader.c.o:source/elfloader.c:(.text+0x10): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfHeader': source/ps4/elfloader.c:(.text+0x0): multiple definition ofelfHeader'
build/elfloader.c.o:source/elfloader.c:(.text+0x0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLargestAlignment': source/ps4/elfloader.c:(.text+0x30): multiple definition ofelfLargestAlignment'
build/elfloader.c.o:source/elfloader.c:(.text+0x30): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLoaderInstantiate': source/ps4/elfloader.c:(.text+0x1100): multiple definition ofelfLoaderInstantiate'
build/elfloader.c.o:source/elfloader.c:(.text+0xf00): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLoaderIsLoadable': source/ps4/elfloader.c:(.text+0x1040): multiple definition ofelfLoaderIsLoadable'
build/elfloader.c.o:source/elfloader.c:(.text+0xe40): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLoaderLoad': source/ps4/elfloader.c:(.text+0x15d0): multiple definition ofelfLoaderLoad'
build/elfloader.c.o:source/elfloader.c:(.text+0x13b0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLoaderRelativeAddressIsExecutable': source/ps4/elfloader.c:(.text+0x1250): multiple definition ofelfLoaderRelativeAddressIsExecutable'
build/elfloader.c.o:source/elfloader.c:(.text+0x1050): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLoaderRelocate': source/ps4/elfloader.c:(.text+0x1310): multiple definition ofelfLoaderRelocate'
build/elfloader.c.o:source/elfloader.c:(.text+0x1110): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfMemorySize': source/ps4/elfloader.c:(.text+0x220): multiple definition ofelfMemorySize'
build/elfloader.c.o:source/elfloader.c:(.text+0x210): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSection': source/ps4/elfloader.c:(.text+0x3b0): multiple definition ofelfSection'
build/elfloader.c.o:source/elfloader.c:(.text+0x3c0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSectionAttribute': source/ps4/elfloader.c:(.text+0x520): multiple definition ofelfSectionAttribute'
build/elfloader.c.o:source/elfloader.c:(.text+0x530): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSectionByName': source/ps4/elfloader.c:(.text+0x570): multiple definition ofelfSectionByName'
build/elfloader.c.o:source/elfloader.c:(.text+0x580): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSectionStrings': source/ps4/elfloader.c:(.text+0x350): multiple definition ofelfSectionStrings'
build/elfloader.c.o:source/elfloader.c:(.text+0x360): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSections': source/ps4/elfloader.c:(.text+0x310): multiple definition ofelfSections'
build/elfloader.c.o:source/elfloader.c:(.text+0x320): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSegment': source/ps4/elfloader.c:(.text+0xc0): multiple definition ofelfSegment'
build/elfloader.c.o:source/elfloader.c:(.text+0xb0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSegmentAttribute': source/ps4/elfloader.c:(.text+0x680): multiple definition ofelfSegmentAttribute'
build/elfloader.c.o:source/elfloader.c:(.text+0x690): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSegments': source/ps4/elfloader.c:(.text+0x2d0): multiple definition ofelfSegments'
build/elfloader.c.o:source/elfloader.c:(.text+0x2e0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfStringFromIndex': source/ps4/elfloader.c:(.text+0xbe0): multiple definition ofelfStringFromIndex'
build/elfloader.c.o:source/elfloader.c:(.text+0x9e0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfStringFromOffset': source/ps4/elfloader.c:(.text+0xc30): multiple definition ofelfStringFromOffset'
build/elfloader.c.o:source/elfloader.c:(.text+0xa30): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfStringToIndex': source/ps4/elfloader.c:(.text+0xc50): multiple definition ofelfStringToIndex'
build/elfloader.c.o:source/elfloader.c:(.text+0xa50): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfStringToOffset': source/ps4/elfloader.c:(.text+0x630): multiple definition ofelfStringToOffset'
build/elfloader.c.o:source/elfloader.c:(.text+0x640): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSymbolAttribute': source/ps4/elfloader.c:(.text+0xdf0): multiple definition ofelfSymbolAttribute'
build/elfloader.c.o:source/elfloader.c:(.text+0xbf0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSymbols': source/ps4/elfloader.c:(.text+0xe30): multiple definition ofelfSymbols'
build/elfloader.c.o:source/elfloader.c:(.text+0xc30): first defined here
build/commands.c.o: In function ps4LinkRunElf': source/commands.c:(.text+0x187): undefined reference tops4ProtectedMemoryWritable'
source/commands.c:(.text+0x19f): undefined reference to ps4ProtectedMemoryExecutable' source/commands.c:(.text+0x1dc): undefined reference tops4ProtectedMemoryWritable'
clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bin/ldr] Error 1

Ps4Link

clang /usr/local/ps4dev/libps4/crt0.s build/main.c.o -O3 -Wall -m64 -L. -Llib -nostdlib -L/usr/local/ps4dev/libps4/lib -pie -ldebugnet -lps4link -lps4 -o bin/ps4link.elf
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfAddendRelocationAttribute': source/ps4/elfloader.c:(.text+0xcb0): multiple definition ofelfAddendRelocationAttribute'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xab0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfAddendRelocations': source/ps4/elfloader.c:(.text+0xcd0): multiple definition ofelfAddendRelocations'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xad0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfCreate': source/ps4/elfloader.c:(.text+0xf40): multiple definition ofelfCreate'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xd40): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfDestroy': source/ps4/elfloader.c:(.text+0xfd0): multiple definition ofelfDestroy'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xe00): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfDestroyAndFree': source/ps4/elfloader.c:(.text+0x1000): multiple definition ofelfDestroyAndFree'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xe20): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfDynamic': source/ps4/elfloader.c:(.text+0x860): multiple definition ofelfDynamic'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x7f0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfDynamicAttribute': source/ps4/elfloader.c:(.text+0x6d0): multiple definition ofelfDynamicAttribute'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x6e0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfDynamics': source/ps4/elfloader.c:(.text+0x730): multiple definition ofelfDynamics'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x700): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfEntry': source/ps4/elfloader.c:(.text+0x10): multiple definition ofelfEntry'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x10): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfHeader': source/ps4/elfloader.c:(.text+0x0): multiple definition ofelfHeader'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLargestAlignment': source/ps4/elfloader.c:(.text+0x30): multiple definition ofelfLargestAlignment'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x30): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLoaderInstantiate': source/ps4/elfloader.c:(.text+0x1100): multiple definition ofelfLoaderInstantiate'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xf00): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLoaderIsLoadable': source/ps4/elfloader.c:(.text+0x1040): multiple definition ofelfLoaderIsLoadable'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xe40): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLoaderLoad': source/ps4/elfloader.c:(.text+0x15d0): multiple definition ofelfLoaderLoad'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x13b0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLoaderRelativeAddressIsExecutable': source/ps4/elfloader.c:(.text+0x1250): multiple definition ofelfLoaderRelativeAddressIsExecutable'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x1050): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfLoaderRelocate': source/ps4/elfloader.c:(.text+0x1310): multiple definition ofelfLoaderRelocate'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x1110): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfMemorySize': source/ps4/elfloader.c:(.text+0x220): multiple definition ofelfMemorySize'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x210): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSection': source/ps4/elfloader.c:(.text+0x3b0): multiple definition ofelfSection'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x3c0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSectionAttribute': source/ps4/elfloader.c:(.text+0x520): multiple definition ofelfSectionAttribute'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x530): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSectionByName': source/ps4/elfloader.c:(.text+0x570): multiple definition ofelfSectionByName'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x580): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSectionStrings': source/ps4/elfloader.c:(.text+0x350): multiple definition ofelfSectionStrings'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x360): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSections': source/ps4/elfloader.c:(.text+0x310): multiple definition ofelfSections'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x320): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSegment': source/ps4/elfloader.c:(.text+0xc0): multiple definition ofelfSegment'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xb0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSegmentAttribute': source/ps4/elfloader.c:(.text+0x680): multiple definition ofelfSegmentAttribute'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x690): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSegments': source/ps4/elfloader.c:(.text+0x2d0): multiple definition ofelfSegments'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x2e0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfStringFromIndex': source/ps4/elfloader.c:(.text+0xbe0): multiple definition ofelfStringFromIndex'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x9e0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfStringFromOffset': source/ps4/elfloader.c:(.text+0xc30): multiple definition ofelfStringFromOffset'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xa30): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfStringToIndex': source/ps4/elfloader.c:(.text+0xc50): multiple definition ofelfStringToIndex'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xa50): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfStringToOffset': source/ps4/elfloader.c:(.text+0x630): multiple definition ofelfStringToOffset'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0x640): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSymbolAttribute': source/ps4/elfloader.c:(.text+0xdf0): multiple definition ofelfSymbolAttribute'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xbf0): first defined here
/usr/local/ps4dev/libps4/lib/libps4.a(elfloader.c.o): In function elfSymbols': source/ps4/elfloader.c:(.text+0xe30): multiple definition ofelfSymbols'
/usr/local/ps4dev/libps4/lib/libps4link.a(elfloader.c.o):source/elfloader.c:(.text+0xc30): first defined here
/usr/local/ps4dev/libps4/lib/libps4link.a(commands.c.o): In function ps4LinkRunElf': source/commands.c:(.text+0x187): undefined reference tops4ProtectedMemoryWritable'
source/commands.c:(.text+0x19f): undefined reference to ps4ProtectedMemoryExecutable' source/commands.c:(.text+0x1dc): undefined reference tops4ProtectedMemoryWritable'
clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bin/ps4link.elf] Error 1

lib directory

drwxr-xr-x 2 user user 4096 apr 13 13:51 .
drwxrwxrwx 5 user user 4096 apr 13 13:44 ..
-rw-rw-r-- 1 user user 6048 apr 13 13:51 libdebugnet.a
-rw-r--r-- 1 user user 4112186 apr 13 13:44 libps4.a
-rw-rw-r-- 1 user user 55818 apr 13 15:24 libps4link.a

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.