JohnAGonzalez / iphone-dataprotection

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

make -C img3fs/ multiple errors (Lion 10.7.3 / Xcode 4.2.1) #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. All previous steps done with no warning
2. make -C img3fs/

What is the expected output? What do you see instead?
Expected: no errors
what have been seen:
make -C img3fs/
gcc -o img3fs img3fs.c -Wall -lfuse_ino64 -lcrypto -I/usr/local/include/osxfuse 
|| gcc -o img3fs img3fs.c -Wall -losxfuse_i64 -lcrypto 
-I/usr/local/include/osxfuse
img3fs.c:1:19: error: stdio.h: No such file or directory
img3fs.c:2:20: error: stdint.h: No such file or directory
img3fs.c:3:20: error: stdlib.h: No such file or directory
img3fs.c:5:19: error: errno.h: No such file or directory
img3fs.c:6:19: error: fcntl.h: No such file or directory
img3fs.c:7:20: error: string.h: No such file or directory
img3fs.c:8:23: error: sys/types.h: No such file or directory
img3fs.c:9:22: error: sys/stat.h: No such file or directory
img3fs.c:10:22: error: sys/mman.h: No such file or directory
img3fs.c:11:20: error: unistd.h: No such file or directory
img3fs.c:12:25: error: openssl/evp.h: No such file or directory
In file included from /usr/local/include/osxfuse/fuse/fuse.h:26,
                 from /usr/local/include/osxfuse/fuse.h:9,
........

What version of the product are you using? On what operating system?
(MacBook Pro) 10.7.3
  Version:  4.2.1 (4D502)
  Location: /Developer
  Applications:
  Xcode:    4.2.1 (834)
  Instruments:  4.2 (4233)
  Dashcode: 3.0.2 (336)
  SDKs:
  Mac OS X:
  10.6: (10K549)
  10.7: (11C63)
  iPhone OS:
  3.2:  (7B500)
  5.0:  (9A334)
  iPhone Simulator:
  4.3:  (8H7)
  5.0:  (9A334)

Please provide any additional information below.
All previous steps are OK
Many tries on -I inside makefile to find the right location....No success.
Thx

Original issue reported on code.google.com by benja...@nabet.fr on 13 Feb 2012 at 11:52

GoogleCodeExporter commented 8 years ago
Can you compile simple "hello world" programs from the command line without 
errors ? If not, did you check the "unix tools" options when installing the ios 
sdk ?
(stdio.h should exist in /usr/include/)

Original comment by jean.sig...@gmail.com on 14 Feb 2012 at 12:20

GoogleCodeExporter commented 8 years ago
closing old issues

Original comment by jean.sig...@gmail.com on 11 Feb 2014 at 10:38