Skip to content
Guest Big Announcement

Compiling issues iOS 9

Featured Replies

Here is some useful info
 
- iOS 9
- 64-Bit device
- Perl 5.22.0
- LLMV + Clang (latest version)
- LD64 (latest version)
- Darwin CC Tools (latest version)
- iPhoneOS7.0.sdk
 
using DHowett's Theos I still get Killed: 9 errors so I wanted to try Kirb's. This error seems more possible to me but I couldn't figure out how to fix it

this is the error generated using the default Theos from Dustin Howett
 

 

 

 

 

I fixed that, my new error is 

clang++: error: unable to execute command: posix_spawn failed: Bad executable (or shared library)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/Injustice.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Injustice.all.tweak.variables] Error 2

Updated by castix

Solved by Rook

  • Replies 29
  • Views 5.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • --Techarmor--
    --Techarmor--

    are you on CyGwin? cuz CyGwin tells you the problem and the fix (sometimes) of the problem

  • Author

 

Even tho the title say 32-Bit only it kinda worked for me. it brought me to the bus: 10 error which again brought me to shmoo's problem

 

 

clang++: error: unable to execute command: posix_spawn failed: Bad executable (or shared library)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/Injustice.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Injustice.all.tweak.variables] Error 2

 

Even tho the title say 32-Bit only it kinda worked for me. it brought me to the bus: 10 error which again brought me to shmoo's problem

clang++: error: unable to execute command: posix_spawn failed: Bad executable (or shared library)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/Injustice.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Injustice.all.tweak.variables] Error 2

are you on CyGwin? cuz CyGwin tells you the problem and the fix (sometimes) of the problem

  • Author

are you on CyGwin? cuz CyGwin tells you the problem and the fix (sometimes) of the problem

 

No? Look at the first post

 

- iOS 9

- 64-Bit device

- Perl 5.22.0

- LLMV + Clang (latest version)

- LD64 (downgraded version)

- Darwin CC Tools (downgraded version)

- iPhoneOS7.0.sdk

  • Author

 

I've done this before. This is my new error

clang++: error: unable to execute command: posix_spawn failed: Bad executable (or shared library)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/Injustice.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Injustice.all.tweak.variables] Error 2

I've done this before. This is my new error

 

clang++: error: unable to execute command: posix_spawn failed: Bad executable (or shared library)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/Injustice.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Injustice.all.tweak.variables] Error 2
i got this error before codesigning the binaries but after i code signed them with ldid it worked so fine, try the latest versions of ld64 and darwin cc then code sign them cos they work fine for me now!
  • Author

i got this error before codesigning the binaries but after i code signed them with ldid it worked so fine, try the latest versions of ld64 and darwin cc then code sign them cos they work fine for me now!

Nope they still don't work for me

 

 

 

clang++: error: unable to execute command: Bus error: 10
clang++: error: linker command failed due to signal (use -v to see invocation)
make[2]: *** [obj/Injustice.dylib.64873355.unsigned] Error 254
make[1]: *** [internal-library-all_] Error 2
make: *** [Injustice.all.tweak.variables] Error 2

Use the old version of perl from cydia.radare.org

Nope they still don't work for me

 

 

clang++: error: unable to execute command: Bus error: 10
clang++: error: linker command failed due to signal (use -v to see invocation)
make[2]: *** [obj/Injustice.dylib.64873355.unsigned] Error 254
make[1]: *** [internal-library-all_] Error 2
make: *** [Injustice.all.tweak.variables] Error 2
weird O.o did you try ldid -S /usr/bin/*

Updated by FireCubes

If you get illegal instruction 4 type this :)

 

sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' /usr/bin/perl

ldid -s /usr/bin/perl

 

sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' /usr/bin/rsync

ldid -s /usr/bin/rsync

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.