Jump to content

Making .deb Terminal error


Go to solution Solved by castix,

25 posts in this topic

Recommended Posts

Posted

Yes sorry guys I'm still a newbie learning how to do this type of stuff

 

As the tittle says I'm having trouble making this .deb file and this is the error I get

 

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

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

Preprocessing Tweak.xm...

Compiling Tweak.xm...

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

make[2]: *** [obj/Tweak.xm.2344ffc1.o] Error 127

make[1]: *** [internal-library-all_] Error 2

make: *** [starWarfare2Hack.all.tweak.variables] Error 2

 

Not sure if I'm supposto install something else or If I did something wrong on my tweak.xm but yea and like I said I'm still learning :)

Posted

Install LLVM+Clang from Cydia. :)

Just install it but I'm not sure what else is wrong because I'm still getting errors :/

 

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

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

Preprocessing Tweak.xm...

Compiling Tweak.xm...

In file included from <built-in>:181:

In file included from <command line>:3:

In file included from /var/mobile/starwarfare2hack/theos/Prefix.pch:4:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:10:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:13:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:11:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:11:

In file included from /var/mobile/starwarfare2hack/theos/include/UIKit/UISwipeGestureRecognizer.h:10:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h:9:

In file included from /var/mobile/starwarfare2hack/theos/include/UIKit/UIGestureRecognizer.h:6:

In file included from /var/mobile/starwarfare2hack/theos/include/UIKit/UIKit-Structs.h:15:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:30:

In file included from /var/mobile/starwarfare2hack/theos/include/QuartzCore/CAValueFunction.h:9:

In file included from /var/mobile/starwarfare2hack/theos/include/QuartzCore/QuartzCore-Structs.h:11:

/var/mobile/starwarfare2hack/theos/include/IOSurface/IOSurface.h:20:10: fatal error: 'IOSurface/IOSurfaceAPI.h' file not found

#include <IOSurface/IOSurfaceAPI.h>

^

1 error generated.

make[2]: *** [obj/Tweak.xm.2344ffc1.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [starWarfare2Hack.all.tweak.variables] Error 2

Posted
I still get the same errors

 

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

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

Preprocessing Tweak.xm...

Compiling Tweak.xm...

In file included from <built-in>:181:

In file included from <command line>:3:

In file included from /var/mobile/starwarfare2hack/theos/Prefix.pch:4:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:10:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:13:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:11:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:11:

In file included from /var/mobile/starwarfare2hack/theos/include/UIKit/UISwipeGestureRecognizer.h:10:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h:9:

In file included from /var/mobile/starwarfare2hack/theos/include/UIKit/UIGestureRecognizer.h:6:

In file included from /var/mobile/starwarfare2hack/theos/include/UIKit/UIKit-Structs.h:15:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:30:

In file included from /var/mobile/starwarfare2hack/theos/include/QuartzCore/CAValueFunction.h:9:

In file included from /var/mobile/starwarfare2hack/theos/include/QuartzCore/QuartzCore-Structs.h:11:

In file included from /var/mobile/starwarfare2hack/theos/include/IOSurface/IOSurface.h:20:

/var/mobile/starwarfare2hack/theos/include/IOSurface/IOSurfaceAPI.h:251:1: error: unknown type name 'xpc_object_t'; did you mean 'io_object_t'?

xpc_object_t IOSurfaceCreateXPCObject(IOSurfaceRef aSurface) XPC_RETURNS_RETAINED

^

/var/mobile/starwarfare2hack/theos/include/IOKit/IOTypes.h:169:21: note: 'io_object_t' declared here

typedef mach_port_t io_object_t;

^

In file included from <built-in>:181:

In file included from <command line>:3:

In file included from /var/mobile/starwarfare2hack/theos/Prefix.pch:4:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:10:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:13:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:11:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:11:

In file included from /var/mobile/starwarfare2hack/theos/include/UIKit/UISwipeGestureRecognizer.h:10:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h:9:

In file included from /var/mobile/starwarfare2hack/theos/include/UIKit/UIGestureRecognizer.h:6:

In file included from /var/mobile/starwarfare2hack/theos/include/UIKit/UIKit-Structs.h:15:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:30:

In file included from /var/mobile/starwarfare2hack/theos/include/QuartzCore/CAValueFunction.h:9:

In file included from /var/mobile/starwarfare2hack/theos/include/QuartzCore/QuartzCore-Structs.h:11:

In file included from /var/mobile/starwarfare2hack/theos/include/IOSurface/IOSurface.h:20:

/var/mobile/starwarfare2hack/theos/include/IOSurface/IOSurfaceAPI.h:251:62: error: expected function body after function declarator

xpc_object_t IOSurfaceCreateXPCObject(IOSurfaceRef aSurface) XPC_RETURNS_RETAINED

^

/var/mobile/starwarfare2hack/theos/include/IOSurface/IOSurfaceAPI.h:255:43: error: unknown type name 'xpc_object_t'; did you mean 'io_object_t'?

IOSurfaceRef IOSurfaceLookupFromXPCObject(xpc_object_t xobj) CF_RETURNS_RETAINED

^

/var/mobile/starwarfare2hack/theos/include/IOKit/IOTypes.h:169:21: note: 'io_object_t' declared here

typedef mach_port_t io_object_t;

^

3 errors generated.

make[2]: *** [obj/Tweak.xm.2344ffc1.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [starWarfare2Hack.all.tweak.variables] Error 2

Posted

What's in your Tweak.xm?

%hook HMDeviceInfo

-(BOOL) isJailbroken {

return FALSE;

}

 

%end

 

%hook FlurryUtil

-(BOOL) deviceIsJailbroken {

return FALSE;

}

 

%end

 

%hook SPJailbreakStatusProvider

-(BOOL) isJailbroken {

return FALSE;

}

 

%end

 

%hook ADCV4VCCurrency

-(int) reward_amount {

return 9999;

}

 

-(int) videos_per_reward {

return 210000001;

}

 

%end

Posted

It's alright I give up on this :/ but thanks for the help tho

no, don't!

 

I'm positive it will work if you try the 7.1 SDK :)

 

Just extract using iFile :)

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