android-rpi / device_brcm_rpi3

576 stars 251 forks source link

Error when compiling #92

Open Fyb3roptik opened 7 years ago

Fyb3roptik commented 7 years ago

system/vold/Ext4Crypt.cpp:384:9: error: no matching function for call to 'e4crypt_policy_ensure' if (e4crypt_policy_ensure(path.c_str(), ^~~~~ system/extras/ext4_utils/include/ext4_utils/ext4_crypt.h:28:5: note: candidate function not viable: requires 5 arguments, but 4 were provided int e4crypt_policy_ensure(const char directory, const char policy, ^ 1 error generated.

Fyb3roptik commented 7 years ago

It appears there was a change to the ext4_crypt.h file which shows 5 arguments and the call in Ext4Crypt.cpp only has 4. It is missing const char *contents_encryption_mode,