Jump to content

Make Package - Error 2


Go to solution Solved by Johnkittz,

17 posts in this topic

Recommended Posts

Posted

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"
Posted

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?

Posted

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

Posted (edited)

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

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