Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build ramdisk_tools #24

Closed
GoogleCodeExporter opened this issue Dec 29, 2015 · 5 comments
Closed

Cannot build ramdisk_tools #24

GoogleCodeExporter opened this issue Dec 29, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. cd IphoneDataProtection
2. make -C ramdisk_tools

What is the expected output? What do you see instead?
 - ramdisk_tools begining to build
 - output is attached



What version of the product are you using? On what operating system?
 - the latest at the moment of writing : fc60e7b35bb2
 - Mac OS X Snow Leopard 10.6.7

Please provide any additional information below.
- Previously successfully built emf_decrypter ahdn hfsplus on the same machine. 
hence the need to get the plist with ramdisk_tools


Original issue reported on code.google.com by forge...@gmail.com on 9 Oct 2011 at 6:16

Attachments:

@GoogleCodeExporter
Copy link
Author

Hi, you need to fix manually the SDK path in the following line in the Makefile 
:
CFLAGS=-Wall -arch armv6 -isysroot 
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/

Original comment by jean.sig...@gmail.com on 9 Oct 2011 at 7:44

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Hello. 
Thank you for the prompt response.
I followed your instructions and pointed the cflags to the right SDK.

this is the console output while make-ing:

SidMac:IphoneDataProtection sid$ make -C ramdisk_tools/
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-
4.0.1  -Wall -arch armv6 -isysroot 
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk/ 
-I/usr/local/include -framework IOKit -framework CoreFoundation -framework 
Security -O3 
-F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk/System/L
ibrary/PrivateFrameworks/ -framework IOMobileFramebuffer -framework 
CoreGraphics -framework CoreSurface -framework ImageIO -o data_partition 
data_partition.c device_info.c IOAESAccelerator.c AppleEffaceableStorage.c 
AppleKeyStore.c bsdcrypto/pbkdf2.c bsdcrypto/sha1.c bsdcrypto/key_wrap.c 
bsdcrypto/rijndael.c util.c IOKit.c registry.c
data_partition.c: In function ‘main’:
data_partition.c:9: warning: initialization discards qualifiers from pointer 
target type
AppleEffaceableStorage.c:50:25: warning: multi-character character constant
bsdcrypto/pbkdf2.c: In function ‘pkcs5_pbkdf2’:
bsdcrypto/pbkdf2.c:102: warning: pointer targets in passing argument 3 of 
‘hmac_sha1’ differ in signedness
bsdcrypto/pbkdf2.c:106: warning: pointer targets in passing argument 3 of 
‘hmac_sha1’ differ in signedness
bsdcrypto/key_wrap.c: In function ‘aes_key_wrap’:
bsdcrypto/key_wrap.c:71: warning: pointer targets in passing argument 2 of 
‘rijndael_encrypt’ differ in signedness
bsdcrypto/key_wrap.c:71: warning: pointer targets in passing argument 3 of 
‘rijndael_encrypt’ differ in signedness
bsdcrypto/key_wrap.c: In function ‘aes_key_unwrap’:
bsdcrypto/key_wrap.c:106: warning: pointer targets in passing argument 2 of 
‘rijndael_decrypt’ differ in signedness
bsdcrypto/key_wrap.c:106: warning: pointer targets in passing argument 3 of 
‘rijndael_decrypt’ differ in signedness
ld: warning: -force_cpusubtype_ALL will become unsupported for ARM architectures
ldid -S data_partition
make: ldid: No such file or directory
make: *** [data_partition] Error 1

Original comment by forge...@gmail.com on 10 Oct 2011 at 9:06

@GoogleCodeExporter
Copy link
Author

You need ldid, that you can download here
http://code.google.com/p/networkpx/downloads/detail?name=ldid&can=2&q=
Place it somewhere in your path like /usr/bin or /usr/local/bin

Original comment by jean.sig...@gmail.com on 10 Oct 2011 at 3:30

@GoogleCodeExporter
Copy link
Author

Worked as a charm. Thank you very much :)
onto trying to puzzle all the pieces together now.

Original comment by forge...@gmail.com on 10 Oct 2011 at 6:26

@GoogleCodeExporter
Copy link
Author

Original comment by jean.sig...@gmail.com on 14 Oct 2011 at 12:51

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant