[General Questions and Answers] alphasparc:
How to build ROM from Source

Hi I have some experience with buildroot and I am trying to build a ROM for my handphone e510.

I tried building from cyanogenmod but the buildroot does not work properly at all?!

I am building on Fedora 20 and the build process stops

target StaticLib: libstagefright_g711dec (out/target/product/e510/obj/STATIC_LIBRARIES/libstagefright_g711dec_intermediates/libstagefright_g711dec.a)
target StaticLib: libglib_static (out/target/product/e510/obj/STATIC_LIBRARIES/libglib_static_intermediates/libglib_static.a)
target StaticLib: libbuiltinplugin (out/target/product/e510/obj/STATIC_LIBRARIES/libbuiltinplugin_intermediates/libbuiltinplugin.a)
target StaticLib: libgdbus_static (out/target/product/e510/obj/STATIC_LIBRARIES/libgdbus_static_intermediates/libgdbus_static.a)
target StaticLib: libiptc (out/target/product/e510/obj/STATIC_LIBRARIES/libiptc_intermediates/libiptc.a)
target StaticLib: libext (out/target/product/e510/obj/STATIC_LIBRARIES/libext_intermediates/libext.a)
preparing StaticLib: libc_nomalloc [including out/target/product/e510/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a]
target StaticLib: liblsof (out/target/product/e510/obj/STATIC_LIBRARIES/liblsof_intermediates/liblsof.a)
target StaticLib: libaudiointerface (out/target/product/e510/obj/STATIC_LIBRARIES/libaudiointerface_intermediates/libaudiointerface.a)
target StaticLib: libaudiopolicybase (out/target/product/e510/obj/STATIC_LIBRARIES/libaudiopolicybase_intermediates/libaudiopolicybase.a)
target thumb C++: libcamerastub <= frameworks/base/services/camera/libcameraservice/CameraHardwareStub.cpp
target thumb C++: libcamerastub <= frameworks/base/services/camera/libcameraservice/FakeCamera.cpp
target thumb C++: libmediaplayerservice <= frameworks/base/media/libmediaplayerservice/MediaRecorderClient.cpp
frameworks/base/services/camera/libcameraservice/CameraHardwareStub.cpp: In static member function 'static android::sp<android::CameraHardwareInterface> android::CameraHardwareStub::createInstance()':
frameworks/base/services/camera/libcameraservice/CameraHardwareStub.cpp:400: error: cannot allocate an object of abstract type 'android::CameraHardwareStub'
frameworks/base/services/camera/libcameraservice/CameraHardwareStub.h:31: note: because the following virtual functions are pure within 'android::CameraHardwareStub':
device/lge/e510/include/camera/CameraHardwareInterface.h:96: note: virtual android::status_t android::CameraHardwareInterface::getShutterSound(int)
device/lge/e510/include/camera/CameraHardwareInterface.h:142: note: virtual void android::CameraHardwareInterface::encodeData()
make: *** [out/target/product/e510/obj/STATIC_LIBRARIES/libcamerastub_intermediates/CameraHardwareStub.o] Error 1
make: *** Waiting for unfinished jobs....
target StaticLib: libc_nomalloc (out/target/product/e510/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)

My experience on building ROM on android is really bad.

All the wikis are telling me different things and none of them actually work as advertise I had to randomly enter different known commands to get it going.

Anyone know the right path to success?

My eventual goal is to port KitKat over as I heard that a developer has workaround the armv6 limitations for libstagefright.

Thanks