Jump to content

Strange Errors (On-Device Theos Install)


Go to solution Solved by Rook,

28 posts in this topic

Recommended Posts

Posted

I can compile it without an issue:


Ls-iPad:~/tes root# make package
Making all for tweak tes...
 Preprocessing tes.x...
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
 Compiling tes.x...
 Linking tweak tes...
 Stripping tes...
 Signing tes...
Making stage for tweak tes...
dpkg-deb: building package `com.yourcompany.tes' in `Packages/com.yourcompany.tes_0.0.1-1_iphoneos-arm.deb'.

  • Replies 27
  • Created
  • Last Reply

Top Posters In This Topic

Posted

 

I can compile it without an issue:


Ls-iPad:~/tes root# make package
Making all for tweak tes...
 Preprocessing tes.x...
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
 Compiling tes.x...
 Linking tweak tes...
 Stripping tes...
 Signing tes...
Making stage for tweak tes...
dpkg-deb: building package `com.yourcompany.tes' in `Packages/com.yourcompany.tes_0.0.1-1_iphoneos-arm.deb'.

His theos is probably broken.

  • Solution
Posted

His theos is probably broken.

That's what it comes down to if I can compile the same project without the error. :)

Posted

Reinstall theos using this

 

This helped get rid of a few errors, but now I'm stuck on:

Zanes-iPhone:/User/Documents/iOSTweaks/tes root# make package messages=yes
Making all for tweak tes...
make -f Makefile --no-print-directory --no-keep-going \
		internal-library-compile \
		_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=tes _THEOS_CURRENT_OPERATION=compile \
		THEOS_BUILD_DIR="/User/Documents/iOSTweaks/tes/Packages" _THEOS_MAKE_PARALLEL=yes
