Hi,
for rowboat, you should have  "TARGET_PRODUCT=omap3evm"  (all the time, when
u run make or mm incremental build)
detailed build steps are at
http://code.google.com/p/rowboat/wiki/ConfigureAndBuild

-- 
Regards,
Deva
www.bittoggler.com


On Mon, Nov 8, 2010 at 4:40 PM, anantha padmanaban <
[email protected]> wrote:

> Hi All,
>
>   I was getting error when i try to compile a cpp file. How to fix this
> error.
>
>
> Line number 52 of _types.h
>
> //#include <linux/types.h>
>
> /* 7.18.1.1 Exact-width integer types */
> ===> 52: typedef    __signed char        __int8_t;
> typedef    unsigned char        __uint8_t;
>
>
> an...@camera:mm
> ============================================
> PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=2.2
> TARGET_PRODUCT=generic
> TARGET_BUILD_VARIANT=eng
> TARGET_SIMULATOR=
> TARGET_BUILD_TYPE=release
> TARGET_BUILD_APPS=
> TARGET_ARCH=arm
> HOST_ARCH=x86
> HOST_OS=linux
> HOST_BUILD_TYPE=release
> BUILD_ID=MASTER
> ============================================
> make: Entering directory
> `/media/500_p1/Android/omap3evm/rowboat-android/froyo'
> target thumb C++: libcamera <= hardware/ti/omap3/camera/CameraHardware.cpp
> In file included from bionic/libc/include/sys/_types.h:40,
>                  from bionic/libc/include/stdio.h:42,
>                  from system/core/include/cutils/log.h:31,
>                  from frameworks/base/include/utils/Log.h:31,
>                  from hardware/ti/omap3/camera/CameraHardware.cpp:20:
> bionic/libc/arch-arm/include/machine/_types.h:52: error: expected
> constructor, destructor, or type conversion before 'typedef'
> bionic/libc/arch-arm/include/machine/_types.h:64: error: '__int8_t' does
> not name a type
> In file included from bionic/libc/include/sys/types.h:34,
>                  from bionic/libc/include/stdio.h:55,
>                  from system/core/include/cutils/log.h:31,
>                  from frameworks/base/include/utils/Log.h:31,
>                  from hardware/ti/omap3/camera/CameraHardware.cpp:20:
> bionic/libc/include/stdint.h:53: error: '__int8_t' does not name a type
> bionic/libc/include/stdint.h:68: error: 'int8_t' does not name a type
> bionic/libc/include/stdint.h:69: error: 'int8_t' does not name a type
> make: ***
> [out/target/product/generic/obj/SHARED_LIBRARIES/libcamera_intermediates/CameraHardware.o]
> Error 1
> make: Leaving directory
> `/media/500_p1/Android/omap3evm/rowboat-android/froyo'
>
> Thanks and regards,
> Ananth.
>
>  --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to