Jump to content

ld: can't map file, errno=22 file - Theos on iOS 8


Go to solution Solved by Rook,

10 posts in this topic

Recommended Posts

Posted (edited)

Now that I got my JB back, I installed Theos and everything with the iOS 8.1 SDK. I made a test tweak to see if theos worked, and I get this very, very, annoying error (text output from terminal):

 

iOS 8.2 beta 2, ipod touch 5

justins-iPod-touch:/var/mobile/hacks/f root# make package
/bin/sh: tr: command not found
/bin/sh: tr: command not found
/bin/sh: tr: command not found
/var/mobile/hacks/f/theos/makefiles/targets/Darwin-arm/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/hacks/f/theos/makefiles/targets/Darwin-arm/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
/bin/sh: tr: command not found
/bin/sh: cut: command not found
/bin/sh: cut: command not found
/bin/sh: cut: command not found
Making all for tweak f...
/bin/sh: tr: command not found
/bin/sh: md5sum: command not found
/bin/sh: cut: command not found
/bin/sh: tr: command not found
/bin/sh: md5sum: command not found
/bin/sh: cut: command not found
/bin/sh: md5sum: command not found
/bin/sh: cut: command not found
 Linking tweak f...
ld: can't map file, errno=22 file '/var/mobile/hacks/f/theos/sdks/iPhoneOS8.1.sdk/usr/lib/libobjc.dylib' for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/f.dylib..unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [f.all.tweak.variables] Error 2
amys-iPod-touch:/var/mobile/hacks/f root# 
Updated by Guest
Posted

BigBoss recommended tools should help also.

 

And I'd suggest 7.1 SDK. :)

Posted

Core Utilities did not work, I get the same error @@castix


BigBoss recommended tools should help also.

And I'd suggest 7.1 SDK. :)

I've always used 8.1, only because it is small and does not need a hack for it to work on arm64

  • Solution
Posted

The error is being generated from the SDK.

 

Core utilities fixed all those not found commands.

Posted

Same error.

ld: can't map file, errno=22 file '/var/mobile/hacks/f/theos/sdks/iPhoneOS8.1.sdk/usr/lib/libobjc.dylib' for architecture armv7

The error is being generated from the SDK.

Core utilities fixed all those not found commands.

ill get 7.1 then

Posted

@DiDA You haven made a single tweak so far how would you give any advise :ermm: 8.1 is fine. Probably some other dependencies are missing

Posted

@DiDA You haven made a single tweak so far how would you give any advise :ermm: 8.1 is fine. Probably some other dependencies are missing

Just because you don't see me posting anything doesn't mean I've forgotten about it all. Excuse me for trying to help :mellow:

Posted (edited)

@DiDA You haven made a single tweak so far how would you give any advise :ermm: 8.1 is fine. Probably some other dependencies are missing

DiDA's responce fixed the problem :p I just needed to get the 7.1 SDK.

Updated by Guest

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