Skip to content
Guest Big Announcement

Make Package - Error 2

Featured Replies

Hey, so when I try to make the package, this is my result... I know I had it before but can't remember how I fixed it, also, I searched around the forum and couldn't find an answer.

 

 

Error: 

 

 

/var/mobile/megacrack/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/megacrack/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 MegaCrack...
make -f Makefile --no-print-directory --no-keep-going \
internal-library-compile \
_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=MegaCrack _THEOS_CURRENT_OPERATION=compile \
THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
clang++ -L/var/mobile/megacrack/theos/lib -lobjc -framework Foundation -framework CoreFoundation -ObjC++ -fobjc-exceptions -fobjc-call-cxx-cdtors  -framework UIKit     -lsubstrate -dynamiclib -install_name "/Library/MobileSubstrate/DynamicLibraries/MegaCrack.dylib"  -isysroot "/var/mobile/megacrack/theos/sdks/iPhoneOS8.1.sdk" -arch armv7 -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_3_0 -miphoneos-version-min=3.0 -multiply_defined suppress -L/usr/lib -W1,-segalign,4000  -o "obj/MegaCrack.dylib.64873355.unsigned" obj/Tweak.xm.b37fa5cb.o
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/MegaCrack.dylib.64873355.unsigned] Error 254
make[1]: *** [internal-library-all_] Error 2
make: *** [MegaCrack.all.tweak.variables] Error 2
 

 

Makefile:

 

 

ARCHS = armv7 arm64
 
MegaCrack_LDFLAGS += -W1,-segalign,4000
 
include theos/makefiles/common.mk
 
TWEAK_NAME = MegaCrack
MegaCrack_FILES = Tweak.xm
MegaCrack_FRAMEWORKS = UIKit
include $(THEOS_MAKE_PATH)/tweak.mk
 
after-install::
install.exec "killall -9 SpringBoard"

Solved by Johnkittz

iOS 8 or iOS 9?

8.4

sign them xD

Now I remember!

 

But I can't remember which to sign -_-

 

Perl, Clang... tell me please xD

 

Also, what command is it?

this is how mine looks

 

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
#CFLAGS = -fobjc-arc
#THEOS_PACKAGE_DIR_NAME = debs

include theos/makefiles/common.mk

TWEAK_NAME = gta3sa
gta3sa_FILES = Tweak.xm
gta3sa_FRAMEWORKS = UIKit
gta3sa_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
    install.exec "killall -9 SpringBoard"
SUBPROJECTS += gta3sa
include $(THEOS_MAKE_PATH)/aggregate.mk

Thanks, searched for that topic, how often do I have to sign them? xD

 

Signed them about a week ago ._.

should be only once :\

should be only once :\

Still dosnt work, same error, I didn't do this though..

 

ProjectName_LDFLAGS += -Wl,-segalign,4000

 

as it didnt work, I got this:

 

megacrack_LDFLAGS: command not found

Updated by Guest

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.