Jump to content

Making .deb Terminal error


Go to solution Solved by castix,

25 posts in this topic

Recommended Posts

Posted
Alright I got the 7.1 SDK but I still got this

 

Last login: Thu Oct 1 07:01:03 on ttys000

iPhone:~ mobile$ su

Password:

iPhone:/var/mobile root# cd /var/mobile/starwarfare2hack

iPhone:/var/mobile/starwarfare2hack root# make

/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/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:10:

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

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

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

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS7.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/iPhoneOS7.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/iPhoneOS7.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS7.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...

^

/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/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:10:

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

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

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

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS7.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/iPhoneOS7.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/iPhoneOS7.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:

In file included from /var/mobile/starwarfare2hack/theos/sdks/iPhoneOS7.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

...IOSurfaceCreateXPCObject(IOSurfaceRef aSurface) XPC_RETURNS_...

^

/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...

^

/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.e307a184.o] Error 1

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

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

iPhone:/var/mobile/starwarfare2hack root#

Posted

Here is a better IOSurfaceAPI.h

 

Hidden Content

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/theos/bin/target.pl: /usr/bin/perl: bad interpreter: No such file or directory

theos/makefiles/common.mk:103: *** You did not specify a target, and the "iphone" platform does not define a default target. Stop.

iPhone:/var/mobile/starwarfare2hack root#

  • Like 1
Posted

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/theos/bin/target.pl: /usr/bin/perl: bad interpreter: No such file or directory

theos/makefiles/common.mk:103: *** You did not specify a target, and the "iphone" platform does not define a default target. Stop.

iPhone:/var/mobile/starwarfare2hack root#

Good that error is gone. You need to have Perl installed from the cydia repo http://coolstar.org/publicrepo

Posted

Here is a better IOSurfaceAPI.h

 

I don't think you can post download links to these headers (IOSurface)

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