Closed GoogleCodeExporter closed 8 years ago
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
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
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
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
Original comment by jean.sig...@gmail.com
on 14 Oct 2011 at 12:51
Original issue reported on code.google.com by
forge...@gmail.com
on 9 Oct 2011 at 6:16Attachments: