Jump to content

unable to open output file - Theos


Enoch

8 posts in this topic

Recommended Posts

Posted

So I ended up fixing the last error or it fixed itself, not quite sure. Do I need to reinstall Theos and all dependencies or is there any easier fix for this?

But with getting rid of that error, a new one has sprung. I'm using SDK 9.3. I changed permsiions of Rokmod.mm.0f7f951.o to Read,Write, Execute and I'm still getting it.

	==> Compiling RoKMod.mm (armv7)…                   
	error: unable to open output file '/var/mobile/rokmod/.theos/obj/armv7/RoKMod.mm.0f7f7951.o': 'Permission denied'                                          
	1 error generated.                                 
	make[4]: *** [/var/theos/makefiles/instance/rules.mk:199: /var/mobile/rokmod/.theos/obj/armv7/RoKMod.mm.0f7f7951.o] Error 1                                
	make[3]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/mobile/rokmod/.theos/obj/armv7/RoKMod.bundle/RoKMod] Error 2                                
	make[2]: *** [/var/theos/makefiles/instance/bundle.mk:26: internal-bundle-all_] Error 2                
	make[1]: *** [/var/theos/makefiles/master/rules.mk:111: RoKMod.all.bundle.variables] Error 2           
	make: *** [/var/theos/makefiles/master/aggregate.mk:12: internal-all] Error 2                         
Posted
11 minutes ago, Laxus said:

download Make + Perl from http://apt.bingner.com/.

I already have it.

I seemed to have fixed the error in OP but now in NewTerm I'm getting "[Process completed] Press any key to close the tab." and it's not closing.

 

Edit: Fixed

Posted
9 minutes ago, ZoZo03XX said:

I already have it.

I seemed to have fixed the error in OP but now in NewTerm I'm getting "[Process completed] Press any key to close the tab." and it's not closing.

It’s a bug with the Jailbreak, so you need to ReJB. As for the error, it’s as simple as not having permission to access the directory. I believe you created your project as root but you tried to compile with mobile and mobile does not have permissions to go to root’s directories. Try compiling as root. And if you want to compile as mobile then change owner to mobile for all files and directories in that project.

 

And a small tip, add this line to your Makefile to remove armv7

ARCHS = arm64

 

Posted
1 minute ago, bR34Kr said:

It’s a bug with the Jailbreak, so you need to ReJB. As for the error, it’s as simple as not having permission to access the directory. I believe you created your project as root but you tried to compile with mobile and mobile does not have permissions to go to root’s directories.

 

And a small tip, add this line to your Makefile to remove armv7


ARCHS = arm64

 

Alright I'll do that. Looks like I have to re-do the whole thing and hopefully this stops the error for next time.

Posted
24 minutes ago, bR34Kr said:

It’s a bug with the Jailbreak, so you need to ReJB. As for the error, it’s as simple as not having permission to access the directory. I believe you created your project as root but you tried to compile with mobile and mobile does not have permissions to go to root’s directories. Try compiling as root. And if you want to compile as mobile then change owner to mobile for all files and directories in that project.

 

And a small tip, add this line to your Makefile to remove armv7


ARCHS = arm64

 

Holy sh!t this worked, thank you so much.

Posted
9 minutes ago, ZoZo03XX said:

I'm not quite sure how to add that code to my Makefile to remove armv7, but I’m getting this error now:


	RoKMod.mm:20:22: error: instance method '-openURL:options:completionHandler:' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access]      
	        [application openURL:URL options:@{} completionHandler:^(BOOL success) {                       
	                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                         
	/var/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:103:40: note: receiver is instance of class declared here
	NS_CLASS_AVAILABLE_IOS(2_0) @interface UIApplication : UIResponder                                     
	                                       ^           
	1 error generated.                                 
	make[4]: *** [/var/theos/makefiles/instance/rules.mk:199: /var/mobile/rokmod/.theos/obj/armv7/RoKMod.mm.0f7f7951.o] Error 1                                
	make[3]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/mobile/rokmod/.theos/obj/armv7/RoKMod.bundle/RoKMod] Error 2                                
	make[2]: *** [/var/theos/makefiles/instance/bundle.mk:26: internal-bundle-all_] Error 2                
	make[1]: *** [/var/theos/makefiles/master/rules.mk:111: RoKMod.all.bundle.variables] Error 2           
	make: *** [/var/theos/makefiles/master/aggregate.mk:12: internal-all] Error 2 

You need to use the iOS 10 SDK. To do that just rename your iOS 9 SDK by adding some random letter at the end. It just must not end with .sdk

Posted
1 minute ago, bR34Kr said:

You need to use the iOS 10 SDK. To do that just rename your iOS 9 SDK by adding some random letter at the end. It just must not end with .sdk

I just edited the post above. Looks like it worked! Thank you so much!

Archived

This topic is now archived and is closed to further replies.

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