PS3Xploit / PS3xploit-resigner

A Tool To Resign PS2/PS3/PSX/PSP Content For Use With PS3 etHANol 4.82/4.84
GNU General Public License v3.0
186 stars 73 forks source link

Compile in linux #30

Closed ghost closed 5 years ago

ghost commented 5 years ago

main.cpp: In function ‘long long int current_timestamp()’: main.cpp:685:27: error: ‘gettimeofday’ was not declared in this scope Failed to compile main.cpp!

PT-nt107 commented 5 years ago

add header file #include <sys/time.h> in main.cpp

TheIgnacio commented 5 years ago

I have a somewhat similar problem gives me this error. https://mobile.twitter.com/ignacio99595752/status/1111406426298048512 when doing the make and starting the .sh

PT-nt107 commented 5 years ago

I think u just not install some lib files which include openssl header files,and you can install the libssl-dev package to deal it.

TheIgnacio commented 5 years ago

Error main.cpp:1051:25 fatal error :openssl/sha.h With resigner 3.0

ghost commented 5 years ago

installing python-dev, libssl-dev and commenting the line 686 // gettimeofday(&te, NULL); work for me

PT-nt107 commented 5 years ago

The problem I meet in compile in Linux is that I'm using arm64 arch CPU which not support AES-NI SSSE3(two kinds of instructions on Intel x86 CPU). But when GCC compile pkg2zip_aes_x86.c ,it will use -maes -mssse3 (the gcc on arm64 not support) .

ghost commented 5 years ago

main.cpp

TheIgnacio commented 5 years ago

Thanks for your help, they helped me a lot since I just could not run it in w xp, Thanks.