[Issue Building][B2G] Porting FirefoxOS tto the S3 i9300
Hi,
I am a working Porting FirefoxOS to the S3 i9300, but i have a problem with the gralloc_module.cpp, so this is the log:
Could some help me with this? I like continue with the Port but i can't find a patch to solve this. The repo where there are all the files of the Port is this
https://github.com/Droid2Fox.
The repo that has the library wrong is this:
https://github.com/Droid2Fox/android_hardware_samsung
I work with the ICS branch, not with the Jellybeam.
Thanks
Hi,
I am a working Porting FirefoxOS to the S3 i9300, but i have a problem with the gralloc_module.cpp, so this is the log:
Code:
b2g/application.ini
b2g/libnspr4.so
target thumb C++: gralloc.i9300 <= hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: In function 'int gralloc_lock(const gralloc_module_t*, const native_handle_t*, int, int, int, int, int, void**)':
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:386: error: 'GRALLOC_USAGE_YUV_ADDR' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: At global scope:
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: error: 'gralloc_module_t' has no non-static data member named 'getphys'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::info'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::finfo'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::xdpi'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::ydpi'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::fps'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::enableVSync'
make: *** [out/target/product/i9300/obj/SHARED_LIBRARIES/gralloc.i9300_intermediates/gralloc_module.o] Error 1
real 1m57.225s
user 1m53.015s
sys 0m23.001s
> Build failed! <
Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and
Could some help me with this? I like continue with the Port but i can't find a patch to solve this. The repo where there are all the files of the Port is this
https://github.com/Droid2Fox.
The repo that has the library wrong is this:
https://github.com/Droid2Fox/android_hardware_samsung
I work with the ICS branch, not with the Jellybeam.
Thanks