I am getting this error when I run make in the folder.
Anyone make heads or tails as to why it won't compile? Really looking forward to trying the toolchain if I can just get past this.
Code:
vfdecrypt-iphone gsmumbo$ make
cc -c -o util.o util.c
In file included from util.h:3,
from util.c:6:
vfdecrypt.h:17: error: syntax error before uint8_t
vfdecrypt.h:17: warning: no semicolon at end of struct or union
vfdecrypt.h:18: warning: data definition has no type or storage class
vfdecrypt.h:19: error: syntax error before kdf_salt_len
vfdecrypt.h:19: warning: data definition has no type or storage class
vfdecrypt.h:20: error: syntax error before kdf_salt
vfdecrypt.h:20: warning: data definition has no type or storage class
vfdecrypt.h:21: error: syntax error before unwrap_iv
vfdecrypt.h:21: warning: data definition has no type or storage class
vfdecrypt.h:22: error: syntax error before len_wrapped_aes_key
vfdecrypt.h:22: warning: data definition has no type or storage class
vfdecrypt.h:23: error: syntax error before wrapped_aes_key
vfdecrypt.h:23: warning: data definition has no type or storage class
vfdecrypt.h:24: error: syntax error before len_hmac_sha1_key
vfdecrypt.h:24: warning: data definition has no type or storage class
vfdecrypt.h:25: error: syntax error before wrapped_hmac_sha1_key
vfdecrypt.h:25: warning: data definition has no type or storage class
vfdecrypt.h:26: error: syntax error before len_integrity_key
vfdecrypt.h:26: warning: data definition has no type or storage class
vfdecrypt.h:27: error: syntax error before wrapped_integrity_key
vfdecrypt.h:27: warning: data definition has no type or storage class
vfdecrypt.h:28: error: syntax error before filler6
vfdecrypt.h:28: warning: data definition has no type or storage class
vfdecrypt.h:29: error: syntax error before } token
vfdecrypt.h:29: warning: data definition has no type or storage class
vfdecrypt.h:34: error: syntax error before uint32_t
vfdecrypt.h:34: warning: no semicolon at end of struct or union
vfdecrypt.h:35: warning: data definition has no type or storage class
vfdecrypt.h:36: error: syntax error before unk1
vfdecrypt.h:36: warning: data definition has no type or storage class
vfdecrypt.h:37: error: syntax error before unk2
vfdecrypt.h:37: warning: data definition has no type or storage class
vfdecrypt.h:38: error: syntax error before unk3
vfdecrypt.h:38: warning: data definition has no type or storage class
vfdecrypt.h:39: error: syntax error before unk4
vfdecrypt.h:39: warning: data definition has no type or storage class
vfdecrypt.h:40: error: syntax error before unk5
vfdecrypt.h:40: warning: data definition has no type or storage class
vfdecrypt.h:42: error: syntax error before blocksize
vfdecrypt.h:42: warning: data definition has no type or storage class
vfdecrypt.h:43: error: syntax error before datasize
vfdecrypt.h:43: warning: data definition has no type or storage class
vfdecrypt.h:44: error: syntax error before dataoffset
vfdecrypt.h:44: warning: data definition has no type or storage class
vfdecrypt.h:45: error: syntax error before filler1
vfdecrypt.h:45: warning: data definition has no type or storage class
vfdecrypt.h:46: error: syntax error before kdf_algorithm
vfdecrypt.h:46: warning: data definition has no type or storage class
vfdecrypt.h:47: error: syntax error before kdf_prng_algorithm
vfdecrypt.h:47: warning: data definition has no type or storage class
vfdecrypt.h:48: error: syntax error before kdf_iteration_count
vfdecrypt.h:48: warning: data definition has no type or storage class
vfdecrypt.h:49: error: syntax error before kdf_salt_len
vfdecrypt.h:49: warning: data definition has no type or storage class
vfdecrypt.h:50: error: syntax error before kdf_salt
vfdecrypt.h:50: error: conflicting types for kdf_salt
vfdecrypt.h:20: error: previous declaration of kdf_salt was here
vfdecrypt.h:50: warning: data definition has no type or storage class
vfdecrypt.h:51: error: syntax error before blob_enc_iv_size
vfdecrypt.h:51: warning: data definition has no type or storage class
vfdecrypt.h:52: error: syntax error before blob_enc_iv
vfdecrypt.h:52: warning: data definition has no type or storage class
vfdecrypt.h:53: error: syntax error before blob_enc_key_bits
vfdecrypt.h:53: warning: data definition has no type or storage class
vfdecrypt.h:54: error: syntax error before blob_enc_algorithm
vfdecrypt.h:54: warning: data definition has no type or storage class
vfdecrypt.h:55: error: syntax error before blob_enc_padding
vfdecrypt.h:55: warning: data definition has no type or storage class
vfdecrypt.h:56: error: syntax error before blob_enc_mode
vfdecrypt.h:56: warning: data definition has no type or storage class
vfdecrypt.h:57: error: syntax error before encrypted_keyblob_size
vfdecrypt.h:57: warning: data definition has no type or storage class
vfdecrypt.h:58: error: syntax error before encrypted_keyblob
vfdecrypt.h:58: warning: data definition has no type or storage class
vfdecrypt.h:59: error: syntax error before } token
vfdecrypt.h:59: warning: data definition has no type or storage class
In file included from util.c:6:
util.h:7: error: syntax error before * token
util.h:8: error: syntax error before uint8_t
util.h:11: error: syntax error before * token
util.h:12: error: syntax error before * token
util.c:8: error: syntax error before * token
util.c: In function print_hex:
util.c:10: error: uint32_t undeclared (first use in this function)
util.c:10: error: (Each undeclared identifier is reported only once
util.c:10: error: for each function it appears in.)
util.c:10: error: syntax error before ctr
util.c:13: error: len undeclared (first use in this function)
util.c:17: error: ctr undeclared (first use in this function)
util.c:19: error: data undeclared (first use in this function)
util.c: At top level:
util.c:24: error: syntax error before uint8_t
util.c: In function convert_hex:
util.c:26: error: str undeclared (first use in this function)
util.c:30: error: maxlen undeclared (first use in this function)
util.c:30: error: bytes undeclared (first use in this function)
util.c: In function dump_v2_header:
util.c:39: error: pwhdr undeclared (first use in this function)
util.c:39: error: syntax error before ) token
util.c: At top level:
util.c:64: error: syntax error before * token
util.c: In function adjust_v1_header_byteorder:
util.c:65: error: hdr undeclared (first use in this function)
util.c: At top level:
util.c:75: error: syntax error before * token
util.c: In function adjust_v2_header_byteorder:
util.c:76: error: pwhdr undeclared (first use in this function)
util.c:77: error: uint64_t undeclared (first use in this function)
util.c:77: error: uint32_t undeclared (first use in this function)
make: *** [util.o] Error 1
Anyone make heads or tails as to why it won't compile? Really looking forward to trying the toolchain if I can just get past this.