Skip to content
Guest Big Announcement

MSHooking Terminal Error

Featured Replies

-iPad:/var/mobile/mlbb root# make package
/var/mobile/mlbb/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/mlbb/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak mlbb...
 Preprocessing Tweak.xm...
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 Tweak.xm...
 Linking tweak mlbb...
ld: library not found for -lobjc
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/mlbb.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [mlbb.all.tweak.variables] Error 2
Amirhosseins-iPad:/var/mobile/mlbb root# 

Anyone knows what the issue is ? I cannot get theos to make / compile tweaks 

  • Author
2 minutes ago, Ted2 said:

Can you do 'make package messages=yes' as command & put output here?

Amirhosseins-iPad:/var/mobile root# cd /var/mobile/mlbb
Amirhosseins-iPad:/var/mobile/mlbb root# make package messages=yes
/var/mobile/mlbb/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/mlbb/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak mlbb...
make -f Makefile --no-print-directory --no-keep-going \
                internal-library-compile \
                _THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=mlbb _THEOS_CURRENT_OPERATION=compile \
                THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
clang++ -L/var/mobile/mlbb/theos/lib -lobjc -framework Foundation -framework CoreFoundation -ObjC++ -fobjc-exceptions -fobjc-call-cxx-cdtors       -lsubstrate -dynamiclib -install_name "/Library/MobileSubstrate/DynamicLibraries/mlbb.dylib"  -isysroot "/var/mobile/mlbb/theos/sdks/iPhoneOS8.1.sdk" -arch armv7 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_3_0 -miphoneos-version-min=3.0 -multiply_defined suppress -L/usr/lib   -o "obj/mlbb.dylib.64873355.unsigned" obj/Tweak.xm.922e78a8.o
ld: library not found for -lobjc
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/mlbb.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [mlbb.all.tweak.variables] Error 2
Amirhosseins-iPad:/var/mobile/mlbb root# 

 

  • Author
1 minute ago, Ted2 said:

In your 'theos/lib folder you have to delete these 2 files:

- lobjc

- fobjc

Will do thanks

3 minutes ago, Ted2 said:

In your 'theos/lib folder you have to delete these 2 files:

- lobjc

- fobjc

The only thing in the folder is a file called "libsubstrate.dylib"

  • Author
3 minutes ago, Ted2 said:

Oh, sorry.

 

Try this:

replace this in your make file with the line you got


TARGET = iphone:clang:latest:latest
Amirhosseins-iPad:/var/mobile/mlbb root# make package
/var/mobile/mlbb/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/mlbb/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak mlbb...
 Linking tweak mlbb...
ld: library not found for -lobjc
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/mlbb.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [mlbb.all.tweak.variables] Error 2
Amirhosseins-iPad:/var/mobile/mlbb root# 

What I got after replacing target 

4 minutes ago, Ted2 said:

Oh, sorry.

 

Try this:

replace this in your make file with the line you got


TARGET = iphone:clang:latest:latest

Also there is make file 

include theos/makefiles/common.mk

TWEAK_NAME = mlbb
mlbb_FILES = Tweak.xm
TARGET = iphone:clang:latest:latest

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
        install.exec "killall -9 SpringBoard"

 

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.