Skip to content
Guest Big Announcement

Making .deb Terminal error

Featured Replies

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 :)

Solved by castix

  • Replies 24
  • Views 4.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Here is a better IOSurfaceAPI.h   http://iosddl.com/dc204efd35b213b5/iphoneos-header.zip

  • steezy.andress
    steezy.andress

    Now I got this...  iPhone:~ mobile$ su Password: iPhone:/var/mobile root# cd /var/mobile/starwarfare2hack iPhone:/var/mobile/starwarfare2hack root# make /bin/sh: /var/mobile/starwarfare2hack/theo

  • Author

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

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

  • Author

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

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.