Krucifyr / iphone-dataprotection

Automatically exported from code.google.com/p/iphone-dataprotection
0 stars 0 forks source link

compile of ramdisk_tools fails on MacOS (fix included) #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. cd ramdisk_tools
2. make

What is the expected output? What do you see instead?

expected: clean make

get:

---
ld: framework not found IOMobileFrameBuffer
collect2: ld returned 1 exit status
make: *** [data_partition] Error 1

---

What version of the product are you using? On what operating system?

MacOS 10 Snow Leopard

Please provide any additional information below.

Fix: s/IOMobileFrameBuffer/IOMobileFramebuffer/ in Makefile

---

--- Makefile-org    2011-05-30 15:16:41.000000000 +0200
+++ Makefile    2011-05-30 15:17:06.000000000 +0200
@@ -1,6 +1,6 @@
 CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.0.1 
 CFLAGS=-Wall -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/
-CFLAGS_IOKIT=$(CFLAGS) -I/usr/local/include -framework IOKit -framework 
CoreFoundation -framework Security -O3 
-F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/L
ibrary/PrivateFrameworks/ -framework IOMobileFrameBuffer -framework 
CoreGraphics -framework CoreSurface -framework ImageIO
+CFLAGS_IOKIT=$(CFLAGS) -I/usr/local/include -framework IOKit -framework 
CoreFoundation -framework Security -O3 
-F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/L
ibrary/PrivateFrameworks/ -framework IOMobileFramebuffer -framework 
CoreGraphics -framework CoreSurface -framework ImageIO

Original issue reported on code.google.com by jueschm...@gmail.com on 6 Jun 2011 at 2:58

GoogleCodeExporter commented 8 years ago

Original comment by jean.sig...@gmail.com on 7 Jun 2011 at 11:37