Jump to content

niro

Senior Member
  • Posts

    372
  • Joined

  • Last visited

Posts posted by niro

  1. I keep getting this weird error while compiling ?

     

    ld: in '/var/theos/lib/libextension.dylib', can't map file, errno=22 for archite         cture armv7
    clang++: error: linker command failed with exit code 1 (use -v to see invocation         )

    Someone help ;( gotta update k8, I mean k9 ;)

     

    More info: had theos working about a week ago already signed everything etc, just can't compile for some reason

  2. hey, im on ios 7, just installed theos everything seems good up until i compiled, I think something in my makefile is weird.

     

    Current setup

     

    ARCHS = armv7 arm64
    TARGET = iphone:clang:latest:latest
    #CFLAGS = -fobjc-arc
    #THEOS_PACKAGE_DIR_NAME = debs
    
    include theos/makefiles/common.mk
    
    TWEAK_NAME = Springy
    Springy_FILES = Tweak.xm
    Springy_FRAMEWORKS = UIKit
    
    include $(THEOS_MAKE_PATH)/tweak.mk
    
    
    SUBPROJECTS += Springy
    include $(THEOS_MAKE_PATH)/aggregate.mk

     

    When I compile i get this error

     

    niros-toy:/var/mobile/Springy root# make package install
    Making all for tweak Springy...
    make[2]: Nothing to be done for `internal-library-compile'.
    Making all in Springy...
    Makefile:2: theos/makefiles/common.mk: No such file or directory
    Theos version mismatch! common.mk [version 0] loaded in tandem with rules.mk [version 1] Check that $(THEOS) is set properly!
    make[1]: *** [all] Error 1
    make: *** [internal-all] Error 2
    niros-toy:/var/mobile/Springy root#

     

    so what i did was change

    theos/makefiles/common.mk
    and changed it to
    include $(THEOS_MAKE_PATH)/common.mk

    from that i get this error

     

    niros-toy:/var/mobile/Springy root# make package install
    Makefile:6: /common.mk: No such file or directory
    Makefile:12: /tweak.mk: No such file or directory
    Makefile:16: /aggregate.mk: No such file or directory
    make: *** No rule to make target `/aggregate.mk'.  Stop.

     

    So I have no idea what im doing wrong here?

  3. No because you need jailbreak to get into the files now. I don't know if you've even read what I wrote. I'm on iOS 9.1 which means apple has already "fixed" the fact that we could access our files and change them and I'm also not jailbroken yet.

    Oh rip. Didn't know that, but I know there is an alternative to ifunbox or backupbot if you do a quick search you should find one, I'll be glad to help when I'm home :)

  4. yo guys, a lot of people have been having problems with theos and iOS 9, today I accomplished the mission and successfully compiled a tweak on my phone! I will tell you exactly what I did :)

     

    - Requirements -

    iOS9

    setuptheos by Kingralph

    old versions of Darwin CC Tools and LD64 Links here

    iPhone headers -> mine

    Mobile terminal

    iPhone

     

    ---

     

    Step 1. Download Kingralphs script (he made it in a deb already for you :) you can save it to a Dropbox then open it with Ifile and click installer)

     

    Step 2. Open terminal and login (type su then click enter/return) then it will ask for a password, the default password is alpine if you have changed your password use that one, then click enter/return)

     

    Step 3. now type "setuptheos.sh setupAll" without the quotes

     

    Step 4. Once it's done you are going to need to downgrade Darwin CC tools and LD64 use the debs I have provided, don't forget to download perl

     

    Step 5. Copy all the perl files from /usr/local/bin to /usr/bin

     

    Step 6. Reopen terminal and cd into /usr/bin so type "cd /usr/bin" without quotes

     

    Step 7. Now you will need to sign a lot of the files ;(

     

    Step 6. Type "ldid -S clang++", "ldid -S clang", "ldid -S perl" , "ldid -S make" , "ldid -S git" without quotes :)

     

    Step 7. Try to compile ;)

     

     

    if you get missing header errors use this

    https://db.tt/IhsIPqUf<- my headers

    https://db.tt/775qEyGF<- setuptheos,Darwin and ld64

    https://db.tt/lvAdG185<- compile this as a test

     

    *make sure to sign*

     

     

    EDIT 1:

    clang++: error: unable to execute command: posix_spawn failed: Bad executable (or shared library)
    clang++: error: lipo command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [obj/Tweak.xm.ee01af3c.o] Error 1
    make[1]: *** [internal-library-all_] Error 2
    make: *** [Kik8.all.tweak.variables] Error 2

    People are getting errors after this, so what you will have to do is use the ldid command like before, in this case it would be ldid -S lipo since the error says lipo command

  5. That's essentially where I'm stuck at, except I'm using the 7.1 SDK http://iosgods.com/topic/19750-more-theos-errors-ios-9/

    I have an old theos set up for 7.1 and was working I'll try to switch to it and see what error I get, it may be perl

    That's essentially where I'm stuck at, except I'm using the 7.1 SDK http://iosgods.com/topic/19750-more-theos-errors-ios-9/

     

    If you would like to try it here, sdk included, and my headers work but I have a lot of extra files in it https://www.dropbox.com/s/ag8w9668psntpkb/theos%20%281%29.zip?dl=0

  6. I installed via putty and followed the instructions given by dida in the post. everything has gone smoothly up unil i tried to compile, upon typing 'make package install' i get the error

     

    "/var/theos/makefiles/targets/Darwin/iphone.mk:24: *** You do not have an SDK in /Platforms/iPhoneOS.platform/Developer/SDKs.  Stop."

     
    I have never gotten this error so im quite confused. Does anyone know how to fix it?
×
  • 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