libdvm_issue.txt

d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Jni.c:1858:13: error: conflicting types for 'GetVersion'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/winbase.h:1763:25: note: previous declaration of 'GetVersion' was here
comment winbase.h




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Jni.c:1974: undefined reference to `dvmInstanceof'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\oo\TypeCheck.h
//INLINE int dvmInstanceof(const ClassObject* instance, const ClassObject* clazz)
 int dvmInstanceof(const ClassObject* instance, const ClassObject* clazz)
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Jni.c:2056: undefined reference to `dvmSetException'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Jni.c:2075: undefined reference to `dvmThrowExceptionByClass'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\Exception.h
./Debug/vm_Init.o: In function `dvmInitAfterZygote':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Init.c:1380: undefined reference to `dvmGetRelativeTimeUsec'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\Misc.h
./Debug/oo_Class.o: In function `linearAllocTests':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/oo/Class.c:232: undefined reference to `dvmLinearReadOnly'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\LinearAlloc.h
shifted to d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\Thread2.h




./Debug/vm_Init.o: In function `dvmStartup':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Init.c:1176: undefined reference to `sysconf'
http://lists-archives.com/git/721062-add-memory-pool-library.html
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\mingw_libdvm.c




./Debug/vm_Init.o: In function `dvmInitZygote':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Init.c:1366: undefined reference to `setpgid'
it seems to be of no use, comment.




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/analysis/DexPrepare.c: In function 'dvmContinueOptimization':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/analysis/DexPrepare.c:483:5: error: 'doVerify' undeclared (first use in this function)
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/analysis/DexPrepare.c:483:5: note: each undeclared identifier is reported only once for each function it appears in
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/analysis/DexPrepare.c:483:5: error: 'doOpt' undeclared (first use in this function)
//    LOGV("Continuing optimization (%s, isb=%d, vfy=%d, opt=%d)\n",
//        fileName, isBootstrap, doVerify, doOpt);
    LOGV("Continuing optimization (%s, isb=%d)\n",
        fileName, isBootstrap);




./Debug/oo_Class.o: In function `searchBootPathForClass':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/oo/Class.c:674: undefined reference to `dvmGetJarFileDex'
/* If your compiler supports inline functions, define INLINE
 * as the inline keyword; otherwise define it as empty.
 */


#ifndef INLINE
#ifdef __GNUC__ /* for instance, GNU C knows about inline */
#define INLINE __inline__
#endif
#ifndef INLINE
#define INLINE /* default is to define it as empty */
#endif
#endif
#include <JarFile.h>



d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/libdex/SysUtil.h:83:38: error: unknown type name 'off_t'
#include <unistd.h>




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:485: multiple definition of `dvmHeapSourceStartup'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:457: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceStartupAfterZygote':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:574: multiple definition of `dvmHeapSourceStartupAfterZygote'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:522: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceStartupBeforeFork':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:587: multiple definition of `dvmHeapSourceStartupBeforeFork'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:527: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceThreadShutdown':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:606: multiple definition of `dvmHeapSourceThreadShutdown'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:2358: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceShutdown':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:619: multiple definition of `dvmHeapSourceShutdown'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:533: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceGetValue':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:654: multiple definition of `dvmHeapSourceGetValue'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:549: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceGetObjectBitmaps':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:727: multiple definition of `dvmHeapSourceGetObjectBitmaps'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:589: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceGetLiveBits':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:748: multiple definition of `dvmHeapSourceGetLiveBits'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:594: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceAlloc':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:815: multiple definition of `dvmHeapSourceAlloc'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:609: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceAllocAndGrow':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:893: multiple definition of `dvmHeapSourceAllocAndGrow'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:658: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceContainsAddress':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1025: multiple definition of `dvmHeapSourceContainsAddress'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:687: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceContains':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1036: multiple definition of `dvmHeapSourceContains'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:697: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceGetPtrFlag':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1050: multiple definition of `dvmHeapSourceGetPtrFlag'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:711: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceChunkSize':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1088: multiple definition of `dvmHeapSourceChunkSize'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:717: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceFootprint':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1108: multiple definition of `dvmHeapSourceFootprint'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:723: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceGetIdealFootprint':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1143: multiple definition of `dvmHeapSourceGetIdealFootprint'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:734: first defined here
./Debug/alloc_HeapSource.o: In function `dvmGetTargetHeapUtilization':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1245: multiple definition of `dvmGetTargetHeapUtilization'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:739: first defined here
./Debug/alloc_HeapSource.o: In function `dvmSetTargetHeapUtilization':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1258: multiple definition of `dvmSetTargetHeapUtilization'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:744: first defined here
./Debug/alloc_HeapSource.o: In function `dvmMinimumHeapSize':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1285: multiple definition of `dvmMinimumHeapSize'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:749: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceGrowForUtilization':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1359: multiple definition of `dvmHeapSourceGrowForUtilization'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:760: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceTrim':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1469: multiple definition of `dvmHeapSourceTrim'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:765: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceWalk':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1513: multiple definition of `dvmHeapSourceWalk'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:773: first defined here
./Debug/alloc_HeapSource.o: In function `dvmHeapSourceGetNumHeaps':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1535: multiple definition of `dvmHeapSourceGetNumHeaps'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:778: first defined here
./Debug/alloc_HeapSource.o: In function `dvmTrackExternalAllocation':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1706: multiple definition of `dvmTrackExternalAllocation'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:783: first defined here
./Debug/alloc_HeapSource.o: In function `dvmTrackExternalFree':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1804: multiple definition of `dvmTrackExternalFree'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:789: first defined here
./Debug/alloc_HeapSource.o: In function `dvmGetExternalBytesAllocated':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1868: multiple definition of `dvmGetExternalBytesAllocated'
./Debug/alloc_Copying.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/Copying.c:794: first defined here
comment Copying.c




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/native/dalvik_system_Zygote.c: In function 'enableDebugFeatures':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/native/dalvik_system_Zygote.c:310:19: error: 'PR_SET_DUMPABLE' undeclared (first use in this function)
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/native/dalvik_system_Zygote.c:409:25: error: 'PR_SET_KEEPCAPS' undeclared (first use in this function)
not supported, comment.




gcc -c  "d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/bionic/dlmalloc.c" -g  -o ./Debug/bionic_dlmalloc.o -I. -I. -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/include/core/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/include/images/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/arch-x86/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/kernel/common/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/kernel/arch-x86/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/ango/angowx/android/AndroidRuntime/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/bionic/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/private/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/freetype/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/zlib/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/native/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/opt/emoji/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/openssl/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111101-froyo/hardware/libhardware/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android/graphics/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/src/ports/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/jpeg/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/sqlite/dist/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/sqlite/android/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/openssl/crypto/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/libnativehelper/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/ango/include/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libcutils/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/i18n/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/libnfc-nxp/src/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/libnfc-nxp/inc/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/oo/ -Id:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/safe-iop/include/ 
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/bionic/dlmalloc.c:648:8: error: redefinition of 'struct mallinfo'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/malloc.h:48:8: note: originally defined here
comment dlmalloc.c




./Debug/alloc_HeapSource.o: In function `getAllocLimit':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:247: undefined reference to `mspace_max_allowed_footprint'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\bionic\dlmalloc.c
#define USE_MAX_ALLOWED_FOOTPRINT 1
#if USE_MAX_ALLOWED_FOOTPRINT




./Debug/alloc_HeapSource.o: In function `dvmHeapSourceFreeList':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1091: undefined reference to `mspace_merge_objects'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\bionic\dlmalloc.c:
#define ANDROID 1
#if ANDROID




./Debug/alloc_HeapSource.o: In function `releasePagesInRange':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:1550: undefined reference to `madvise'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapBitmap.c:76: undefined reference to `madvise'
http://www.kernel.org/doc/man-pages/online/pages/man2/madvise.2.html
not supported, comment




d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\alloc\HeapSource.c:1597:  undefined reference to  dlmalloc_trim
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\bionic\dlmalloc.c
  dlmalloc_trim(0);
http://code.ohloh.net/search?s=%22malloc_trim%22%20windows&browser=Default&pp=0&fe=c&ff=1&mp=1&ml=1&me=1&md=1&filterChecked=true




./Debug/alloc_HeapSource.o: In function `sys_trim':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:582: undefined reference to `sbrk'
http://code.ohloh.net/search   unexnt.c sbrk
in d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\bionic\dlmalloc.c
  System requirements: Any combination of MORECORE and/or MMAP/MUNMAP
       This malloc can use unix sbrk or any emulation (invoked using
       the CALL_MORECORE macro) and/or mmap/munmap or any emulation
       (invoked using CALL_MMAP/CALL_MUNMAP) to get and release system
       memory.  On most unix systems, it tends to work best if both
       MORECORE and MMAP are enabled.  On Win32, it uses emulations
       based on VirtualAlloc. It also uses common C library functions
       like memset.
#ifndef WIN32
#ifdef _WIN32
#define WIN32 1
#endif  /* _WIN32 */
#endif  /* WIN32 */
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#define HAVE_MMAP 1
#define HAVE_MORECORE 0
#define LACKS_UNISTD_H
#define LACKS_SYS_PARAM_H
#define LACKS_SYS_MMAN_H
#define LACKS_STRING_H
#define LACKS_STRINGS_H
#define LACKS_SYS_TYPES_H
#define LACKS_ERRNO_H
#define MALLOC_FAILURE_ACTION
#define MMAP_CLEARS 0 /* WINCE and some others apparently don't clear */
#endif  /* WIN32 */




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/HeapSource.c:545:0: warning: "HAVE_MORECORE" redefined [enabled by default]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/include/cutils/mspace.h:39:0: note: this is the location of the previous definition
in mspace.h:
//#define USE_CONTIGUOUS_MSPACES 1




./Debug/alloc_DdmHeap.o: In function `walkHeap':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/alloc/DdmHeap.c:388: undefined reference to `dlmalloc_walk_heap'
copy it from d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\bionic\dlmalloc.c to
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\alloc\HeapSource.c




./Debug/vm_Misc.o: In function `dvmSetCloseOnExec':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Misc.c:663: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Misc.c:668: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/NetworkUtilities.cpp:110: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/NetworkUtilities.cpp:121: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSFileSystem.cpp:169: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSFileSystem.cpp:181: undefined reference to `fcntl'
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\fcntl.c
http://code.ohloh.net/search?s=fcntl%20windows&browser=Default&pp=0&fe=c&fe=cpp&ff=1&mp=1&ml=1&me=1&md=1&filterChecked=true
http://code.ohloh.net/file?fid=H0B5SzBeAxBr-Kqb2erVRkBtPkk&cid=oIi7Vl7b1TE&s=fcntl%20windows&browser=Default#L23
not supported, comment




./Debug/vm_Properties.o: In function `dvmCreateDefaultProperties':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Properties.c:143: undefined reference to `uname'
http://code.ohloh.net/file?fid=NHVfnUoH0G-AdUxgLsKdTmvqAqg&cid=YyfSUObuXBM&s=uname%20windows&browser=Default#L20
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\uname.c




./Debug/mterp_Mterp.o: In function `dvmCheckAsmConstants':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/mterp/Mterp.c:50: undefined reference to `dvmAsmInstructionEnd'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/mterp/Mterp.c:50: undefined reference to `dvmAsmInstructionStart'
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\mterp\out\InterpAsm-allstubs.S
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\mterp\out\InterpAsm-x86.S




D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\mterp\out>gcc -c InterpAsm-x86.S -o InterpAsm-x86.o
InterpAsm-x86.S: Assembler messages:
InterpAsm-x86.S:219: Warning: .type pseudo-op used outside of .def/.endef ignored.
InterpAsm-x86.S:219: Error: junk at end of line, first unrecognized character is `d'
http://stackoverflow.com/questions/12221362/sgabios-compilation-errors
http://sourceware.org/binutils/docs-2.22/as/Type.html#Type
http://sourceware.org/binutils/docs-2.22/as/
COFF Version(windows)
For COFF targets, this directive is permitted only within .def/.endef pairs. It is used like this:
     .type int
This records the integer int as the type attribute of a symbol table entry.
ELF Version(linux)
For ELF targets, the .type directive is used like this:
     .type name , type description
/*    .global dvmAsmInstructionStart
    .type   dvmAsmInstructionStart, %function*/
    .globl dvmAsmInstructionStart
    .def dvmAsmInstructionStart; .scl 2; .type 32; .endef


 
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\mterp\out>gcc -c InterpAsm-x86.S -o InterpAsm-x86.o
InterpAsm-x86.S: Assembler messages:
InterpAsm-x86.S:6291: Warning: .size pseudo-op used outside of .def/.endef ignored.
InterpAsm-x86.S:6291: Error: junk at end of line, first unrecognized character is `d'
http://code.ohloh.net/search?s=.def%20%20.size%20%20%09.endef&p=3&browser=Default&pp=0&fe=S&mp=1&ml=1&me=0&md=1&ff=1&filterChecked=true
http://code.ohloh.net/file?fid=11GdDFv2c7RhQQDUSssC_CXDZ2w&cid=vzrgujR7aEs&s=.def%20%20.size%20%20%09.endef&browser=Default#L223
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\doc\inffast.S
#if defined( GAS_COFF )
/* coff externals have underscores */
#define inflate_fast _inflate_fast
#define inflate_fast_use_mmx _inflate_fast_use_mmx
#endif /* GAS_COFF */


#if defined( GAS_COFF )
/* coff info: scl 2 = extern, type 32 = function */
.def inflate_fast; .scl 2; .type 32; .endef
#endif
no .size for COFF
#if defined( GAS_ELF )
/* elf info */
.type inflate_fast,@function
.size inflate_fast,.-inflate_fast
#endif


when compiled, put InterpAsm-x86.o into the linker options. Done.




