amarullz / AROMA-Filemanager

Android Recovery Based File Manager
265 stars 137 forks source link

some build errors #17

Open ghost opened 8 years ago

ghost commented 8 years ago

ama, hi okay when compiling master as it currently stands, for one msm8226 and one msm8916 [32bit build since 64bit isn't there on the kernel side of things]

bootable/recovery/aromafm/src/libs/fb/fb.c:39:15: error: storage size of 'st' isn't known

after a little looking i found this article https://bytes.com/topic/c/answers/140397-struct-stat-st-stat-filename-c_str-st-hu

so included

include asm/stat.h <---the brackets don't show for some reason

in src/libs/fb/fb.c that seemed to move things foward though i don't know if that's actually correct.

Further along i hit this In file included from bootable/recovery/aromafm/src/main/aroma_ui.c:31:0: In function 'open', inlined from 'aui_extract_thread' at bootable/recovery/aromafm/src/main/libs/aroma_uiextract.c:161:28: bionic/libc/include/fcntl.h:63:33: error: call to '__creat_missing_mode' declared with attribute error: called with O_CREAT, but missing mode

I am building through cm11 build system, what's missing mode ? Is bionic too old a version?

thanks. m