clang++ -L/User/Documents/iOSTweaks/tes/theos/lib -lobjc -framework Foundation -framework CoreFoundation  -framework Foundation     -lsubstrate -dynamiclib -install_name "/Library/MobileSubstrate/DynamicLibraries/tes.dylib"  -isysroot "/User/Documents/iOSTweaks/tes/theos/sdks/iPhoneOS8.1.sdk" -arch armv7 -arch armv7s -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_8_1 -miphoneos-version-min=8.1 -multiply_defined suppress   -o "/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned" /User/Documents/iOSTweaks/tes/Packages/obj/tes.x.940a2e73.o
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]: *** [/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [tes.all.tweak.variables] Error 2

That's what it comes down to if I can compile the same project without the error. :)

 

I know the project works, it's my environment that's broken.

Posted

This helped get rid of a few errors, but now I'm stuck on:

Zanes-iPhone:/User/Documents/iOSTweaks/tes root# make package messages=yes
Making all for tweak tes...
make -f Makefile --no-print-directory --no-keep-going \
		internal-library-compile \
		_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=tes _THEOS_CURRENT_OPERATION=compile \
		THEOS_BUILD_DIR="/User/Documents/iOSTweaks/tes/Packages" _THEOS_MAKE_PARALLEL=yes
clang++ -L/User/Documents/iOSTweaks/tes/theos/lib -lobjc -framework Foundation -framework CoreFoundation  -framework Foundation     -lsubstrate -dynamiclib -install_name "/Library/MobileSubstrate/DynamicLibraries/tes.dylib"  -isysroot "/User/Documents/iOSTweaks/tes/theos/sdks/iPhoneOS8.1.sdk" -arch armv7 -arch armv7s -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_8_1 -miphoneos-version-min=8.1 -multiply_defined suppress   -o "/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned" /User/Documents/iOSTweaks/tes/Packages/obj/tes.x.940a2e73.o
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]: *** [/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [tes.all.tweak.variables] Error 2

 

I know the project works, it's my environment that's broken.

Try installing the packages from: apt.openios.org repo

Posted

Try installing the packages from: apt.openios.org repo

 

I replaced all the packages that OpeniOS offered with the ones I currently had installed and I'm getting the same error.

Zanes-iPhone:/User/Documents/iOSTweaks/tes root# make package messages=yes
Making all for tweak tes...
make -f Makefile --no-print-directory --no-keep-going \
	internal-library-compile \
	_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=tes _THEOS_CURRENT_OPERATION=compile \
	THEOS_BUILD_DIR="/User/Documents/iOSTweaks/tes/Packages" _THEOS_MAKE_PARALLEL=yes
clang++ -L/User/Documents/iOSTweaks/tes/theos/lib -lobjc -framework Foundation -framework CoreFoundation  -framework Foundation     -lsubstrate -dynamiclib -install_name "/Library/MobileSubstrate/DynamicLibraries/tes.dylib"  -isysroot "/User/Documents/iOSTweaks/tes/theos/sdks/iPhoneOS8.1.sdk" -arch armv7 -arch armv7s -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_8_1 -miphoneos-version-min=8.1 -multiply_defined suppress   -o "/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned" /User/Documents/iOSTweaks/tes/Packages/obj/tes.x.940a2e73.o
/bin/sh: clang++: command not found
/User/Documents/iOSTweaks/tes/theos/makefiles/instance/library.mk:27: recipe for target '/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned' failed
make[2]: *** [/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned] Error 127
/User/Documents/iOSTweaks/tes/theos/makefiles/instance/library.mk:19: recipe for target 'internal-library-all_' failed
make[1]: *** [internal-library-all_] Error 2
/User/Documents/iOSTweaks/tes/theos/makefiles/master/rules.mk:54: recipe for target 'tes.all.tweak.variables' failed
make: *** [tes.all.tweak.variables] Error 2
Posted

 

I replaced all the packages that OpeniOS offered with the ones I currently had installed and I'm getting the same error.

Zanes-iPhone:/User/Documents/iOSTweaks/tes root# make package messages=yes
Making all for tweak tes...
make -f Makefile --no-print-directory --no-keep-going \
	internal-library-compile \
	_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=tes _THEOS_CURRENT_OPERATION=compile \
	THEOS_BUILD_DIR="/User/Documents/iOSTweaks/tes/Packages" _THEOS_MAKE_PARALLEL=yes
clang++ -L/User/Documents/iOSTweaks/tes/theos/lib -lobjc -framework Foundation -framework CoreFoundation  -framework Foundation     -lsubstrate -dynamiclib -install_name "/Library/MobileSubstrate/DynamicLibraries/tes.dylib"  -isysroot "/User/Documents/iOSTweaks/tes/theos/sdks/iPhoneOS8.1.sdk" -arch armv7 -arch armv7s -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_8_1 -miphoneos-version-min=8.1 -multiply_defined suppress   -o "/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned" /User/Documents/iOSTweaks/tes/Packages/obj/tes.x.940a2e73.o
/bin/sh: clang++: command not found
/User/Documents/iOSTweaks/tes/theos/makefiles/instance/library.mk:27: recipe for target '/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned' failed
make[2]: *** [/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned] Error 127
/User/Documents/iOSTweaks/tes/theos/makefiles/instance/library.mk:19: recipe for target 'internal-library-all_' failed
make[1]: *** [internal-library-all_] Error 2
/User/Documents/iOSTweaks/tes/theos/makefiles/master/rules.mk:54: recipe for target 'tes.all.tweak.variables' failed
make: *** [tes.all.tweak.variables] Error 2

 

 

"/bin/sh: clang++: command not found"

 

Did the packages you installed contain Clang? You probably uninstall the old package LLVM+Clang

Posted

This helped get rid of a few errors, but now I'm stuck on:

Zanes-iPhone:/User/Documents/iOSTweaks/tes root# make package messages=yes
Making all for tweak tes...
make -f Makefile --no-print-directory --no-keep-going \
		internal-library-compile \
		_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=tes _THEOS_CURRENT_OPERATION=compile \
		THEOS_BUILD_DIR="/User/Documents/iOSTweaks/tes/Packages" _THEOS_MAKE_PARALLEL=yes
clang++ -L/User/Documents/iOSTweaks/tes/theos/lib -lobjc -framework Foundation -framework CoreFoundation  -framework Foundation     -lsubstrate -dynamiclib -install_name "/Library/MobileSubstrate/DynamicLibraries/tes.dylib"  -isysroot "/User/Documents/iOSTweaks/tes/theos/sdks/iPhoneOS8.1.sdk" -arch armv7 -arch armv7s -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_8_1 -miphoneos-version-min=8.1 -multiply_defined suppress   -o "/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned" /User/Documents/iOSTweaks/tes/Packages/obj/tes.x.940a2e73.o
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]: *** [/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [tes.all.tweak.variables] Error 2

 

I know the project works, it's my environment that's broken.

Use the packages option in setuptheos ;)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Caveman Life v1.0.2 Cheat Menu [+5 Cheats]
      Modded/Hacked App: Caveman Life By 24 HIT Riga SIA
      Bundle ID: com.prehistoric.dude
      iTunes Store Link: https://apps.apple.com/us/app/caveman-life/id6739502478?uo=4


       

      🤩 Hack Features

      - Cheat Menu (Enable and hold setting button until cheat menu appear. Password is : 2424)
       
        • Haha
        • Like
      • 4 replies
    • Caveman Life v1.0.2 Cheat Menu [+5 Jailed Cheats]
      Modded/Hacked App: Caveman Life By 24 HIT Riga SIA
      Bundle ID: com.prehistoric.dude
      iTunes Store Link: https://apps.apple.com/us/app/caveman-life/id6739502478?uo=4



      🤩 Hack Features

      - Cheat Menu (Enable and hold setting button until cheat menu appear. Password is : 2424)

       
        • Informative
        • Thanks
        • Like
      • 2 replies
    • Pal Go: Tower Defense TD v0.3.90 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 56 replies
    • Pal Go: Tower Defense TD v0.3.90 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 81 replies
    • Scolopendra v1.0.1 Debug Menu [+4 Jailed Cheats]
      Modded/Hacked App: Scolopendra By 24 HIT Riga SIA
      Bundle ID: com.game.scolopendra
      iTunes Store Link: https://apps.apple.com/us/app/scolopendra/id6742407695?uo=4



      🤩 Hack Features

      - Debug Menu (Enable and Debug Menu Will Appear)

        • Like
      • 2 replies
    • Puzzles & Cats v1.3.0 [+5 Jailed Cheats]
      Modded/Hacked App: Puzzles & Cats By Kwalee Ltd
      Bundle ID: com.kwalee.puzzlesandcatsnew
      iTunes Store Link: https://apps.apple.com/us/app/puzzles-cats/id6738574871?uo=4

       

      🤩 Hack Features

      - Free Store (Everything inside Shop. Enable and Buy)
      - Auto Win (Enable and make move)
      - Never Die
      - Infinite Heart
      - Always Can Afford (Gold, Diamond, Character Upgrade)
      • 5 replies
    • Puzzles & Cats v1.3.0 [+5 Cheats]
      Modded/Hacked App: Puzzles & Cats By Kwalee Ltd
      Bundle ID: com.kwalee.puzzlesandcatsnew
      iTunes Store Link: https://apps.apple.com/us/app/puzzles-cats/id6738574871?uo=4



      🤩 Hack Features

      - Free Store (Everything inside Shop. Enable and Buy)
      - Auto Win (Enable and make move)
      - Never Die
      - Infinite Heart
      - Always Can Afford (Gold, Diamond, Character Upgrade)

      • 2 replies
    • Little Defenders v1.2.11 [+2 Jailed Cheats]
      Modded/Hacked App: Little Defenders By 羡龄 甄
      Bundle ID: com.sisheshidu.guardian
      App Store Link: https://apps.apple.com/us/app/little-defenders/id6740069144?uo=4



      🤩 Hack Features

      - Never Die
      - Add Coin (Inside Battle)
        • Like
      • 2 replies
    • Little Defenders v1.2.11 [+2 Cheats]
      Modded/Hacked App: Little Defenders By 羡龄 甄
      Bundle ID: com.sisheshidu.guardian
      App Store Link: https://apps.apple.com/us/app/little-defenders/id6740069144?uo=4



      🤩 Hack Features

      - Never Die
      - Add Coin (Inside Battle)

        • Agree
        • Winner
        • Like
      • 6 replies
    • Scolopendra v1.0.1 Debug Menu [+4 Cheats]
      Modded/Hacked App: Scolopendra By 24 HIT Riga SIA
      Bundle ID: com.game.scolopendra
      iTunes Store Link: https://apps.apple.com/us/app/scolopendra/id6742407695?uo=4



      🤩 Hack Features

      - Debug Menu (Enable and Debug Menu Will Appear)

        • Like
      • 3 replies
    • Episode: Reality Stars v1.23 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Episode: Reality Stars By Episode Interactive, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      App Store Link: https://apps.apple.com/ph/app/episode-reality-stars/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies -> Head into Settings and toggle the License button. Press on Hero to add 99K currencies.
      - Time Cheat Menu -> Head into Settings and toggle the Terms of Service button. Toggle to your liking.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 91 replies
    • Tiny Warriors Clash v1.9.16 [+5 Jailed Cheats]
      Modded/Hacked App: Tiny Warriors Clash By NLABSOFT Co., Ltd.
      Bundle ID: com.nlabsoft.defense.tinywarriors
      App Store Link: https://apps.apple.com/us/app/tiny-warriors-clash/id6499256180?uo=4



      🤩 Hack Features

      - Never Die
      - Add Meat (Enable inside battle)
      - Add Currency (Enable and spend)
      - Add Gems (Enable and spend)
      - Add Trait Points (Enable and spend)
        • Informative
        • Haha
        • Thanks
        • Like
      • 9 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines