[Optimus One, P500, V General] hseokman:
I would like to build CM7 and like to learn android system.

I just followed some other build tutorial of building CM7.

repo sync does not pick up p500 device proprietary repository, so I just cloned CyanogenMod/android_device_lge_p500 to device/lge/p500.

I ran '. build/envsetup.sh && brunch p500'

I got following error messages.

target thumb C++: libcamerastub <= frameworks/base/services/camera/libcameraservice/CameraHardwareStub.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/p500/include/camera/CameraHardwareInterface.h:97: note: virtual android::status_t android::CameraHardwareInterface::fillerA()
device/lge/p500/include/camera/CameraHardwareInterface.h:98: note: virtual android::status_t android::CameraHardwareInterface::fillerB()
device/lge/p500/include/camera/CameraHardwareInterface.h:103: note: virtual android::status_t android::CameraHardwareInterface::getShutterSound(int)
device/lge/p500/include/camera/CameraHardwareInterface.h:104: note: virtual android::status_t android::CameraHardwareInterface::fillerC()
device/lge/p500/include/camera/CameraHardwareInterface.h:105: note: virtual android::status_t android::CameraHardwareInterface::fillerD()
device/lge/p500/include/camera/CameraHardwareInterface.h:106: note: virtual android::status_t android::CameraHardwareInterface::fillerE()
device/lge/p500/include/camera/CameraHardwareInterface.h:107: note: virtual android::status_t android::CameraHardwareInterface::fillerF()
device/lge/p500/include/camera/CameraHardwareInterface.h:108: note: virtual android::status_t android::CameraHardwareInterface::fillerG()
device/lge/p500/include/camera/CameraHardwareInterface.h:109: note: virtual android::status_t android::CameraHardwareInterface::fillerH()
device/lge/p500/include/camera/CameraHardwareInterface.h:110: note: virtual android::status_t android::CameraHardwareInterface::fillerI()
device/lge/p500/include/camera/CameraHardwareInterface.h:111: note: virtual android::status_t android::CameraHardwareInterface::fillerJ()
device/lge/p500/include/camera/CameraHardwareInterface.h:112: note: virtual android::status_t android::CameraHardwareInterface::fillerK()
device/lge/p500/include/camera/CameraHardwareInterface.h:113: note: virtual android::status_t android::CameraHardwareInterface::fillerL()
device/lge/p500/include/camera/CameraHardwareInterface.h:114: note: virtual android::status_t android::CameraHardwareInterface::fillerM()
device/lge/p500/include/camera/CameraHardwareInterface.h:115: note: virtual android::status_t android::CameraHardwareInterface::fillerN()
device/lge/p500/include/camera/CameraHardwareInterface.h:116: note: virtual android::status_t android::CameraHardwareInterface::fillerO()
device/lge/p500/include/camera/CameraHardwareInterface.h:162: note: virtual void android::CameraHardwareInterface::encodeData()
make: *** [out/target/product/p500/obj/STATIC_LIBRARIES/libcamerastub_intermediates/CameraHardwareStub.o] Error 1

am I doing something wrong?