thank u for response

but how do i do that ,do i need to add PV_INCLUDES to all the local.mk
files

and i can compile it without any error using g++ when i use cross
compiler it throws errors
pls guide me about this , im new to opencore

regards
anitha

On Sep 22, 6:13 pm, Deva R <[email protected]> wrote:
> Make sure ./external/opencore/Config.mk parameters (all the include path,
> flags,etc) are available in the new build files.,
>
> --
> Regards,
> Devawww.bittoggler.com
>
> On Wed, Sep 22, 2010 at 6:15 PM, Anitha <[email protected]> wrote:
> > hi ,
>
> >    i have taken opencore from latest eclair android and trying to
> > compile that outside of android using imx27 toolchain  getting
> > following errors.
>
> > /home/anitha/opencore/tools_v2/build/make/entry_point.mk:152: /home/
> > anitha/opencore/build_config/opencore_dynamic/build/installed_include/
> > ALL_HDRS_INSTALLED: No such file or directory
> > /home/anitha/opencore/tools_v2/build/make/entry_point.mk:152: /home/
> > anitha/opencore/build_config/opencore_dynamic/build/installed_lib/arm/
> > ALL_LIBS_INSTALLED: No such file or directory
> > [make] Touching dependency file ==> /home/anitha/opencore/build_config/
> > opencore_dynamic/build/installed_lib/arm/ALL_LIBS_INSTALLED
> > test -f /home/anitha/opencore/build_config/opencore_dynamic/build/
> > installed_lib/arm/ALL_LIBS_INSTALLED
> > [make] Touching dependency file ==> /home/anitha/opencore/build_config/
> > opencore_dynamic/build/installed_include/ALL_HDRS_INSTALLED
> > test -f /home/anitha/opencore/build_config/opencore_dynamic/build/
> > installed_include/ALL_HDRS_INSTALLED
> > [make] Building /home/anitha/opencore/build_config/opencore_dynamic/
> > build/oscl/oscl/osclbase/build/make/arm/shared-dbg/oscl_time.o
> > [make] Using /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.cpp
> > In file included from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.h:45,
> >                 from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.cpp:19:
> > /home/anitha/opencore/oscl/oscl/osclbase/src/oscl_base.h:38:24: error:
> > osclconfig.h: No such file or directory
> > In file included from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_base.h:41,
> >                 from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.h:45,
> >                 from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.cpp:19:
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:44:2:
> > error: #error "ERROR: OSCL_ASSERT_ALWAYS has to be defined to either 1
> > or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:54:2:
> > error: #error "ERROR: OSCL_DISABLE_INLINES has to be defined to either
> > 1 or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:63:2:
> > error: #error "ERROR: OSCL_HAS_ANSI_STDLIB_SUPPORT has to be defined
> > to either 1 or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:72:2:
> > error: #error "ERROR: OSCL_HAS_ANSI_STDIO_SUPPORT has to be defined to
> > either 1 or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:81:2:
> > error: #error "ERROR: OSCL_HAS_ANSI_STRING_SUPPORT has to be defined
> > to either 1 or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:90:2:
> > error: #error "ERROR: OSCL_HAS_UNICODE_SUPPORT has to be defined to
> > either 1 or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 100:2: error: #error "ERROR: _STRLIT has to be defined."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 110:2: error: #error "ERROR: _STRLIT_CHAR has to be defined."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 140:2: error: #error "ERROR: OSCL_HAS_MSWIN_SUPPORT has to be defined
> > to either 1 or 0"
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 149:2: error: #error "ERROR: OSCL_HAS_MSWIN_PARTIAL_SUPPORT has to be
> > defined to either 1 or 0"
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 158:2: error: #error "ERROR: OSCL_HAS_UNIX_SUPPORT has to be defined
> > to either 1 or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 167:2: error: #error "ERROR: OSCL_HAS_SYMBIAN_SUPPORT has to be
> > defined to either 1 or 0"
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 176:2: error: #error "ERROR: OSCL_HAS_ANDROID_SUPPORT has to be
> > defined to either 1 or 0"
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 185:2: error: #error "ERROR: OSCL_HAS_IPHONE_SUPPORT has to be defined
> > to either 1 or 0"
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 194:2: error: #error "ERROR: OSCL_INTEGERS_WORD_ALIGNED has to be
> > defined to either 1 or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 203:2: error: #error "ERROR: OSCL_BYTE_ORDER_BIG_ENDIAN has to be
> > defined to either 1 or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 212:2: error: #error "ERROR: OSCL_BYTE_ORDER_LITTLE_ENDIAN has to be
> > defined to either 1 or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 220:2: error: #error "ERROR: either OSCL_BYTE_ORDER_LITTLE_ENDIAN or
> > else OSCL_BYTE_ORDER_BIG_ENDIAN must be 1."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 232:2: error: #error "ERROR: OSCL_HAS_GLOBAL_VARIABLE_SUPPORT has to
> > be defined to either 1 or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 248:2: error: #error "ERROR: OSCL_HAS_ANSI_STRING_SUPPORT has to be
> > defined to either 1 or 0."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 256:2: error: #error "ERROR: OSCL_NATIVE_INT64_TYPE has to be
> > defined."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 264:2: error: #error "ERROR: OSCL_NATIVE_UINT64_TYPE has to be
> > defined."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 272:2: error: #error "ERROR: INT64(x) has to be defined."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 280:2: error: #error "ERROR: UINT64(x) has to be defined."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 288:2: error: #error "ERROR: INT64_HILO(high,low) has to be defined."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 296:2: error: #error "ERROR: UINT64_HILO(high,low) has to be defined."
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 306:2: error: #error "ERROR: OSCL_MEMFRAG_PTR_BEFORE_LEN has to be
> > defined to either 0 or 1"
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 315:2: error: #error "ERROR: OSCL_HAS_TLS_SUPPORT has to be defined to
> > either 1 or 0"
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 326:2: error: #error "ERROR: OSCL_TLS_IS_KEYED has to be defined to
> > either 1 or 0"
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 394:2: error: #error "ERROR: OSCL_HAS_BASIC_LOCK must be defined to 0
> > or 1"
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:
> > 416:2: error: #error "ERROR: OSCL_HAS_PRAGMA_PACK must be defined to 0
> > or 1"
> > In file included from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.cpp:19:
> > /home/anitha/opencore/oscl/oscl/osclbase/src/oscl_time.h:49:29: error:
> > osclconfig_time.h: No such file or directory
> > In file included from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_mem_basic_functions.h:178,
> >                 from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.inl:328,
> >                 from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.h:370,
> >                 from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.cpp:19:
> > /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_mem_basic_functions.inl:22:31: error: osclconfig_memory.h: No
> > such file or directory
> > /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_mem_basic_functions.inl:31:42: error:
> > osclconfig_compiler_warnings.h: No such file or directory
> > In file included from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_base.h:40,
> >                 from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.h:45,
> >                 from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.cpp:19:
> > /home/anitha/opencore/oscl/oscl/osclbase/src/oscl_types.h:62: error:
> > ‘uint8’ does not name a type
> > /home/anitha/opencore/oscl/oscl/osclbase/src/oscl_types.h:69: error:
> > ‘OSCL_NATIVE_INT64_TYPE’ does not name a type
> > /home/anitha/opencore/oscl/oscl/osclbase/src/oscl_types.h:70: error:
> > ‘OSCL_NATIVE_UINT64_TYPE’ does not name a type
> > /home/anitha/opencore/oscl/oscl/osclbase/src/oscl_types.h:75: error:
> > ‘OSCL_NATIVE_WCHAR_TYPE’ does not name a type
> > /home/anitha/opencore/oscl/oscl/osclbase/src/oscl_types.h:78: error:
> > ‘oscl_wchar’ does not name a type
> > /home/anitha/opencore/oscl/oscl/osclbase/src/oscl_types.h:95: error:
> > ‘uint32’ does not name a type
> > In file included from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_base.h:41,
> >                 from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.h:45,
> >                 from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.cpp:19:
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:31:
> > error: ‘int8’ does not name a type
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:32:
> > error: ‘uint8’ does not name a type
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:33:
> > error: ‘int16’ does not name a type
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:34:
> > error: ‘uint16’ does not name a type
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:35:
> > error: ‘int32’ does not name a type
> > /home/anitha/opencore/oscl/oscl/config/shared/osclconfig_check.h:36:
> > error: ‘uint32’ does not name a type
> > In file included from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.h:45,
> >                 from /home/anitha/opencore/oscl/oscl/osclbase/src/
> > oscl_time.cpp:19:
> > /home/anitha/opencore/oscl/oscl/osclbase/src/oscl_base.h:69: error:
> > ‘int32’ does not name a type
> > /home/anitha/opencore/oscl/oscl/osclbase/src/oscl_base.h:77: error:
>
> ...
>
> read more »

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

Reply via email to