InterpAsm-x86.o:fake:(.text+0x99a): undefined reference to `dvmInterpHandleFillArrayData'
InterpAsm-x86.o:fake:(.text+0xad7): undefined reference to `dvmInterpHandlePackedSwitch'
InterpAsm-x86.o:fake:(.text+0xb17): undefined reference to `dvmInterpHandleSparseSwitch'
InterpAsm-x86.o:fake:(.text+0x3a0c): undefined reference to `dvmMterp_OP_IGET_WIDE_VOLATILE'
InterpAsm-x86.o:fake:(.text+0x3a4c): undefined reference to `dvmMterp_OP_IPUT_WIDE_VOLATILE'
InterpAsm-x86.o:fake:(.text+0x3a8c): undefined reference to `dvmMterp_OP_SGET_WIDE_VOLATILE'
InterpAsm-x86.o:fake:(.text+0x3acc): undefined reference to `dvmMterp_OP_SPUT_WIDE_VOLATILE'
InterpAsm-x86.o:fake:(.text+0x3b5f): undefined reference to `dvmThrowVerificationError'
InterpAsm-x86.o:fake:(.text+0x3bcc): undefined reference to `dvmMterp_OP_EXECUTE_INLINE_RANGE'
InterpAsm-x86.o:fake:(.text+0x401c): undefined reference to `dvmResolveString'
InterpAsm-x86.o:fake:(.text+0x40a1): undefined reference to `dvmResolveClass'
InterpAsm-x86.o:fake:(.text+0x40cf): undefined reference to `dvmLockObject'
InterpAsm-x86.o:fake:(.text+0x40e4): undefined reference to `dvmUnlockObject'
InterpAsm-x86.o:fake:(.text+0x4117): undefined reference to `dvmInstanceofNonTrivial'
InterpAsm-x86.o:fake:(.text+0x413e): undefined reference to `dvmThrowExceptionWithClassMessage'


InterpAsm-x86.o:fake:(.text+0x4221): undefined reference to `dvmAllocObject'
InterpAsm-x86.o:fake:(.text+0x424d): undefined reference to `dvmInitClass'
InterpAsm-x86.o:fake:(.text+0x42f6): undefined reference to `dvmAllocArrayByClass'
InterpAsm-x86.o:fake:(.text+0x43e1): undefined reference to `dvmThrowException'


InterpAsm-x86.o:fake:(.text+0x4551): undefined reference to `dvmCanPutArrayElement'
InterpAsm-x86.o:fake:(.text+0x45ad): undefined reference to `dvmResolveInstField'
InterpAsm-x86.o:fake:(.text+0x4a1c): undefined reference to `dvmResolveStaticField'
InterpAsm-x86.o:fake:(.text+0x4cba): undefined reference to `dvmResolveMethod'


InterpAsm-x86.o:fake:(.text+0x4e99): undefined reference to `dvmFindInterfaceMethodInCache'
InterpAsm-x86.o:fake:(.text+0x5429): undefined reference to `gDvmInlineOpsTable'
InterpAsm-x86.o:fake:(.text+0x557d): undefined reference to `printf'
InterpAsm-x86.o:fake:(.text+0x5582): undefined reference to `dvmAbort'
InterpAsm-x86.o:fake:(.rodata+0x1c6): undefined reference to `dvmHandleStackOverflow'
InterpAsm-x86.o:fake:(.rodata+0x1f8): undefined reference to `dvmMterp_invokeMethod'
InterpAsm-x86.o:fake:(.rodata+0x231): undefined reference to `dvmCheckSuspendPending'
InterpAsm-x86.o:fake:(.rodata+0x37e): undefined reference to `dvmMterp_exceptionThrown'
InterpAsm-x86.o:fake:(.text+0x4fd8): undefined reference to `_divdi3'
InterpAsm-x86.o:fake:(.text+0x5037): undefined reference to `_moddi3'


/* coff externals have underscores */
    call    _dvmInterpHandleFillArrayData




InterpAsm-x86.o:fake:(.text+0x3a0c): undefined reference to `dvmMterp_OP_IGET_WIDE_VOLATILE'
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\mterp\out\InterpC-x86.c
/* File: c/OP_IGET_WIDE_VOLATILE.c */
HANDLE_IGET_X(OP_IGET_WIDE_VOLATILE,    "-wide-volatile", LongVolatile, _WIDE)
OP_END


#define HANDLE_IGET_X(_opcode, _opname, _ftype, _regsize)                   \
    HANDLE_OPCODE(_opcode /*vA, vB, field@CCCC*/)                           \


#define HANDLE_OPCODE(_op)                                                  \
    void dvmMterp_##_op(MterpGlue* glue) {                                  \




./Debug/analysis_DexPrepare.o: In function `dvmOpenCachedDexFile':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/analysis/DexPrepare.c:118: undefined reference to `flock'
http://code.ohloh.net/file?fid=NJbcQllomM4G_FP938TrAYD1odY&cid=W7CiD3xXgjA&s=flock%20%20windows&browser=Default#L1
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\flock.c




./Debug/analysis_DexPrepare.o: In function `dvmOptimizeDexFile':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/analysis/DexPrepare.c:319: undefined reference to `fork'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/dalvik/src/main/native/dalvik_system_TouchDex.cpp:124: undefined reference to `fork'
./Debug/native_dalvik_system_Zygote.o: In function `Dalvik_dalvik_system_Zygote_fork':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/native/dalvik_system_Zygote.c:244: undefined reference to `fork'
./Debug/native_dalvik_system_Zygote.o: In function `forkAndSpecializeCommon':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/native/dalvik_system_Zygote.c:397: undefined reference to `fork'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_lang_ProcessManager.cpp:213: undefined reference to `fork'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_lang_ProcessManager.cpp:243: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/analysis/DexPrepare.c:337: undefined reference to `setpgid'
./Debug/native_dalvik_system_Zygote.o: In function `setgroupsIntarray':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/native/dalvik_system_Zygote.c:177: undefined reference to `setgroups'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/native/dalvik_system_Zygote.c:433: undefined reference to `setgid'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/native/dalvik_system_Zygote.c:439: undefined reference to `setuid'
not supported comment
http://msdn.microsoft.com/en-us/library/y23kc048.aspx
http://www.cplusplus.com/forum/general/47616/
http://www.newsmth.net/nForum/#!article/Ruby/7614?au=BourneJason
http://code.ohloh.net/file?fid=CzuZZYFjkpFMrrexg7gk27XFbCM&cid=2fWufiAdQEs&s=fork%20%20windows&browser=Default#L17
http://code.ohloh.net/search?s=fork%20%20windows&p=3&browser=Default&pp=0&fe=c&fe=cpp&mp=1&ml=1&me=1&md=1&ff=1&filterChecked=true
http://code.ohloh.net/file?fid=S7EfkY3a5TLdPvg7UEyvFSg1wDk&cid=xW-qGfsZhC4&s=fork%20%20windows&browser=Default#L0
http://code.ohloh.net/file?fid=O7XzzV9SJyUtuAGgUWxYyMvMQ1Y&cid=PurC8OBrb-0&s=fork%20%20windows&browser=Default#L2
http://code.ohloh.net/file?fid=S7EfkY3a5TLdPvg7UEyvFSg1wDk&cid=xW-qGfsZhC4&s=fork%20%20windows&browser=Default#L0
http://code.ohloh.net/file?fid=oEgB_q5_oES8-2iry9Pp3NCB_Uk&cid=8us6SJwXRak&s=fork%20%20windows&browser=Default#L11




./Debug/analysis_DexPrepare.o: In function `dvmContinueOptimization':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/analysis/DexPrepare.c:568: undefined reference to `msync'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/analysis/DexPrepare.c:663: undefined reference to `fsync'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSFileSystem.cpp:361: undefined reference to `fsync'
http://code.ohloh.net/file?fid=CV6QrQv8NeRbcjrdxyv9vf8E37U&cid=qRVScIvtpoM&s=nt-base-private.h&browser=Default#L0
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\nt-base.c
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\nt-base.h
//from "nt-base.h"
#  define msync(address,length,flags)  NTSyncMemory(address,length,flags)
#  define fsync  _commit
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\mingw_libdvm.c




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/analysis/DexPrepare.c:43:
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/process.h:128:42: error: conflicting types for 'execv'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/process.h:129:42: error: conflicting types for 'execve'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/process.h:130:42: error: conflicting types for 'execvp'
comment




./Debug/native_dalvik_system_Zygote.o: In function `sigchldHandler':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/native/dalvik_system_Zygote.c:52: undefined reference to `waitpid'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/analysis/DexPrepare.c:436: undefined reference to `waitpid'
http://code.ohloh.net/file?fid=ZCTtVE8BlXPnp03t4YeiF1lb3CY&cid=pzD_vv437jQ&s=waitpid%20%20windows&browser=Default#L1
    assert(options == WNOHANG);   /* Currently only support non blocking wait */
    /* We don't know how to deal with any options yet.  */
http://code.ohloh.net/file?fid=Qqpsdfj0ddkX1rR7jB5T3h3lNY0&cid=976VH0EOFxc&s=waitpid%20%20windows&browser=Default#L26




./Debug/native_dalvik_system_Zygote.o: In function `setrlimitsFromArray':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/native/dalvik_system_Zygote.c:214: undefined reference to `setrlimit'
./Debug/native_dalvik_system_Zygote.o: In function `setCapabilities':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/native/dalvik_system_Zygote.c:347: undefined reference to `capset'
not supported, comment




./Debug/vm_Profile.o: In function `dvmMethodTraceStop':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Profile.c:593: undefined reference to `open_memstream'
./Debug/vm_SignalCatcher.o: In function `handleSigQuit':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/SignalCatcher.c:157: undefined reference to `open_memstream'
not supported, comment
http://lists.gnu.org/archive/html/bug-gnulib/2010-04/msg00440.html
http://stackoverflow.com/questions/10305095/can-i-replace-a-call-to-open-memstream-with-a-malloc-and-an-implicit-cast
http://stackoverflow.com/questions/10339473/using-mapviewoffile-pointer-eventually-walks-out-of-memory-space




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/bionic/malloc_debug_common.c:195: multiple definition of `mallinfo'
./Debug/bionic_dlmalloc.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/bionic/dlmalloc.c:4533: first defined here
./Debug/bionic_malloc_debug_common.o: In function `valloc':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/bionic/malloc_debug_common.c:199: multiple definition of `valloc'
./Debug/bionic_dlmalloc.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/bionic/dlmalloc.c:4481: first defined here
comment malloc_debug_common.c




./Debug/vm_SignalCatcher.o: In function `signalCatcherThreadStart':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/SignalCatcher.c:279: undefined reference to `sigwait'
not supported, comment
http://www.woa123.com/search3.php?keyword=Windows+IPC+sigwait&zuo=baidu&you=google&leftd=qq&rightd=bing&submit=%CB%D1%CB%F7
http://www.woa123.com/search3.php?keyword=Windows+IPC+signal&zuo=baidu&you=google&leftd=qq&rightd=bing&submit=%CB%D1%CB%F7
https://code.ohloh.net/search?s=Windows%20%20IPC%20sigwait&browser=Default&pp=0&fe=c&fe=cpp&ff=1&mp=1&ml=1&me=0&md=1&filterChecked=true
http://74.125.71.99/custom?q=Windows+IPC+sigwait&hl=zh-CN&inlang=zh-CN&newwindow=1&client=pub-65730051336577460000006&prmd=ivns&ei=T_bbUP7iI8jdigfJ9oD4CQ&start=10&sa=N
http://stackoverflow.com/questions/7961624/linux-equivalent-of-windows-hooks
http://msdn.microsoft.com/en-us/library/windows/desktop/ms632589%28v=vs.85%29.aspx
http://www.woa123.com/search3.php?keyword=Windows+IPC+sigwait&zuo=baidu&you=google&leftd=qq&rightd=bing&submit=%CB%D1%CB%F7
http://74.125.71.99/custom?hl=zh-CN&inlang=zh-CN&newwindow=1&client=pub-65730051336577460000006&ie=GB2312&num=&q=Windows+IPC+signal




./Debug/vm_StdioConverter.o: In function `dvmStdioConverterStartup':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/StdioConverter.c:71: undefined reference to `pipe'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/StdioConverter.c:75: undefined reference to `pipe'
./Debug/jdwp_JdwpSocket.o: In function `acceptConnection':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/jdwp/JdwpSocket.c:377: undefined reference to `pipe'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/jdwp/JdwpAdb.c:217: undefined reference to `pipe'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_lang_ProcessManager.cpp:196: undefined reference to `pipe'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/libcore_io_IoUtils.cpp:45: undefined reference to `pipe'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/NativeCrypto.cpp:1288: undefined reference to `pipe'
#include <io.h>
#define _O_BINARY 0x8000 /* Input and output is not translated. */
#define pipe(fds) _pipe(fds,4096, _O_BINARY)




./Debug/jdwp_JdwpSocket.o: In function `establishConnection':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/jdwp/JdwpSocket.c:422: undefined reference to `__get_h_errno'
c:\mingw-4.6.1\include\winsock2.h
#define h_errno WSAGetLastError()
not working, type conflict.
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\include\netdb.h
#define  h_errno   (*__get_h_errno())
int*  __get_h_errno(void);
change h_errno to h_errno1




./Debug/jdwp_JdwpSocket.o: In function `sendBufferedRequest':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/jdwp/JdwpSocket.c:892: undefined reference to `writev'
http://lists.fedoraproject.org/pipermail/mingw/2008-November/000032.html
http://svn.dojotoolkit.org/src/trunk/src/dot/proxy/mingw.h
http://svn.dojotoolkit.org/src/trunk/src/dot/proxy/mingw.c
in d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\system\core\include\cutils\uio.h, comment:
extern int  writev( int  fd, const struct iovec*  vecs, int  count );
add:
#include <windows.h>
static inline int writev(int sock, struct iovec *iov, int nvecs)
{
DWORD ret;
if (WSASend(sock, (LPWSABUF)iov, nvecs, &ret, 0, NULL, NULL) == 0) {
return ret;
}
return -1;
}




./Debug/jdwp_JdwpAdb.o: In function `receiveClientFd':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/jdwp/JdwpAdb.c:169: undefined reference to `recvmsg'
not supported, comment
https://code.ohloh.net/search?s=recvmsg%20WSARecvMsg%20windows&p=1&browser=Default&pp=0&fe=c&fe=cpp&mp=1&ml=1&me=0&md=1&ff=1&filterChecked=true
https://code.ohloh.net/search?s=mock_recvmsg&browser=Default&pp=0&fe=c&fe=cpp&ff=1&mp=1&ml=1&me=0&md=1&filterChecked=true
https://code.ohloh.net/file?fid=ryjLlew87P4fVtHIMxovGB4xm0w&cid=9Cpsrj_ls3I&s=mock_recvmsg&browser=Default#L89
https://code.ohloh.net/file?fid=GSwG5lQOO2Pc1XV4sWPd1v0cF4M&cid=C5Eay-euBns&s=recvmsg%20WSARecvMsg%20windows&browser=Default#L83
http://www.woa123.com/search3.php?keyword=recvmsg+WSARecvMsg+mingw&zuo=baidu&you=google&leftd=qq&rightd=bing&submit=%CB%D1%CB%F7
http://cache.baidu.com/c?m=9d78d513d98316fe1cb2d52b1a16a6235807c0346d938f542ac39339cc3f07140272a4fb792d4a4295876b6672b25409aaad7130761420c0ce95d51f83ec852858d97a6b6d49c61c559104f28911798375cf4de9d94fb0feed6dd2fbcf80df5151c803027ad4f0d80a001ec86b&p=8b2a9640898b0ee902bd9b7c5f48&newp=b43dd41a85cc42aa08e2963c4f6492694f07d62451d5&user=baidu&fm=sc&query=recvmsg+WSARecvMsg+mingw&qid=&p1=1
http://www.woa123.com/search3.php?keyword=mock_recvmsg&zuo=baidu&you=google&leftd=qq&rightd=bing&submit=%CB%D1%CB%F7
http://code.google.com/p/openpgm/source/detail?r=1151
http://www.woa123.com/search3.php?keyword=recvmsg+mingw&zuo=baidu&you=google&leftd=qq&rightd=bing&submit=%CB%D1%CB%F7
http://snapshot.soso.com/snap.cgi?d=7369754039614902757&w=recvmsg+mingw&u=http://mingw-users.1079350.n2.nabble.com/Is-WSARecvMsg-available-in-mingw-td5754558.html
http://thread.gmane.org/gmane.comp.gnu.mingw.devel/1718/focus=1763
http://msdn.microsoft.com/en-us/library/ms741687%28VS.85%29.aspx
http://74.125.71.99/custom?hl=zh-CN&inlang=zh-CN&newwindow=1&client=pub-65730051336577460000006&ie=GB2312&num=&q=recvmsg+mingw




https://code.ohloh.net/file?fid=gaqXKZpVlg4cXO5FAGl38rma8B4&cid=bH7WXeuglEc&s=%22kde_gethostname%22&browser=Default#L138
 int kde_gethostname(char *__name, size_t __len)
{
  size_t len = __len;
  if (0==GetComputerNameA(__name, &len))
    return -1;
  return 0;
}




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_io_File.cpp: In function 'jboolean doChmod(JNIEnv*, jstring, mode_t, bool)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_io_File.cpp:178:40: error: 'chmod' was not declared in this scope
 include io.h.




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_io_File.cpp: In function 'jboolean File_mkdirImpl(JNIEnv*, jclass, jstring)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_io_File.cpp:384:40: error: too many arguments to function 'int mkdir(const char*)'
http://blog.csdn.net/rabbiteatpumpkin/article/details/6445321
http://www.linuxidc.com/Linux/2011-04/35180.htm
http://pubs.opengroup.org/onlinepubs/009695399/functions/mkdir.html
//    return (mkdir(path.c_str(), S_IRWXU) == 0);
    return (mkdir(path.c_str()) == 0);




c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/include/c++/cstdlib: At global scope:
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/include/c++/cstdlib:169:11: error: '::_Exit' has not been declared
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/include/c++/cstdlib:198:11: error: '::strtold' has not been declared
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/include/c++/cstdlib:208:22: error: '__gnu_cxx::_Exit' has not been declared
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/include/c++/cstdlib:219:22: error: '__gnu_cxx::strtold' has not been declared
comment


d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_lang_ProcessManager.cpp: In function 'int executeProcess(JNIEnv*, char**, char**, const char*, jobject, jobject, jobject, jboolean)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_lang_ProcessManager.cpp:251:49: error: 'write' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_util_zip_Inflater.cpp: In function 'jint Inflater_setFileInputImpl(JNIEnv*, jobject, jobject, jlong, jint, jlong)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_util_zip_Inflater.cpp:85:25: error: 'read' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/NativeCrypto.cpp:1444:57: error: 'read' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSFileSystem.cpp: In function 'jlong OSFileSystem_readDirect(JNIEnv*, jobject, jint, jint, jint, jint)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSFileSystem.cpp:276:16: error: 'read' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp: In function 'jint OSNetworkSystem_writeDirect(JNIEnv*, jobject, jobject, jint, jint, jint)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:461:21: error: 'write' was not declared in this scope
#include <io.h>




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_lang_Float.cpp:37:22: error: 'isnanf' was not declared in this scope
c:\mingw-4.6.1\include\math.h
//    return isnanf(f.f) ? NaN : f.bits;
    return __isnanf(f.f) ? NaN : f.bits;



d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/ICU.cpp: At global scope:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/ICU.cpp:328:18: error: 'LONG' redeclared as different kind of symbol
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/winnt.h:79:14: error: previous declaration of 'typedef long int LONG'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/ICU.cpp:328:24: error: 'SHORT' redeclared as different kind of symbol
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/winnt.h:78:15: error: previous declaration of 'typedef short int SHORT'
comment winnt.h, then many more errors.
so:
enum NameWidth { aLONG, aSHORT };
 


d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/NativeConverter.cpp:163:43: error: invalid operands of types 'UChar* {aka wchar_t*}' and 'jchar* {aka short unsigned int*}' to binary 'operator-'
//    UChar* cTarget = uTarget.get() + *targetOffset;
    jchar* cTarget = uTarget.get() + *targetOffset;




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/NativeCrypto.cpp: In function 'void throwSSLExceptionWithSslErrors(JNIEnv*, SSL*, int, const char*)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/NativeCrypto.cpp:275:67: error: 'asprintf' was not declared in this scope
http://stackoverflow.com/questions/10315571/cant-compile-ries-with-mingw-on-win7
https://code.ohloh.net/file?fid=YCp4Z1cDwBeycIB9v6Ps45e2Scw&cid=PR7G6pr9sgs&s=asprintf%20mingw&browser=Default#L0
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\asprintf\win32_ext.c
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\mingw_libdvm.h
#include "mingw_libdvm.h"




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSFileSystem.cpp: In function 'ssize_t sendfile(int, int, off_t*, size_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSFileSystem.cpp:68:64: warning: invalid conversion from 'off_t {aka long int}' to 'off_t* {aka long int*}' [-fpermissive]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSFileSystem.cpp:68:64: warning: invalid conversion from 'off_t* {aka long int*}' to 'size_t {aka long unsigned int}' [-fpermissive]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSFileSystem.cpp:68:64: error: too many arguments to function 'ssize_t sendfile(int, int, off_t*, size_t)'
http://stackoverflow.com/questions/10543230/fastest-way-to-copy-data-from-one-file-to-another-in-c-c/10543261#10543261
http://stackoverflow.com/questions/4483311/linux-sendfile-source
http://stackoverflow.com/questions/7619770/copy-part-of-file-in-c?rq=1
http://stackoverflow.com/questions/8626263/understanding-sendfile-and-splice
not supported, comment.



d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:320:71: error: cannot convert 'int*' to 'char*' for argument '4' to 'int getsockopt(SOCKET, int, int, char*, int*)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp: In function 'void OSNetworkSystem_accept(JNIEnv*, jobject, jobject, jobject, jobject)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:639:85: error: cannot convert 'timeval*' to 'const char*' for argument '4' to 'int setsockopt(SOCKET, int, int, const char*, int)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp: In function 'bool getSocketOption(JNIEnv*, const NetFd&, int, int, T*) [with T = int, JNIEnv = _JNIEnv]':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1036:58:   instantiated from here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1024:62: error: cannot convert 'int*' to 'char*' for argument '4' to 'int getsockopt(SOCKET, int, int, char*, int*)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp: In function 'bool getSocketOption(JNIEnv*, const NetFd&, int, int, T*) [with T = linger, JNIEnv = _JNIEnv]':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1080:77:   instantiated from here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1024:62: error: cannot convert 'linger*' to 'char*' for argument '4' to 'int getsockopt(SOCKET, int, int, char*, int*)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp: In function 'bool getSocketOption(JNIEnv*, const NetFd&, int, int, T*) [with T = timeval, JNIEnv = _JNIEnv]':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1092:81:   instantiated from here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1024:62: error: cannot convert 'timeval*' to 'char*' for argument '4' to 'int getsockopt(SOCKET, int, int, char*, int*)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp: In function 'void setSocketOption(JNIEnv*, const NetFd&, int, int, T*) [with T = int, JNIEnv = _JNIEnv]':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1194:61:   instantiated from here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1153:71: error: cannot convert 'int*' to 'const char*' for argument '4' to 'int setsockopt(SOCKET, int, int, const char*, int)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp: In function 'void setSocketOption(JNIEnv*, const NetFd&, int, int, T*) [with T = linger, JNIEnv = _JNIEnv]':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1210:63:   instantiated from here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1153:71: error: cannot convert 'linger*' to 'const char*' for argument '4' to 'int setsockopt(SOCKET, int, int, const char*, int)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp: In function 'void setSocketOption(JNIEnv*, const NetFd&, int, int, T*) [with T = timeval, JNIEnv = _JNIEnv]':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1228:71:   instantiated from here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp:1153:71: error: cannot convert 'timeval*' to 'const char*' for argument '4' to 'int setsockopt(SOCKET, int, int, const char*, int)'type cast:
            if (getsockopt(fd, SOL_SOCKET, SO_ERROR, (char *)&error, &errorLen) == -1) {



d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_xml_ExpatParser.cpp:32:19: fatal error: expat.h: No such file or directory
copy expat from froyo/external




./Debug/mingw_libdvm.o: In function `asprintf':
d:/linux/linuxkernel/WORKING_DIRECTORY/ango/libdvm/mingw_libdvm.c:32: undefined reference to `_'
d:/linux/linuxkernel/WORKING_DIRECTORY/ango/libdvm/mingw_libdvm.c:32: undefined reference to `die'
try to use android log instead
#include <android/log.h>
#define LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, "ango", __VA_ARGS__) 
        LOGV("Out of memory @ %s:%d:%s [%d]", __FILE__, __LINE__, __func__, size);
//        die(_("Out of memory @ %s:%d:%s [%d]"), __FILE__, __LINE__, __func__, size);


./Debug/native_java_lang_System.o:java_lang_System.c:(.rdata+0x340): multiple definition of `dvm_java_lang_System'
./Debug/native_java_lang_System.o:java_lang_System.c:(.rdata+0x340): first defined here
./Debug/native_Register.o: In function `registerCoreLibrariesJni':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/Register.cpp:93: undefined reference to `register_java_lang_System(_JNIEnv*)'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\libcore\luni\src\main\native\java_lang_StrictMath.cpp
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\native\java_lang_System.c
name conflict
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\native\java_lang_System.c
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\libcore\luni\src\main\native\java_lang_System.cpp
change java_lang_System.cpp to java_lang_System1.cpp
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\vm\native\org_apache_harmony_dalvik_NativeTestTarget.c
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\libcore\dalvik\src\main\native\org_apache_harmony_dalvik_NativeTestTarget.cpp
change org_apache_harmony_dalvik_NativeTestTarget.cpp to org_apache_harmony_dalvik_NativeTestTarget1.cpp




undefined reference to Locale::createFromName
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\locid.h
#define U_COMMON_API __declspec(dllimport) 


d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\umachine.h
/** This is used to declare a function as a public ICU C API @stable ICU 2.0*/
#define U_CAPI U_CFUNC U_EXPORT
/** This is used to declare a function as a stable public ICU C API*/
#define U_STABLE U_CAPI
/**
 * \def U_CDECL_END
 * This is used to end a declaration of a library private ICU C API
 * @stable ICU 2.4
 */


#ifdef XP_CPLUSPLUS
#   define U_CFUNC extern "C"
#   define U_CDECL_BEGIN extern "C" {
#   define U_CDECL_END   }
#else
#   define U_CFUNC extern
#   define U_CDECL_BEGIN
#   define U_CDECL_END
#endif
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\platform.h
// #if 1
// #define U_EXPORT __attribute__((visibility("default")))
// #elif (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x550) \
   // || (defined(__SUNPRO_C) && __SUNPRO_C >= 0x550) 
// #define U_EXPORT __global
// /*#elif defined(__HP_aCC) || defined(__HP_cc)
// #define U_EXPORT __declspec(dllexport)*/
// #else
#define U_EXPORT
// #endif


/* U_CALLCONV is releated to U_EXPORT2 */
#define U_EXPORT2


/* cygwin needs to export/import data */
#ifdef U_CYGWIN
#define U_IMPORT __declspec(dllimport)
#else
#define U_IMPORT 
#endif


d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\utypes.h
add:
#define U_I18N_IMPLEMENTATION


/*
 * \def U_COMBINED_IMPLEMENTATION
 * Set to export library symbols from inside the ICU library
 * when all of ICU is in a single library.
 * This can be set as a compiler option while building ICU, and it
 * needs to be the first one tested to override U_COMMON_API, U_I18N_API, etc.
 * @stable ICU 2.0
 */


/**
 * \def U_DATA_API
 * Set to export library symbols from inside the stubdata library,
 * and to import them from outside.
 * @stable ICU 3.0
 */


/**
 * \def U_COMMON_API
 * Set to export library symbols from inside the common library,
 * and to import them from outside.
 * @stable ICU 2.0
 */


/**
 * \def U_I18N_API
 * Set to export library symbols from inside the i18n library,
 * and to import them from outside.
 * @stable ICU 2.0
 */


/**
 * \def U_LAYOUT_API
 * Set to export library symbols from inside the layout engine library,
 * and to import them from outside.
 * @stable ICU 2.0
 */


/**
 * \def U_LAYOUTEX_API
 * Set to export library symbols from inside the layout extensions library,
 * and to import them from outside.
 * @stable ICU 2.6
 */


/**
 * \def U_IO_API
 * Set to export library symbols from inside the ustdio library,
 * and to import them from outside.
 * @stable ICU 2.0
 */


/**
 * \def U_TOOLUTIL_API
 * Set to export library symbols from inside the toolutil library,
 * and to import them from outside.
 * @stable ICU 3.4
 */


#if defined(U_COMBINED_IMPLEMENTATION)
#define U_DATA_API     U_EXPORT
#define U_COMMON_API   U_EXPORT
#define U_I18N_API     U_EXPORT
#define U_LAYOUT_API   U_EXPORT
#define U_LAYOUTEX_API U_EXPORT
#define U_IO_API       U_EXPORT
#define U_TOOLUTIL_API U_EXPORT
#elif defined(U_STATIC_IMPLEMENTATION)
#define U_DATA_API
#define U_COMMON_API
#define U_I18N_API
#define U_LAYOUT_API
#define U_LAYOUTEX_API
#define U_IO_API
#define U_TOOLUTIL_API
#elif defined(U_COMMON_IMPLEMENTATION)
#define U_DATA_API     U_IMPORT
#define U_COMMON_API   U_EXPORT
#define U_I18N_API     U_IMPORT
#define U_LAYOUT_API   U_IMPORT
#define U_LAYOUTEX_API U_IMPORT
#define U_IO_API       U_IMPORT
#define U_TOOLUTIL_API U_IMPORT
#elif defined(U_I18N_IMPLEMENTATION)
#define U_DATA_API     U_IMPORT
#define U_COMMON_API   U_IMPORT
#define U_I18N_API     U_EXPORT
#define U_LAYOUT_API   U_IMPORT
#define U_LAYOUTEX_API U_IMPORT
#define U_IO_API       U_IMPORT
#define U_TOOLUTIL_API U_IMPORT
#elif defined(U_LAYOUT_IMPLEMENTATION)
#define U_DATA_API     U_IMPORT
#define U_COMMON_API   U_IMPORT
#define U_I18N_API     U_IMPORT
#define U_LAYOUT_API   U_EXPORT
#define U_LAYOUTEX_API U_IMPORT
#define U_IO_API       U_IMPORT
#define U_TOOLUTIL_API U_IMPORT
#elif defined(U_LAYOUTEX_IMPLEMENTATION)
#define U_DATA_API     U_IMPORT
#define U_COMMON_API   U_IMPORT
#define U_I18N_API     U_IMPORT
#define U_LAYOUT_API   U_IMPORT
#define U_LAYOUTEX_API U_EXPORT
#define U_IO_API       U_IMPORT
#define U_TOOLUTIL_API U_IMPORT
#elif defined(U_IO_IMPLEMENTATION)
#define U_DATA_API     U_IMPORT
#define U_COMMON_API   U_IMPORT
#define U_I18N_API     U_IMPORT
#define U_LAYOUT_API   U_IMPORT
#define U_LAYOUTEX_API U_IMPORT
#define U_IO_API       U_EXPORT
#define U_TOOLUTIL_API U_IMPORT
#elif defined(U_TOOLUTIL_IMPLEMENTATION)
#define U_DATA_API     U_IMPORT
//#define U_COMMON_API   U_IMPORT
#define U_COMMON_API   
#define U_I18N_API     U_IMPORT
#define U_LAYOUT_API   U_IMPORT
#define U_LAYOUTEX_API U_IMPORT
#define U_IO_API       U_IMPORT
#define U_TOOLUTIL_API U_EXPORT
#else
#define U_DATA_API     U_IMPORT
//#define U_COMMON_API   U_IMPORT
#define U_COMMON_API   
#define U_I18N_API     U_IMPORT
#define U_LAYOUT_API   U_IMPORT
#define U_LAYOUTEX_API U_IMPORT
#define U_IO_API       U_IMPORT
#define U_TOOLUTIL_API U_IMPORT
#endif



d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/unicode/ustring.h:86:24: error: declaration of C function 'int32_t u_strlen_44(const UChar*)' conflicts with
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/unicode/unistr.h:53:1: error: previous declaration 'int32_t u_strlen_44(const UChar*)' here
comment ustring.h



d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/ICU.cpp:79: undefined reference to `_imp___ZN6icu_4412NumberFormat22createCurrencyInstanceER10UErrorCode'
#define U_I18N_API
#define U_EXPORT2




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/ICU.cpp:171: undefined reference to `icu_44::UnicodeString::UnicodeString()'




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/unicode/unistr.h:3963:34: error: 'u_strlen_44' was not declared in this scope
#include "unicode/ustring.h"




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/ICU.cpp:172: undefined reference to `icu_44::Locale::getDisplayCountry(icu_44::Locale const&, icu_44::UnicodeString&) const'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/ICU.cpp:538: undefined reference to `icu_44::UnicodeString::toLower(icu_44::Locale const&)'




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/termios.h:51: undefined reference to `ioctl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/termios.h:56: undefined reference to `ioctl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_net_NetworkInterface.cpp:163: undefined reference to `ioctl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/ifaddrs-android.h:91: undefined reference to `ioctl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSFileSystem.cpp:463: undefined reference to `ioctl'
not supported, comment




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_io_File.cpp:134: undefined reference to `readlink'
http://lists.gnu.org/archive/html/bug-cpio/2011-03/msg00000.html
https://code.ohloh.net/file?fid=XU2Cnp0Sx2tShDzOeiRX0aFCoAI&cid=MDiXD96OTAA&s=readlink%20windows&browser=Default#L7
not supported, comment




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_io_File.cpp:204: undefined reference to `statfs'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_io_FileDescriptor.cpp:28: undefined reference to `fsync'
http://gd.tuwien.ac.at/gnu/mingw/os-hacks.h
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\mingw_libdvm.c
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\mingw_libdvm.h




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_io_File.cpp:249: undefined reference to `readdir_r'
https://code.ohloh.net/file?fid=KHutFHXNTlMeaewhnYVphbs0uUM&cid=vwrzPrtEd0U&s=%22readdir_r%22%20windows&browser=Default#L3
http://stackoverflow.com/questions/2484596/reading-a-directory
http://www.boost.org/doc/libs/1_42_0/libs/filesystem/doc/index.htm#tutorial
http://beans.seartipy.com/2006/05/10/boost-filesystem-library-writing-portable-c-programs-to-acess-the-filesystem/
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\dirent.cpp
https://code.ohloh.net/file?fid=bp9XIGp2mrF0uvBQJ1pAd5OODvw&cid=eHx0v41O2js&s=%22readdir_r%22%20windows&browser=Default#L1
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\dirent.c
change C:\MinGW-4.6.1\include\dirent.h to C:\MinGW-4.6.1\include\dirent1.h
not supported, comment




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_lang_ProcessManager.cpp:144: undefined reference to `getrlimit'
http://code.google.com/p/git-core/source/browse/compat/mingw.h?name=v1.7.6.5


 
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_lang_ProcessManager.cpp:258: undefined reference to `environ'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\bionic\libc_init_common.c
 
 
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_net_InetAddress.cpp:88: undefined reference to `getaddrinfo'
C:\MinGW-4.6.1\include\ws2tcpip.h
//#if (_WIN32_WINNT >= 0x0501)
void WSAAPI freeaddrinfo (struct addrinfo*);
int WSAAPI getaddrinfo (const char*,const char*,const struct addrinfo*,
       struct addrinfo**);
int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,
      char*,DWORD,int);
//#else
/* FIXME: Need WS protocol-independent API helpers.  */
//#endif
java_net_InetAddress.cpp:
//#include <netdb.h>
#include <ws2tcpip.h>


 
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_net_InetAddress.cpp:94: undefined reference to `getaddrinfo(char const*, char const*, addrinfo const*, addrinfo**)@16'
should be :
int WSAAPI getaddrinfo (const char*,const char*,const struct addrinfo*,
       struct addrinfo**);
notice the "struct" is missing.
I make this new file from java_net_InetAddress.cpp:
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\libcore\luni\src\main\native\java_net_InetAddress1.cpp
leave only getaddrinfo only to test, and the following header files cause this issue:
//#include <netinet/in.h>
//#include <arpa/inet.h>






c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/ws2tcpip.h:286:8: error: redefinition of 'struct addrinfo'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/netdb.h:113:8: error: previous definition of 'struct addrinfo'
comment ws2tcpip.h;




g++ -shared -fPIC -o ./Debug/libdvm.so @"d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\libdvm.txt" -L. -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libbionic/Debug/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libskia/Debug/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/include/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/openssl-1.0.1c/openssl-1.0.1c/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libutils/Debug/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libcutils/Debug/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c-4_4_1-Win32-msvc9/icu/bin/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/oo/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c-4_4_1-Win32-msvc9/icu/bin/  -lws2_32 -lbionic -lcutils -lutils -licuuc44 -licuin44  -v -mwindows "c:\MinGW-4.6.1\lib\libws2_32.a"  -lwsock32  -lws2_32 InterpAsm-x86.o -lpthread -lpthread.dll -lpthreadGC2.dll -lpthreadGC2-static -lpthreadGCE2 -lpthreadGCE2.dll


g++ -shared -fPIC -o ./Debug/libtest.a @"d:\linux\linuxkernel\WORKING_DIRECTORY\ango\test\test.txt" -L. -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libbionic/Debug/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libskia/Debug/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/include/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/openssl-1.0.1c/openssl-1.0.1c/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libutils/Debug/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libtest1/Debug/  -lbionic -lskia -lopengl32 -lglew32 -lcrypto -ltest1 -lws2_32  -mwindows  -mthreads -LC:\wxWidgets-2.9.4\lib\gcc_dll -lwxmsw29ud_xrc -lwxmsw29ud_aui -lwxmsw29ud_html -lwxmsw29ud_adv -lwxmsw29ud_core -lwxbase29ud_xml -lwxbase29ud_net -lwxmsw29ud_richtext -lwxbase29ud -lwxtiffd -lwxjpegd -lwxpngd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexud -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32  -lws2_32 -lpthread -lpthread.dll -lpthreadGC2.dll -lpthreadGC2-static -lpthreadGCE2 -lpthreadGCE2.dll
gcc -o ./Debug/sample @"d:\linux\linuxkernel\curl\curl-7.28.1-devel-mingw32\curl\sample\sample.txt" -L. -Ld:/linux/linuxkernel/curl/curl-7.28.1-devel-mingw32/lib/   -lcurl -L../lib/win32 -lssh2 -L../lib -lz -L../lib/lib -lidn -lrtmp -lcrypto -lssl -lwldap32 -lws2_32 -lwinmm
g++ -o ./Debug/libtest.a @"d:\linux\linuxkernel\WORKING_DIRECTORY\ango\test\test.txt" -L. -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libbionic/Debug/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libskia/Debug/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/include/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/openssl-1.0.1c/openssl-1.0.1c/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libutils/Debug/ -Ld:/linux/linuxkernel/WORKING_DIRECTORY/ango/libtest1/Debug/  -LC:\wxWidgets-2.9.4\lib\gcc_dll -ltest1 -lws2_32
 -lws2_32




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_net_InetAddress.cpp:94: undefined reference to `getaddrinfo(char const*, char const*, addrinfo const*, addrinfo**)@16'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_net_InetAddress1.cpp:73: undefined reference to `getaddrinfo@16'
C:\MinGW-4.6.1\include\ws2tcpip.h
#ifdef  __cplusplus
extern "C" {
#endif


int WSAAPI getaddrinfo (const char*,const char*,const struct addrinfo*,
       struct addrinfo**);
#ifdef  __cplusplus
}
#endif




d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\libcore\luni\src\main\native\
undefined reference to inet_aton(const char *cp, struct in_addr *inp)
extern "C" int inet_aton(const char *cp, struct in_addr *inp);
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\angowx\android\AndroidRuntime\mingw-compat.h
//extern "C" int inet_aton(const char *cp, struct in_addr *inp);




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_net_NetworkInterface.cpp:127: undefined reference to `if_nametoindex'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/ifaddrs-android.h:75: undefined reference to `if_indextoname'
not supported, comment
http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/nametoindex.c?spec=svn1401&r=1401
http://pubs.opengroup.org/onlinepubs/009696799/basedefs/sys/socket.h.html


        const sa_family_t       iffamily,
The <sys/socket.h> header shall define the following macros, with distinct integer values:


AF_INET
Internet domain sockets for use with IPv4 addresses.
AF_INET6
[IP6]  Internet domain sockets for use with IPv6 addresses. 
AF_UNIX
UNIX domain sockets.
AF_UNSPEC
Unspecified.
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\if_nametoindex\nametoindex.c
http://msdn.microsoft.com/zh-cn/library/windows/desktop/bb408409(v=vs.85).aspx
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\if_nametoindex\indextoname.c




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_util_regex_Pattern.cpp:57: undefined reference to `_imp___ZN6icu_4412RegexPattern7compileERKNS_13UnicodeStringEjR11UParseErrorR10UErrorCode'
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\i18n\unicode\regex.h
ADD:
#define U_I18N_API


the new built icuin44.dll has only _ZN6icu_4412RegexPattern7compileERKNS_13UnicodeStringEjR11UParseErrorR10UErrorCode, but it's working.
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c-4_4_1-Win32-msvc9\icu\bin\icuin44.dll
d:\1\icu4c-4_4_2-src\icu\source\lib\icuin44.dll




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/zlib/contrib/minizip/zip.c:488: undefined reference to `call_zseek64'




d:/linux/linuxkernel/WORKING_DIRECTORY/ango/libbionic/Debug/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/libskia/Debug/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/openssl-1.0.1c/openssl-1.0.1c/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/libutils/Debug/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/libcutils/Debug/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c-4_4_1-Win32-msvc9/icu/bin/




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/openssl/ssl/d1_lib.c:368:16: error: storage size of 'tb' isn't known
#include <sys/timeb.h>
#  define _timeb timeb
c:\mingw-4.6.1\include\sys\timeb.h




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/openssl/ssl/ssl_task.c:119:47: fatal error: iodef.h: No such file or directory
http://fossies.org/unix/privat/freevms-0_3_15.tgz/dox/iodef_8h_source.html
D:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\iodef.h




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/openssl/ssl/ssl_task.c:120:51: fatal error: descrip.h: No such file or directory
#include <descrip.h> /* VMS string descriptors */
http://fossies.org/unix/privat/freevms-0_3_15.tgz/dox/descrip_8h_source.html


-fpermissive;-g
.;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/include/core/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/include/images/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/arch-x86/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/kernel/common/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/kernel/arch-x86/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/angowx/android/AndroidRuntime/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/bionic/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/private/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/freetype/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/zlib/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/native/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/opt/emoji/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/openssl/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111101-froyo/hardware/libhardware/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android/graphics/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/src/ports/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/jpeg/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/sqlite/dist/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/sqlite/android/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/openssl/crypto/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/libnativehelper/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libcutils/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/i18n/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/libnfc-nxp/src/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/libnfc-nxp/inc/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/oo/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/safe-iop/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/expat/lib/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/openssl/



d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/openssl/ssl/d1_pkt.c:484: undefined reference to `ERR_put_error'
d:/linux/linuxkernel/WORKING_DIRECTORY/ango/libbionic/Debug/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/libskia/Debug/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/include/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/openssl-1.0.1c/openssl-1.0.1c/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/libutils/Debug/;d:/linux/linuxkernel/WORKING_DIRECTORY/ango/libcutils/Debug/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c-4_4_1-Win32-msvc9/icu/bin/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/oo/;d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c-4_4_1-Win32-msvc9/icu/bin/
ws2_32;bionic;cutils;utils;icuuc44;icuin44.dll;crypto
-v;-mwindows;"c:\MinGW-4.6.1\lib\libws2_32.a"; -lwsock32  -lws2_32;InterpAsm-x86.o -lpthread;-lpthread.dll;-lpthreadGC2.dll -lpthreadGC2-static -lpthreadGCE2 -lpthreadGCE2.dll;




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/NativeDecimalFormat.cpp:58: undefined reference to `_imp___ZN6icu_4420DecimalFormatSymbolsC1Ev'
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\i18n\unicode\dcfmtsym.h
#define U_I18N_API __declspec(dllimport)
in D:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\Debug\native_NativeDecimalFormat.o:
change _ZN6icu_4420DecimalFormatSymbolsC1Ev to _ZN6icu_4420DecimalFormatSymbolsD1Ev
it works.




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/NativeDecimalFormat.cpp:205: undefined reference to `_imp___ZNK6icu_4421FieldPositionIterator7getDataEPii'
http://service.i-onik.de/a13_source_1.5/source/android4.0/external/icu4c/i18n/fpositer.cpp
// BEGIN android-added
int32_t FieldPositionIterator::getData(int32_t *dest, int32_t capacity) const {
replace with android fpositer.cpp and fpositer.h, rebuild icu4c




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSFileSystem.cpp:230: undefined reference to `readv'
https://code.ohloh.net/file?fid=NzT3MSUxjMdIg0wmHkaRZRm4xnA&cid=wNdii_lbwgg&s=readv%20windows&browser=Default#L27
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\readv\w32io.c
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\mingw_libdvm.c




d:/linux/linuxkernel/WORKING_DIRECTORY/ango/libdvm/mingw_libdvm.c:30:1: error: conflicting types for 'readv'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/include/cutils/uio.h:38:13: note: previous declaration of 'readv' was here
change mingw_libdvm.c to the same




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSMemory.cpp:297: undefined reference to `mlock'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSMemory.cpp:298: undefined reference to `munlock'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSMemory.cpp:315: undefined reference to `mincore'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSMemory.cpp:329: undefined reference to `msync'
http://msdn.microsoft.com/zh-tw/windowsmobile/aa366895(v=VS.85)
https://code.ohloh.net/file?fid=lT_pg8sOzGlMU65-CHGHDHOQ-M0&cid=BQNOKPwlobs&s=mlock%20windows&browser=Default#L14
http://comments.gmane.org/gmane.comp.gnu.mingw.user/6879
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\mlock\mlock.cpp
seems to be of no use, comment.




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/expat/lib/xmlparse.c:81:2: error: #error memmove does not exist on this platform, nor is a substitute available
#define HAVE_MEMMOVE


http://zhidao.baidu.com/question/432894703.html
 * string.h
_CRTIMP void* __cdecl __MINGW_NOTHROW memmove (void*, const void*, size_t);




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/org_apache_harmony_xml_ExpatParser.cpp:569: undefined reference to `strtok_r'
http://stackoverflow.com/questions/12975022/strtok-r-for-mingw
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libdvm\mingw_libdvm.c




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/locid.cpp:166: undefined reference to `ucln_common_registerCleanup_44'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/unistr.cpp:668: undefined reference to `uprv_strCompare_44'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/locdispnames.cpp:771: undefined reference to `_stricmp(char const*, char const*)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/unistr_case.cpp:67: undefined reference to `u_strcmpFold_44'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/i18n/numfmt.cpp:1069: undefined reference to `icu_44::Win32NumberFormat::Win32NumberFormat(icu_44::Locale const&, signed char, UErrorCode&)'

你可能感兴趣的:(libdvm_issue.txt)