Well i fix the problem of the camerawrapper.cpp with a patch, now there's other problem:
1. b2g/application.ini 2. b2g/libnspr4.so 3. target thumb C++: gralloc.i9300 <= hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp 4. 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**)': 5. hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:386: error: 'GRALLOC_USAGE_YUV_ADDR' was not declared in this scope 6. hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: At global scope: 7. hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: error: 'gralloc_module_t' has no non-static data member named 'getphys' 8. hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::info' 9. hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::finfo' 10. hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::xdpi' 11. hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::ydpi' 12. hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::fps' 13. hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::enableVSync' 14. make: *** [ out/target/product/i9300/obj/SHARED_LIBRARIES/gralloc.i9300_intermediates/gralloc_module.o ] Error 1 15. 16. real 1m57.225s 17. user 1m53.015s 18. sys 0m23.001s 19. 20. > Build failed! < 21. 22. Build with |./build.sh -j1| for better messages 23. If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else. it is with the gralloc_module.cpp, some know something about this? 2013/1/23 Gioyik <[email protected]> > Hi > > I am going to test that file. > > Thanks so much. > El ene 23, 2013 12:41 p.m., "Mike Habicher" <[email protected]> escribió: > > Hi Gioyik, >> >> It looks like your build is picking up the wrong version of >> CameraParameters.h, one that doesn't include KEY_SUPPORTED_ISO_MODES and >> KEY_ISO_MODE. >> >> These symbols aren't part of the standard AOSP version of that file (see >> http://androidxref.com/4.0.4/**xref/frameworks/base/include/** >> camera/CameraParameters.h<http://androidxref.com/4.0.4/xref/frameworks/base/include/camera/CameraParameters.h>) >> so you'll need to find which repo the S3 version of the file comes from and >> add that to your build. >> >> --Mike. >> >> >> On 13-01-22 07:44 PM, Gioyik wrote: >> >>> Hi >>> >>> I am finishing the Porting of FirefoxOS for the S3 i9300 but now i have a >>> problem withe te camerawrapper, could someone help me with this, this is >>> the log: >>> >>> b2g/libplds4.so >>> b2g/application.ini >>> b2g/libnspr4.so >>> target thumb C++: camera.exynos4 <= >>> device/samsung/i9300/**camerawrapper/CameraWrapper.**cpp >>> device/samsung/i9300/**camerawrapper/CameraWrapper.**cpp: In function >>> 'char* >>> camera_fixup_getparams(int, const char*)': >>> device/samsung/i9300/**camerawrapper/CameraWrapper.**cpp:102: error: >>> 'KEY_SUPPORTED_ISO_MODES' is not a member of 'android::CameraParameters' >>> device/samsung/i9300/**camerawrapper/CameraWrapper.**cpp: In function >>> 'char* >>> camera_fixup_setparams(int, const char*)': >>> device/samsung/i9300/**camerawrapper/CameraWrapper.**cpp:118: error: >>> 'KEY_ISO_MODE' is not a member of 'android::CameraParameters' >>> device/samsung/i9300/**camerawrapper/CameraWrapper.**cpp:120: error: >>> 'KEY_ISO_MODE' is not a member of 'android::CameraParameters' >>> device/samsung/i9300/**camerawrapper/CameraWrapper.**cpp:122: error: >>> 'KEY_ISO_MODE' is not a member of 'android::CameraParameters' >>> device/samsung/i9300/**camerawrapper/CameraWrapper.**cpp:124: error: >>> 'KEY_ISO_MODE' is not a member of 'android::CameraParameters' >>> device/samsung/i9300/**camerawrapper/CameraWrapper.**cpp:126: error: >>> 'KEY_ISO_MODE' is not a member of 'android::CameraParameters' >>> device/samsung/i9300/**camerawrapper/CameraWrapper.**cpp: In function >>> 'int >>> camera_device_open(const hw_module_t*, const char*, hw_device_t**)': >>> device/samsung/i9300/**camerawrapper/CameraWrapper.**cpp:501: warning: >>> suggest >>> parentheses around assignment used as truth value >>> make: *** >>> [out/target/product/i9300/obj/**SHARED_LIBRARIES/camera.** >>> exynos4_intermediates/**CameraWrapper.o] >>> Error 1 >>> >>> real 3m15.729s >>> user 2m1.376s >>> sys 0m27.010s >>> >>> Build failed! < >>>> >>> Build with |./build.sh -j1| for better messages >>> If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf >>> out| to clobber everything else. >>> >>> >>> This the last part for the compilation, so if someone can help me this, >>> could be great to finish the Port. >>> >>> Thanks >>> >>> >> ______________________________**_________________ >> dev-b2g mailing list >> [email protected] >> https://lists.mozilla.org/**listinfo/dev-b2g<https://lists.mozilla.org/listinfo/dev-b2g> >> > -- Mozilla Hispano: http://mozilla-hispano.org Mentor en mozilla-hispano.org: Gioyik<https://www.mozilla-hispano.org/documentacion/Usuario:Gioyik> Mozilla Colombia: Miembro en MozillaColombia<http://mozillacolombia.org/our-contributors/> twitter: Gioyik <https://twitter.com/Gioyik> Blog: gioyik.wordpress.com irc: gioyik _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
