Advertisement
OdSazib

aw2013 driver error with aosp

Oct 23rd, 2016
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. ^
  2. target C: memtrack.msm8916 <= hardware/qcom/display-caf/msm8916/libmemtrack/kgsl.c
  3. target C: power.default <= hardware/libhardware/modules/power/power.c
  4. hardware/cyanogen/lights/lights-aw2013.c: In function 'close_lights':
  5. hardware/cyanogen/lights/lights-aw2013.c:450:9: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration]
  6. free(dev);
  7. ^
  8. hardware/cyanogen/lights/lights-aw2013.c:450:9: warning: incompatible implicit declaration of built-in function 'free'
  9. hardware/cyanogen/lights/lights-aw2013.c: In function 'open_lights':
  10. hardware/cyanogen/lights/lights-aw2013.c:484:12: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration]
  11. struct light_device_t *dev = malloc(sizeof(struct light_device_t));
  12. ^
  13. hardware/cyanogen/lights/lights-aw2013.c:484:34: warning: incompatible implicit declaration of built-in function 'malloc'
  14. struct light_device_t *dev = malloc(sizeof(struct light_device_t));
  15. ^
  16. cc1: some warnings being treated as errors
  17. make: *** [/home/odsazib/dev/Broken/out/target/product/ido/obj/SHARED_LIBRARIES/lights.msm8916_intermediates/lights-aw2013.o] Error 1
  18. make: *** Waiting for unfinished jobs....
  19. hardware/libhardware/modules/power/power.c: In function 'power_init':
  20. hardware/libhardware/modules/power/power.c:28:45: warning: unused parameter 'module' [-Wunused-parameter]
  21. static void power_init(struct power_module *module)
  22. ^
  23. hardware/libhardware/modules/power/power.c: In function 'power_set_interactive':
  24. hardware/libhardware/modules/power/power.c:32:56: warning: unused parameter 'module' [-Wunused-parameter]
  25. static void power_set_interactive(struct power_module *module, int on)
  26. ^
  27. hardware/libhardware/modules/power/power.c:32:68: warning: unused parameter 'on' [-Wunused-parameter]
  28. static void power_set_interactive(struct power_module *module, int on)
  29. ^
  30. hardware/libhardware/modules/power/power.c: In function 'power_hint':
  31. hardware/libhardware/modules/power/power.c:36:45: warning: unused parameter 'module' [-Wunused-parameter]
  32. static void power_hint(struct power_module *module, power_hint_t hint,
  33. ^
  34. hardware/libhardware/modules/power/power.c:37:30: warning: unused parameter 'data' [-Wunused-parameter]
  35. void *data) {
  36. ^
  37.  
  38. #### make failed to build some targets (26:55 (mm:ss)) ####
  39.  
  40.  
  41. real 26m55.353s
  42. user 91m31.128s
  43. sys 3m48.680s
  44. ls: cannot access '/home/odsazib/dev/Broken/out/target/product/ido/R*.zip': No such file or directory
  45. Build Suceeded, grab your zip at
  46. odsazib@Greenhorn ~/dev/Broken $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement