Jump to content

Theos Errors, Their Meanings and Solutions


8 posts in this topic

Recommended Posts

Posted
Makefile:N: theos/makefiles/common.mk: Not a directory
Makefile:N: /tweak.mk: No such file or directory

You need to add a theos sumlink in both the tweak folder and preferences folder (if you have one). A sumlink can be created using ifile by selecting a new symbolic link, naming it 'theos' and linking it to /private/var/theos/

".../theos/makefiles/targets/PPP/iphone.mk:21: *** first argument to 'word' function must be greater than 0. stop."

You haven't downloaded the required SDKS. They can be found at http://iphone.howett.net/sdks/ once downloaded, create a new folder in the theos directory named 'sdks' and unzip the sdk you downloaded. THIS MUST BE DONE ON iFILE.

ld: file too small (length=LLL) file. '.../theos/sdks/iPhoneOSX.Y.sdk/usr/ZZZ' for architecture armAAA.

You have a faulty sdk, redownload and redo the steps above. This error normally occurs when you unzipped the sdk on PC

FFF:LLL:10: fatal error: 'substrate.h' file not found
#include <substrate.h>
         ^
1 error generated.

You are missing valuable iOS headers. They can be found at https://github.com/rpetrich/iphoneheaders once downloaded, extract them to the 'include' folder inside the 'theos' directory.

Illegal instruction: 4

Occured because you have an older version of theos. Follow the tutorial here to reinstall: http://iosgods.com/topic/656-tutorialvideo-how-to-set-up-theos-on-your-idevice-ios7ios8/

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

Your iOS device is 64 bit and theos isn't. To fix, go to theos/makefiles/platform/Darwin-arm.mk.  Rename it to Darwin-arm64.mk

then go to /theos/makefiles/target/Darwin-arm. Rename it to Darwin-arm64.

theos/makefiles/common.mk:115: *** The "iphone" target is not supported on the "" platform. Stop.

Your iOS device is 64 bit and theos isn't. To fix, go to theos/makefiles/platform/Darwin-arm.mk.  Rename it to Darwin-arm64.mk

then go to /theos/makefiles/target/Darwin-arm. Rename it to Darwin-arm64.

 

If the preference bundle isn't loading for your project, add the following line to the top of your makefile:

ARCHS = arm64 armv7

Thanks guys...Kept it short n sweet @@DiDA

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