Jump to content

Error 133 while compiling in MTerminal


Go to solution Solved by Rook,

22 posts in this topic

Recommended Posts

Posted (edited)

Hi I'm having problem while trying to compile a tweak, Im on iPhone 5s and iOS 9.3.3 I've installed every thing that's needed for Theos, I'm currently getting this error while trying to compile: /var/mobile/test/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.

/var/mobile/test/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 test...

make[2]: Nothing to be done for `internal-library-compile'.

Making stage for tweak test...

make: *** [internal-package] Error 133

 

Any help is highly appreciated!

Updated by profq
  • Replies 21
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted (edited)

Type in

make package messages=yes

And paste the output.

Updated by DiDA
Posted (edited)

Type in

 

make package messages=yes"
And paste the output.
I got this: /var/mobile/test/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.

/var/mobile/test/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 test...

make[2]: Nothing to be done for `internal-library-compile'.

Making stage for tweak test...

make: *** [internal-package] Error 133.

Updated by profq
Posted

unfortunately I've tried that :( I decided to re-do they thing DiDA suggested and now I'm getting Make: *** No rule to make target 'package'. Stop

Can we see your Makefile?

Posted

g-eazy:/var/mobile/test root# make package messages=y

es

/var/mobile/test/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.

/var/mobile/test/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 test...

make -f Makefile --no-print-directory --no-keep-going \

                internal-library-compile \

                _THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=test _THEOS_CURRENT_OPERATION=compile \

                THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes

make[2]: Nothing to be done for `internal-library-compile'.

rm -rf "/private/var/mobile/test/_"

/var/mobile/test/theos/bin/fakeroot.sh -p "/private/var/mobile/test/.theos/fakeroot" -c

mkdir -p "/private/var/mobile/test/_"

[ -d layout ] && rsync -a "layout/" "/private/var/mobile/test/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true

Making stage for tweak test...

mkdir -p "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"

cp ./obj/test.dylib "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"

if [ -f test.plist ]; then cp test.plist "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"; fi

mkdir -p "/private/var/mobile/test/_/DEBIAN"

sed -e '/^[Vv]ersion:/d' "/private/var/mobile/test/control" > "/private/var/mobile/test/_/DEBIAN/control"

echo "Version: 0.0.1-12" >> "/private/var/mobile/test/_/DEBIAN/control"

echo "Installed-Size: 16" >> "/private/var/mobile/test/_/DEBIAN/control"

COPYFILE_DISABLE=1 /var/mobile/test/theos/bin/fakeroot.sh -p "/private/var/mobile/test/.theos/fakeroot" -r dpkg-deb -b "/private/var/mobile/test/_" "./com.yourcompany.test_0.0.1-12_iphoneos-arm.deb"

dyld: could not load inserted library '/var/mobile/test/theos/bin/libfauxsu.dylib' because no suitable image found. Did find:

        /var/mobile/test/theos/bin/libfauxsu.dylib: mmap() error 22 at address=0x00132000, size=0x00001000 segment=__DATA in Segment::map() mapping /var/mobile/test/theos/bin/libfauxsu.dylib

 

/var/mobile/test/theos/bin/fauxsu: line 43: 1052 Trace/BPT trap: 5 "$@"

make: *** [internal-package] Error 133

g-eazy:/var/mobile/test root#

Posted

Which tutorial did you follow on how to setup theos?

Posted

g-eazy:/var/mobile/test root# make package messages=y

es

/var/mobile/test/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.

/var/mobile/test/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 test...

make -f Makefile --no-print-directory --no-keep-going \

                internal-library-compile \

                _THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=test _THEOS_CURRENT_OPERATION=compile \

                THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes

make[2]: Nothing to be done for `internal-library-compile'.

rm -rf "/private/var/mobile/test/_"

/var/mobile/test/theos/bin/fakeroot.sh -p "/private/var/mobile/test/.theos/fakeroot" -c

mkdir -p "/private/var/mobile/test/_"

[ -d layout ] && rsync -a "layout/" "/private/var/mobile/test/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true

Making stage for tweak test...

mkdir -p "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"

cp ./obj/test.dylib "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"

if [ -f test.plist ]; then cp test.plist "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"; fi

mkdir -p "/private/var/mobile/test/_/DEBIAN"

sed -e '/^[Vv]ersion:/d' "/private/var/mobile/test/control" > "/private/var/mobile/test/_/DEBIAN/control"

echo "Version: 0.0.1-12" >> "/private/var/mobile/test/_/DEBIAN/control"

echo "Installed-Size: 16" >> "/private/var/mobile/test/_/DEBIAN/control"

COPYFILE_DISABLE=1 /var/mobile/test/theos/bin/fakeroot.sh -p "/private/var/mobile/test/.theos/fakeroot" -r dpkg-deb -b "/private/var/mobile/test/_" "./com.yourcompany.test_0.0.1-12_iphoneos-arm.deb"

dyld: could not load inserted library '/var/mobile/test/theos/bin/libfauxsu.dylib' because no suitable image found. Did find:

        /var/mobile/test/theos/bin/libfauxsu.dylib: mmap() error 22 at address=0x00132000, size=0x00001000 segment=__DATA in Segment::map() mapping /var/mobile/test/theos/bin/libfauxsu.dylib

 

/var/mobile/test/theos/bin/fauxsu: line 43: 1052 Trace/BPT trap: 5 "$@"

make: *** [internal-package] Error 133

g-eazy:/var/mobile/test root#

Go to /var/theos/bin in iFile and remove libfauxsu.dylib as well as fauxsu

Which tutorial did you follow on how to setup theos?

Same error I had months ago, just the two files that were randomly in /var/theos/bin :p

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
×
  • 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