Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [36mtarget C:[0m trampoline <= system/extras/multirom/trampoline/../../../../device/htc/pme/multirom/mr_init_devices.c
- system/extras/multirom/trampoline/trampoline.c:50:0: warning: "MS_RELATIME" redefined
- #define MS_RELATIME (1<<21)
- ^
- In file included from bionic/libc/include/sys/mount.h:34:0,
- from system/extras/multirom/trampoline/trampoline.c:19:
- bionic/libc/kernel/uapi/linux/fs.h:87:0: note: this is the location of the previous definition
- #define MS_RELATIME (1 << 21)
- ^
- system/extras/multirom/trampoline/trampoline.c: In function 'fixup_symlinks':
- system/extras/multirom/trampoline/trampoline.c:243:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- if (info.st_size < sizeof(buff)-1)
- ^
- [36mtarget C:[0m trampoline <= system/extras/multirom/trampoline/../../../../device/htc/pme/multirom/mr_hooks.c
- [32mImport includes file:[0m /data/MultiROM/android-6.0/out/target/product/pme/obj/EXECUTABLES/trampoline_encmnt_intermediates/import_includes
- system/extras/multirom/trampoline/encryption.c: In function 'encryption_before_mount':
- system/extras/multirom/trampoline/encryption.c:55:5: error: implicit declaration of function 'strcmp' [-Werror=implicit-function-declaration]
- if(fwpart && strcmp(fwpart->type, "emmc") != 0)
- ^
- system/extras/multirom/trampoline/encryption.c:58:13: error: implicit declaration of function 'strerror' [-Werror=implicit-function-declaration]
- ERROR("Mounting /firmware for encryption failed with %s\n", strerror(errno));
- ^
- system/extras/multirom/trampoline/encryption.c:58:13: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=]
- system/extras/multirom/trampoline/encryption.c:63:5: error: implicit declaration of function 'strcpy' [-Werror=implicit-function-declaration]
- strcpy(encmnt_cmd_arg, "decrypt");
- ^
- system/extras/multirom/trampoline/encryption.c:63:5: warning: incompatible implicit declaration of built-in function 'strcpy'
- system/extras/multirom/trampoline/encryption.c:64:14: warning: passing argument 1 of 'run_get_stdout_with_exit_with_env' discards 'const' qualifier from pointer target type
- output = run_get_stdout_with_exit_with_env(encmnt_cmd, &exit_code, encmnt_envp);
- ^
- In file included from system/extras/multirom/trampoline/encryption.c:28:0:
- system/extras/multirom/trampoline/../lib/util.h:51:7: note: expected 'char **' but argument is of type 'char * const*'
- char *run_get_stdout_with_exit_with_env(char **cmd, int *exit_code, char *const *envp);
- ^
- system/extras/multirom/trampoline/encryption.c:71:5: error: implicit declaration of function 'strlen' [-Werror=implicit-function-declaration]
- itr = output + strlen(output) - 1;
- ^
- system/extras/multirom/trampoline/encryption.c:71:20: warning: incompatible implicit declaration of built-in function 'strlen'
- itr = output + strlen(output) - 1;
- ^
- system/extras/multirom/trampoline/encryption.c: In function 'encryption_destroy':
- system/extras/multirom/trampoline/encryption.c:115:9: warning: incompatible implicit declaration of built-in function 'strcpy'
- strcpy(encmnt_cmd_arg, "remove");
- ^
- system/extras/multirom/trampoline/encryption.c:116:18: warning: passing argument 1 of 'run_get_stdout_with_exit_with_env' discards 'const' qualifier from pointer target type
- output = run_get_stdout_with_exit_with_env(encmnt_cmd, &exit_code, encmnt_envp);
- ^
- In file included from system/extras/multirom/trampoline/encryption.c:28:0:
- system/extras/multirom/trampoline/../lib/util.h:51:7: note: expected 'char **' but argument is of type 'char * const*'
- char *run_get_stdout_with_exit_with_env(char **cmd, int *exit_code, char *const *envp);
- ^
- system/extras/multirom/trampoline/encryption.c: In function 'encryption_cleanup':
- system/extras/multirom/trampoline/encryption.c:133:9: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=]
- ERROR("encryption_cleanup: failed to unmount /firmware: %s\n", strerror(errno));
- ^
- cc1: some warnings being treated as errors
- make: *** [/data/MultiROM/android-6.0/out/target/product/pme/obj/EXECUTABLES/trampoline_intermediates/encryption.o] Error 1
- make: *** Waiting for unfinished jobs....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement