libcorejni-issue.txt

来源:互联网 发布:省 市 乡镇数据库设计 编辑:程序博客网 时间:2024/06/01 10:00
./Debug/graphics_NinePatchImpl.o: In function `SkPixel16ToPixel32':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/include/core/SkColorPriv.h:370: undefined reference to `SkToU16(unsigned long)'
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\skia\include\core\SkTypes.h
add to kColorPriv.h:
    #define SkToU16(x)  ((uint16_t)(x))



./Debug/jni_com_google_android_gles_jni_GLImpl.o: In function `android_glActiveTexture(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_google_android_gles_jni_GLImpl.cpp:290: undefined reference to `_imp__glActiveTexture@4'
http://blog.csdn.net/hitxiaya/article/details/5998393
http://stackoverflow.com/questions/4572885/which-opengl-version-by-default-installed-along-with-mingw
http://glest.org/glest_board/index.php?topic=3034.0
https://lists.launchpad.net/kicad-developers/msg08337.html
http://www.gamedev.net/topic/358499-opengl-13-on-dev-c/
http://www.gamedev.net/page/resources/_/technical/opengl/moving-beyond-opengl-11-for-windows-r1929
comment glActiveTexture in c:\mingw-4.6.1\include\gl\gl.h and D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\include\GLES\gl.h
//GLAPI void APIENTRY glActiveTexture( GLenum texture );






                 from d:/linux/linuxkernel/WORKING_DIRECTORY/ango/glew-1.9.0/src/glew.c:32:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/arch-x86/include/machine/_types.h:60:24: error: conflicting types for 'ptrdiff_t'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/GL/glew.h:160:18: note: previous declaration of 'ptrdiff_t' was here
#define _PTRDIFF_T




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_google_android_gles_jni_GLImpl.cpp:49:1: error: 'GL_API' does not name a type
c:\mingw-4.6.1\include\GL\glew.h
#include <GLES/glplatform.h>


#define GL_API      KHRONOS_APICALL 




In file included from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_google_android_gles_jni_GLImpl.cpp:25:0:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/include/GLES/gla.h:34:26: error: conflicting declaration 'typedef khronos_intptr_t GLintptr'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/GL/glew.h:1657:19: error: 'GLintptr' has a previous declaration as 'typedef ptrdiff_t GLintptr'
comment gla.h




./Debug/jni_com_google_android_gles_jni_GLImpl.o: In function `android_glAlphaFuncx(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_google_android_gles_jni_GLImpl.cpp:313: undefined reference to `_imp__glAlphaFuncx@8'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\include\GLES\gla.h
GL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLclampx ref);
#define GL_API      KHRONOS_APICALL 
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\include\KHR\khrplatform.h
#   define KHRONOS_APICALL 
then u have to change gla.h, so gcc would analysis gla.h again. Or the change would have no effect.




./Debug/GLES_CM_gl.o: In function `glClearColor':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/gl_api.in:4: multiple definition of `glClearColor'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:571: first defined here
comment gl_api.in in D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\libs\GLES_CM\gl.cpp




./Debug/libagl_matrix.o: In function `glQueryMatrixxOES':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:1121: multiple definition of `glQueryMatrixxOES'
./Debug/GLES_CM_gl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/glext_api.in:223: first defined here
comment glext_api.in in D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\libs\GLES_CM\gl.cpp




./Debug/libagl_texture.o: In function `glEGLImageTargetTexture2DOES':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:1606: multiple definition of `glEGLImageTargetTexture2DOES'
./Debug/GLES_CM_gl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/gl.cpp:179: first defined here
./Debug/libagl_texture.o: In function `glEGLImageTargetRenderbufferStorageOES':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:1634: multiple definition of `glEGLImageTargetRenderbufferStorageOES'
./Debug/GLES_CM_gl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/gl.cpp:186: first defined here
comment gl.cpp




./Debug/jni_com_google_android_gles_jni_GLImpl.o: In function `android_glGetClipPlanef__I_3FI':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_google_android_gles_jni_GLImpl.cpp:4118: undefined reference to `glGetClipPlanef'
add gl_api1.in to D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\libs\GLES_CM\gl.cpp




./Debug/jni_com_android_internal_os_ZygoteInit.o: In function `com_android_internal_os_ZygoteInit_setreuid':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_android_internal_os_ZygoteInit.cpp:51: undefined reference to `setreuid'
./Debug/jni_com_android_internal_os_ZygoteInit.o: In function `com_android_internal_os_ZygoteInit_setregid':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_android_internal_os_ZygoteInit.cpp:68: undefined reference to `setregid'
./Debug/jni_com_android_internal_os_ZygoteInit.o: In function `com_android_internal_os_ZygoteInit_setpgid':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_android_internal_os_ZygoteInit.cpp:86: undefined reference to `setpgid'
./Debug/jni_com_android_internal_os_ZygoteInit.o: In function `com_android_internal_os_ZygoteInit_getpgid':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_android_internal_os_ZygoteInit.cpp:99: undefined reference to `getpgid'
./Debug/jni_com_android_internal_os_ZygoteInit.o: In function `com_android_internal_os_ZygoteInit_setCloseOnExec':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_android_internal_os_ZygoteInit.cpp:180: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_android_internal_os_ZygoteInit.cpp:193: undefined reference to `fcntl'
./Debug/graphics_ColorFilter.o: In function `ZN7android17SkColorFilterGlue22CreatePorterDuffFilterEP7_JNIEnvP8_jobjectiN12SkPorterDuff4ModeE':
./Debug/jni_android_app_NativeActivity.o: In function `AInputQueue':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp:121: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp:124: undefined reference to `fcntl'
./Debug/jni_android_app_NativeActivity.o: In function `loadNativeCode_native':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp:675: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp:678: undefined reference to `fcntl'
./Debug/utils_Looper.o: In function `Looper':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:50: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:54: undefined reference to `fcntl'
./Debug/binder_ProcessState.o: In function `open_driver':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/binder/ProcessState.cpp:332: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/InputTransport.cpp:53: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/InputTransport.cpp:57: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/gui/SensorChannel.cpp:40: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/gui/SensorChannel.cpp:41: undefined reference to `fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/gui/SensorChannel.cpp:49: undefined reference to `fcntl'
not supported now. comment first. might deal with them if needed.




./win32.h:60:5: error: conflicting types for 'fcntl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/unistd.h:141:12: note: previous declaration of 'fcntl' was here
comment unistd.h




./Debug/jni_android_app_NativeActivity.o: In function `ZN11AInputQueue9hasEventsEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp:160: undefined reference to `poll'
http://stackoverflow.com/questions/1671827/poll-c-function-on-windows
https://launchpad.net/libmemcached/+download
http://lists-archives.com/mingw-users/05987-sys-poll-h.html
http://weimingtom.iteye.com/blog/731933
problem 13:缺少sys/poll.h
win32没有现成的机制实现poll(轮询),也就是说:poll()不可移植
http://lists.zerezo.com/mingw-users/msg05987.html
不过事实上有人给出poll()的非正式实现:
 (未经试验,不过好像可以试试看)
* libmemcached
/poll/poll.c
https://launchpad.net/libmemcached/+download
-------------------------
(2010-09-10:补充drizzle,发现它的源代码包中带有poll.c,不知道是否可用)
* drizzle
https://launchpad.net/drizzle
-------------------------
如果你使用cygwin,这个问题可以忽略(因为默认是有poll.h和poll()的实现)
(补充:
poll其实可以在msys的SDK中使用
msysDVLPR-1.0.0-alpha-1.tar.gz
但最终生成的exe导入了MSYS-1.0.DLL,而MSYS-1.0.DLL不可以单独使用(依赖于msys)
如果只用于msys控制台,可以尝试用这个SDK(gcc version 2.95.3-1)
安装教程:
http://www.mingw.org/wiki/HOWTO_Create_an_MSYS_Build_Environment
注意,它需要与msys目录合并,不是放在/mingw目录下

继续补充:
poll其实有win32的port,参考
WSAPoll
http://msdn.microsoft.com/en-us/library/ms741669(VS.85).aspx
不过这个API仅用于Vista以上
not supported now. comment first. might deal with them if needed.






d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/gl.cpp: At global scope:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/gl.cpp:80:25: error: function 'void glMatrixIndexPointerOESBounds(GLint, GLenum, GLsizei, const GLvoid*, GLsizei)' definition is marked dllimport
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/gl.cpp: In function 'void glMatrixIndexPointerOESBounds(GLint, GLenum, GLsizei, const GLvoid*, GLsizei)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/gl.cpp:80:25: warning: 'void glMatrixIndexPointerOESBounds(GLint, GLenum, GLsizei, const GLvoid*, GLsizei)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/gl.cpp: At global scope:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/gl.cpp:85:25: error: function 'void glWeightPointerOESBounds(GLint, GLenum, GLsizei, const GLvoid*, GLsizei)' definition is marked dllimport
comment d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\core\jni\android_opengl_GLES11Ext.cpp




c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00111.o):(.text+0x0): multiple definition of `glGetIntegerv@8'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:353: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00124.o):(.text+0x0): multiple definition of `glGetString@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:340: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00007.o):(.text+0x0): multiple definition of `glAlphaFunc@8'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:246: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00011.o):(.text+0x0): multiple definition of `glBindTexture@8'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:867: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00013.o):(.text+0x0): multiple definition of `glBlendFunc@8'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:555: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00016.o):(.text+0x0): multiple definition of `glClear@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:560: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00018.o):(.text+0x0): multiple definition of `glClearColor@16'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:571: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00021.o):(.text+0x0): multiple definition of `glClearStencil@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:591: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00043.o):(.text+0x0): multiple definition of `glColor4f@16'
./Debug/libagl_vertex.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/vertex.cpp:188: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00055.o):(.text+0x0): multiple definition of `glColorMask@16'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:525: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00060.o):(.text+0x0): multiple definition of `glCopyTexImage2D@32'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:1318: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00062.o):(.text+0x0): multiple definition of `glCopyTexSubImage2D@32'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:1424: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00063.o):(.text+0x0): multiple definition of `glCullFace@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:251: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00066.o):(.text+0x0): multiple definition of `glDeleteTextures@8'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:904: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00067.o):(.text+0x0): multiple definition of `glDepthFunc@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:540: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00068.o):(.text+0x0): multiple definition of `glDepthMask@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:530: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00070.o):(.text+0x0): multiple definition of `glDisable@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:302: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00071.o):(.text+0x0): multiple definition of `glDisableClientState@4'
./Debug/libagl_array.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/array.cpp:1326: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00072.o):(.text+0x0): multiple definition of `glDrawArrays@12'
./Debug/libagl_array.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/array.cpp:1342: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00074.o):(.text+0x0): multiple definition of `glDrawElements@16'
./Debug/libagl_array.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/array.cpp:1387: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00079.o):(.text+0x0): multiple definition of `glEnable@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:298: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00080.o):(.text+0x0): multiple definition of `glEnableClientState@4'
./Debug/libagl_array.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/array.cpp:1321: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00096.o):(.text+0x0): multiple definition of `glFinish@0'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:308: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00097.o):(.text+0x0): multiple definition of `glFlush@0'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:312: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00098.o):(.text+0x0): multiple definition of `glFogf@8'
./Debug/libagl_light.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/light.cpp:837: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00099.o):(.text+0x0): multiple definition of `glFogfv@8'
./Debug/libagl_light.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/light.cpp:851: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00102.o):(.text+0x0): multiple definition of `glFrontFace@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:265: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00105.o):(.text+0x0): multiple definition of `glGenTextures@8'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:893: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00109.o):(.text+0x0): multiple definition of `glGetError@0'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:316: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00135.o):(.text+0x0): multiple definition of `glHint@8'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:279: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00153.o):(.text+0x0): multiple definition of `glLightModelf@8'
./Debug/libagl_light.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/light.cpp:637: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00154.o):(.text+0x0): multiple definition of `glLightModelfv@8'
./Debug/libagl_light.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/light.cpp:649: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00157.o):(.text+0x0): multiple definition of `glLightf@12'
./Debug/libagl_light.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/light.cpp:694: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00158.o):(.text+0x0): multiple definition of `glLightfv@12'
./Debug/libagl_light.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/light.cpp:706: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00162.o):(.text+0x0): multiple definition of `glLineWidth@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:504: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00164.o):(.text+0x0): multiple definition of `glLoadIdentity@0'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:932: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00166.o):(.text+0x0): multiple definition of `glLoadMatrixf@4'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:940: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00168.o):(.text+0x0): multiple definition of `glLogicOp@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:545: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00177.o):(.text+0x0): multiple definition of `glMaterialf@12'
./Debug/libagl_light.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/light.cpp:740: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00178.o):(.text+0x0): multiple definition of `glMaterialfv@12'
./Debug/libagl_light.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/light.cpp:753: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00181.o):(.text+0x0): multiple definition of `glMatrixMode@4'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:910: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00183.o):(.text+0x0): multiple definition of `glMultMatrixf@4'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:955: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00189.o):(.text+0x0): multiple definition of `glNormal3f@12'
./Debug/libagl_vertex.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/vertex.cpp:214: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00202.o):(.text+0x0): multiple definition of `glPixelStorei@8'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:958: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00206.o):(.text+0x0): multiple definition of `glPointSize@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:482: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00208.o):(.text+0x0): multiple definition of `glPolygonOffset@8'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:1114: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00212.o):(.text+0x0): multiple definition of `glPopMatrix@0'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:973: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00217.o):(.text+0x0): multiple definition of `glPushMatrix@0'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:984: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00244.o):(.text+0x0): multiple definition of `glReadPixels@28'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:1486: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00255.o):(.text+0x0): multiple definition of `glRotatef@16'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:1037: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00257.o):(.text+0x0): multiple definition of `glScalef@12'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:1053: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00258.o):(.text+0x0): multiple definition of `glScissor@16'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:1083: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00260.o):(.text+0x0): multiple definition of `glShadeModel@4'
./Debug/libagl_light.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/light.cpp:627: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00261.o):(.text+0x0): multiple definition of `glStencilFunc@12'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:222: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00262.o):(.text+0x0): multiple definition of `glStencilMask@4'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:535: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00263.o):(.text+0x0): multiple definition of `glStencilOp@12'
./Debug/libagl_state.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/state.cpp:233: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00297.o):(.text+0x0): multiple definition of `glTexEnvf@12'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:975: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00298.o):(.text+0x0): multiple definition of `glTexEnvfv@12'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:982: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00308.o):(.text+0x0): multiple definition of `glTexImage2D@36'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:1171: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00309.o):(.text+0x0): multiple definition of `glTexParameterf@12'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:1033: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00314.o):(.text+0x0): multiple definition of `glTexSubImage2D@36'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:1240: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00316.o):(.text+0x0): multiple definition of `glTranslatef@12'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:1068: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00342.o):(.text+0x0): multiple definition of `glViewport@16'
./Debug/libagl_matrix.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp:1089: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00057.o):(.text+0x0): multiple definition of `glColorPointer@16'
./Debug/libagl_array.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/array.cpp:1258: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00195.o):(.text+0x0): multiple definition of `glNormalPointer@12'
./Debug/libagl_array.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/array.cpp:1278: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00296.o):(.text+0x0): multiple definition of `glTexCoordPointer@16'
./Debug/libagl_array.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/array.cpp:1299: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00311.o):(.text+0x0): multiple definition of `glTexParameteri@12'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:1047: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00312.o):(.text+0x0): multiple definition of `glTexParameteriv@12'
./Debug/libagl_texture.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp:1013: first defined here
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../libopengl32.a(dyihs00341.o):(.text+0x0): multiple definition of `glVertexPointer@16'
./Debug/libagl_array.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/array.cpp:1237: first defined here
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\libagl\state.cpp
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/array.cpp
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/texture.cpp
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/matrix.cpp
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\libagl\vertex.cpp
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\libagl\light.cpp
comment *.cpp




./Debug/jni_com_google_android_gles_jni_EGLImpl.o: In function `jni_eglInitialize':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp:141: undefined reference to `_imp__eglInitialize@12'
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\include\EGL\egla.h    changed from egl.h
delete EGLAPI & EGLAPIENTRY
#define EGLAPI
#define EGLAPIENTRY




In file included from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/surfaceflinger_client/SurfaceComposerClient.cpp:39:0:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/private/surfaceflinger/SharedBufferStack.h:258:13: error: 'RWLock' does not name a type
in c:\wxwidgets-2.9.2\include\utils\threads.h
#define HAVE_PTHREADS




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android/graphics/Xfermode.cpp:19:
C:\wxWidgets-2.9.2\include/utils/threads.h:345:4: error: 'pthread_rwlock_t' does not name a type
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\angowx\mingw\pthread.h
in threads.h:
#define HAVE_PTHREADS


./Debug/jni_android_view_Surface.o: In function `Surface_init':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_view_Surface.cpp:220: undefined reference to `android::String8::String8(unsigned short const*, unsigned long)'
        const String8 name((char*)str, env->GetStringLength(jname));
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\libs\utils\String8.cpp
//String8::String8(const char* o, size_t len)
String8::String8(const char* o, int len)
C:\wxWidgets-2.9.2\include\utils\String8.h
//    explicit                    String8(const char* o, size_t numChars);
    explicit                    String8(const char* o, int numChars);




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/PixelFormat.cpp: In function 'android::status_t android::getPixelFormatInfo(android::PixelFormat, android::PixelFormatInfo*)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/PixelFormat.cpp:66:10: error: 'HAL_PIXEL_FORMAT_YV12' was not declared in this scope
http://gitorious.org/0xdroid/hardware_libhardware/blobs/a2df7ab5fe89fda56606f8151659db47e160a5b3/include/hardware/hardware.h
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\hardware\libhardware\include\hardware\hardware.h




pid_t androidGetTid
http://stackoverflow.com/questions/298257/ms-c-get-pid-of-current-process
http://msdn.microsoft.com/en-us/library/ms683180(VS.85).aspx
The GetCurrentProcessId function will do this.




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:20:
d:/linux/linuxkernel/WORKING_DIRECTORY/ango/angowx/android/AndroidRuntime/mingw-compat.h:62:9: warning: "/*" within comment [-Wcomment]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:371:1: error: redefinition of 'android::Mutex::Mutex()'
C:\wxWidgets-2.9.2\include/utils/threads.h:257:8: error: 'android::Mutex::Mutex()' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:381:1: error: redefinition of 'android::Mutex::Mutex(const char*)'
C:\wxWidgets-2.9.2\include/utils/threads.h:260:8: error: 'android::Mutex::Mutex(const char*)' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:392:1: error: redefinition of 'android::Mutex::Mutex(int, const char*)'
C:\wxWidgets-2.9.2\include/utils/threads.h:263:8: error: 'android::Mutex::Mutex(int, const char*)' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:403:1: error: redefinition of 'android::Mutex::~Mutex()'
C:\wxWidgets-2.9.2\include/utils/threads.h:274:8: error: 'android::Mutex::~Mutex()' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:408:10: error: redefinition of 'android::status_t android::Mutex::lock()'
C:\wxWidgets-2.9.2\include/utils/threads.h:277:17: error: 'android::status_t android::Mutex::lock()' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:415:6: error: redefinition of 'void android::Mutex::unlock()'
C:\wxWidgets-2.9.2\include/utils/threads.h:280:13: error: 'void android::Mutex::unlock()' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:421:10: error: redefinition of 'android::status_t android::Mutex::tryLock()'
C:\wxWidgets-2.9.2\include/utils/threads.h:283:17: error: 'android::status_t android::Mutex::tryLock()' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:548:1: error: redefinition of 'android::Condition::Condition()'
C:\wxWidgets-2.9.2\include/utils/threads.h:426:8: error: 'android::Condition::Condition()' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:568:1: error: redefinition of 'android::Condition::~Condition()'
C:\wxWidgets-2.9.2\include/utils/threads.h:440:8: error: 'android::Condition::~Condition()' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:579:10: error: redefinition of 'android::status_t android::Condition::wait(android::Mutex&)'
C:\wxWidgets-2.9.2\include/utils/threads.h:443:17: error: 'android::status_t android::Condition::wait(android::Mutex&)' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:587:10: error: redefinition of 'android::status_t android::Condition::waitRelative(android::Mutex&, nsecs_t)'
C:\wxWidgets-2.9.2\include/utils/threads.h:446:17: error: 'android::status_t android::Condition::waitRelative(android::Mutex&, nsecs_t)' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:599:6: error: redefinition of 'void android::Condition::signal()'
C:\wxWidgets-2.9.2\include/utils/threads.h:472:13: error: 'void android::Condition::signal()' previously defined here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Threads.cpp:627:6: error: redefinition of 'void android::Condition::broadcast()'
C:\wxWidgets-2.9.2\include/utils/threads.h:475:13: error: 'void android::Condition::broadcast()' previously defined here
comment Threads.cpp
//#define HAVE_WIN32_THREADS 




./Debug/jni_android_util_Process.o: In function `Z32android_os_Process_getGidForNameP7_JNIEnvP8_jobjectP8_jstring':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Process.cpp:174: undefined reference to `android::String8::String8(unsigned short const*, unsigned long)'
type cast (char *)




./Debug/jni_android_util_Process.o: In function `Z32android_os_Process_getUidForNameP7_JNIEnvP8_jobjectP8_jstring':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Process.cpp:152: undefined reference to `getpwnam'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\bionic\stubs.c
http://osdir.com/ml/android-ndk/2010-06/msg00414.html




./Debug/jni_android_util_Process.o: In function `Z29android_os_Process_sendSignalP7_JNIEnvP8_jobjectii':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Process.cpp:834: undefined reference to `kill'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\arch-x86\syscalls\kill.S
https://code.google.com/p/msysgit/source/browse/compat/mingw.c?spec=svn.4msysgit.c4ff5decf8b35572f5a33b8f56affce0cb02e903&repo=4msysgit&r=9585ed519c59d5ac46f8e12b339220cdd0567b7d
http://osdir.com/ml/git/2010-01/msg00046.html
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libcorejni\mingw.c




./Debug/jni_android_util_Process.o: In function `Vector':
C:/wxWidgets-2.9.2/include/utils/Vector.h:185: undefined reference to `android::VectorImpl::VectorImpl(unsigned long, unsigned int)'
c:\wxwidgets-2.9.2\include\utils\vectorimpl.h
VectorImpl(unsigned long itemSize, unsigned int flags);
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\libs\utils\VectorImpl.cpp
VectorImpl::VectorImpl(unsigned long itemSize, unsigned int flags)
    : mStorage(0), mCount(0), mFlags(flags), mItemSize(itemSize)
{
}
not working, try type cast
Vector<TYPE>::Vector()
    : VectorImpl((size_t)sizeof(TYPE),
                (uint32_t)((traits<TYPE>::has_trivial_ctor   ? HAS_TRIVIAL_CTOR   : 0)
                |(traits<TYPE>::has_trivial_dtor   ? HAS_TRIVIAL_DTOR   : 0)
                |(traits<TYPE>::has_trivial_copy   ? HAS_TRIVIAL_COPY   : 0))
                )
typecasting not working, have to change the definition.




./Debug/jni_android_util_Binder.o: In function `report_exception':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:211: undefined reference to `sleep'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\include\unistd.h
http://blog.csdn.net/reille/article/details/7027701
comment unistd.h
//extern unsigned int sleep(unsigned int);
#include <windows.h>  
#define sleep(n) Sleep(1000 * (n)) 




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/binder/IPCThreadState.cpp: In member function 'void android::IPCThreadState::joinThreadPool(bool)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/binder/IPCThreadState.cpp:448:23: error: expected unqualified-id before '=' token
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/binder/IPCThreadState.cpp:449:20: error: expected primary-expression before '<' token
c:\mingw-4.6.1\include\windef.h
in is defined in windef.h, change it to aIN
            size_t aIN = mIn.dataAvail();
            if (aIN < sizeof(int32_t)) continue;




./Debug/jni_android_util_AssetManager.o: In function `copyValue':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_AssetManager.cpp:89: undefined reference to `android::ResTable::getTableCookie(unsigned long) const'
probably type confict
c:\wxwidgets-2.9.2\include\utils\ResourceTypes.h
//    void* getTableCookie(size_t index) const;
    void* getTableCookie(ssize_t index) const;
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\libs\utils\ResourceTypes.cpp
//void* ResTable::getTableCookie(size_t index) const
void* ResTable::getTableCookie(ssize_t index) const




./Debug/jni_android_util_AssetManager.o: In function `copyValue':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_AssetManager.cpp:89: undefined reference to `android::ResTable::getTableCookie(unsigned long) const'
reverse the above.





./Debug/jni_android_util_AssetManager.o: In function `android_content_AssetManager_getResourceIdentifier':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_AssetManager.cpp:594: undefined reference to `android::ResTable::identifierForName(unsigned short const*, unsigned long, unsigned short const*, unsigned long, unsigned short const*, unsigned long, unsigned int*) const'
type conflict


./Debug/jni_android_util_AssetManager.o: In function `android_content_AssetManager_getResourceName':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_AssetManager.cpp:622: undefined reference to `android::String16::setTo(unsigned short const*, unsigned long)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_AssetManager.cpp:627: undefined reference to `android::String16::append(unsigned short const*, unsigned long)'
type conflict




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android/graphics/NinePatch.cpp:21:
C:\wxWidgets-2.9.2\include/utils/String16.h:91:33: error: 'android::status_t android::String16::setTo(const short unsigned int*, long unsigned int)' cannot be overloaded
C:\wxWidgets-2.9.2\include/utils/String16.h:90:33: error: with 'android::status_t android::String16::setTo(const char16_t*, size_t)'
comment the second one




./Debug/jni_android_util_AssetManager.o: In function `android_content_AssetManager_getNativeStringBlock':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_AssetManager.cpp:799: undefined reference to `android::ResTable::getTableStringBlock(unsigned long) const'
too many size_t issue, I want change the size_t definition
c:\wxwidgets-2.9.2\include\crtdbg.h
C:\wxWidgets-2.9.2\include/crtdbg.h:48:29: error: conflicting declaration 'typedef unsigned int size_t'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/arch-x86/include/machine/_types.h:44:29: error: 'size_t' has a previous declaration as 'typedef long unsigned int size_t'
comment _types.h
but then more "error: unknown type name 'size_t'" shows up, so I comment crtdbg.h instead. 




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android/graphics/BitmapFactory.cpp:65:59: error: reference to 'size_t' is ambiguous
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/include/stddef.h:212:23: error: candidates are: typedef unsigned int size_t
C:\wxWidgets-2.9.2\include/utils/ResourceTypes.h:1729:28: error:                 typedef long unsigned int android::size_t
change stddef.h and comment ResourceTypes.h



d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\skia\include\core\SkTemplates.h
            fPtr = (T*)sk_malloc_flags((size_t)count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
typecasting works
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\skia\include\core\SkPath.h
    void setFillType(FillType ft) { fFillType = SkToU8((size_t)ft); }
./Debug/graphics_Paint.o: In function `ZNK7SkPaint8getAlphaEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/include/core/SkPaint.h:317: undefined reference to `SkToU8(unsigned int)'
    uint8_t getAlpha() const { return SkToU8((size_t)SkColorGetA(fColor)); }




mingw claims that no undefined reference to android::Parcel::readInplace, but that's in d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\libs\binder\Parcel.cpp. So I delete the parcel.o in debug dir, and build again. it's ok. weird.


./Debug/graphics_Graphics.o: In function `ZN11GraphicsJNI15setJavaPixelRefEP7_JNIEnvP8SkBitmapP12SkColorTableb':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android/graphics/Graphics.cpp:493: undefined reference to `sk_malloc_flags(unsigned int, unsigned int)'
    void* addr = sk_malloc_flags((size_t)size, 0);




./Debug/graphics_Bitmap.o: In function `SkAlpha255To256':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/include/core/SkColorPriv.h:36: undefined reference to `SkToU8(unsigned int)'
./Debug/graphics_Bitmap.o: In function `SkPackRGB16':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/include/core/SkColorPriv.h:80: undefined reference to `SkToU16(unsigned int)'


./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_setDataSize':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1130: undefined reference to `android::Parcel::setDataSize(unsigned int)'
./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_setDataPosition':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1141: undefined reference to `android::Parcel::setDataPosition(unsigned int) const'
./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_setDataCapacity':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1149: undefined reference to `android::Parcel::setDataCapacity(unsigned int)'
./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_writeNative':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1171: undefined reference to `android::Parcel::writeInplace(unsigned int)'
./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_writeString':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1238: undefined reference to `android::Parcel::writeString16(unsigned short const*, unsigned int)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1242: undefined reference to `android::Parcel::writeString16(unsigned short const*, unsigned int)'
./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_createByteArray':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1288: undefined reference to `android::Parcel::readInplace(unsigned int) const'
./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_readString':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1340: undefined reference to `android::Parcel::readString16Inplace(unsigned int*) const'
./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_unmarshall':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1521: undefined reference to `android::Parcel::setDataSize(unsigned int)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1522: undefined reference to `android::Parcel::setDataPosition(unsigned int) const'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1524: undefined reference to `android::Parcel::writeInplace(unsigned int)'
./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_appendFrom':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1542: undefined reference to `android::Parcel::appendFrom(android::Parcel*, unsigned int, unsigned int)'
./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_openFileDescriptor':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1390: undefined reference to `android::String8::String8(unsigned short const*, unsigned long)'
./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_writeInterfaceToken':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1565: undefined reference to `android::String16::String16(unsigned short const*, unsigned long)'
./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_enforceInterface':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1583: undefined reference to `android::String16::String16(unsigned short const*, unsigned long)'




./Debug/jni_android_util_Binder.o: In function `android_os_Parcel_writeInterfaceToken':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Binder.cpp:1565: undefined reference to `android::String16::String16(char const*, unsigned long)'




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/KeyCharacterMap.cpp: In static member function 'static KeyCharacterMap* KeyCharacterMap::try_file(const char*)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/KeyCharacterMap.cpp:221:43: error: 'read' was not declared in this scope
//from c:\mingw-4.6.1\include\io.h
_CRTIMP int __cdecl __MINGW_NOTHROW read (int, void*, unsigned int);
#include <io.h>




d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\core\jni\android_text_KeyCharacterMap.cpp
    bool success = kmap->getEvents(chars, (size_t)len, &keys, &modifiers);



cc1.exe: warning: command line option '-Wno-ctor-dtor-privacy' is valid for C++/ObjC++ but not for C [enabled by default]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/ubidi.c:108:1: error: unknown type name 'Flags'
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\ubidiimp.h
in ubidiimp.h
#define U_COMMON_IMPLEMENTATION




./Debug/jni_android_pim_EventRecurrence.o: In function `EventRecurrence_parse':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_pim_EventRecurrence.cpp:94: undefined reference to `android::String16::String16(unsigned short const*, unsigned int)'
    String16 str((const char*)jchars, len);




./Debug/jni_android_os_StatFs.o: In function `android_os_StatFs_native_restat':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_StatFs.cpp:93: undefined reference to `statfs'
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\unistd\statfs.c
asm file, comment first, may look into it later if needed.




./Debug/jni_android_os_Power.o: In function `android_os_Power_shutdown':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_Power.cpp:80: undefined reference to `sync'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\arch-x86\syscalls\sync.S
asm file, comment first, may look into it later if needed.



./Debug/jni_android_os_ParcelFileDescriptor.o: In function `android_os_ParcelFileDescriptor_createPipeNative':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_ParcelFileDescriptor.cpp:73: undefined reference to `pipe'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\core\jni\android_os_ParcelFileDescriptor.cpp
./Debug/jni_android_app_NativeActivity.o: In function `AInputQueue':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp:113: undefined reference to `pipe'
./Debug/utils_Looper.o: In function `Looper':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:42: undefined reference to `pipe'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/InputTransport.cpp:99: undefined reference to `pipe'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/InputTransport.cpp:105: undefined reference to `pipe'
./Debug/gui_SensorChannel.o: In function `SensorChannel':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/gui/SensorChannel.cpp:37: undefined reference to `pipe'
http://article.gmane.org/gmane.comp.gnu.mingw.user/28505/
http://mingw.5.n7.nabble.com/How-does-mingw-support-pipe-td8714.html
http://mingw-users.1079350.n2.nabble.com/pipe-2-implementation-for-mingw-td1676814.html
#include <io.h>
#define _O_BINARY0x8000 /* Input and output is not translated. */
#define pipe(fds) _pipe(fds,4096, _O_BINARY)


d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_ParcelFileDescriptor.cpp: In function 'int android::android_os_ParcelFileDescriptor_createPipeNative(JNIEnv*, jobject, jobjectArray)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_ParcelFileDescriptor.cpp:75:9: error: '_O_BINARY' was not declared in this scope
c:\mingw-4.6.1\include\fcntl.h
#define _O_BINARY0x8000 /* Input and output is not translated. */
http://msdn.microsoft.com/en-us/library/tw4k6df8(v=vs.71).aspx




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp: In member function 'void android::Looper::wake()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:398:48: error: 'write' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp: In member function 'void android::Looper::awoken()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:436:61: error: 'read' was not declared in this scope
#include <io.h>




./Debug/jni_android_opengl_GLES20.o: In function `glVertexAttribPointerBounds':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES20.cpp:147: undefined reference to `_imp__glVertexAttribPointer@24'
//#include <GLES2/gl2.h>
//#include <GLES2/gl2ext.h>
#include <GL/glew.h>




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:273:22: error: definition of 'pthread_key_t android::gGLWrapperKey' is marked 'dllimport'
//EGLAPI pthread_key_t gGLWrapperKey = -1;
 pthread_key_t gGLWrapperKey = -1;




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:405:56: error: 'eglLockSurfaceKHR' was not declared in this scope
#include "hooks.cpp"




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/power/power.c:67:16: warning: 'systemTime' defined but not used [-Wunused-function]
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\hardware\libhardware_legacy\power\power.c
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:406:56: error: 'eglLockSurfaceKHR' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:408:56: error: 'eglUnlockSurfaceKHR' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:410:56: error: 'eglCreateImageKHR' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:412:56: error: 'eglDestroyImageKHR' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:414:56: error: 'eglSetSwapRectangleANDROID' was not declared in this scope
may not be usful, comment first.
https://bitbucket.org/generalplus/android_development/src/5a892efb0551/tools/emulator/opengl/system/egl/egl_ftable.h




./Debug/EGL_egl.o: In function `~egl_surface_t':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:206: multiple definition of `android::egl_surface_t::~egl_surface_t()'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:174: first defined here
./Debug/EGL_egl.o: In function `eglGetDisplay@4':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:637: multiple definition of `eglGetDisplay@4'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1415: first defined here
./Debug/EGL_egl.o: In function `eglInitialize@12':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:656: multiple definition of `eglInitialize@12'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1435: first defined here
./Debug/EGL_egl.o: In function `eglTerminate@4':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:775: multiple definition of `eglTerminate@4'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1456: first defined here
./Debug/EGL_egl.o: In function `eglGetConfigs@16':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:830: multiple definition of `eglGetConfigs@16'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1477: first defined here
./Debug/EGL_egl.o: In function `eglChooseConfig@20':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:854: multiple definition of `eglChooseConfig@20'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1497: first defined here
./Debug/EGL_egl.o: In function `eglGetConfigAttrib@16':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:967: multiple definition of `eglGetConfigAttrib@16'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1578: first defined here
./Debug/EGL_egl.o: In function `eglCreateWindowSurface@16':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:988: multiple definition of `eglCreateWindowSurface@16'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1592: first defined here
./Debug/EGL_egl.o: In function `eglCreatePixmapSurface@16':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1018: multiple definition of `eglCreatePixmapSurface@16'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1599: first defined here
./Debug/EGL_egl.o: In function `eglCreatePbufferSurface@12':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1036: multiple definition of `eglCreatePbufferSurface@12'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1605: first defined here
./Debug/EGL_egl.o: In function `eglDestroySurface@8':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1053: multiple definition of `eglDestroySurface@8'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1610: first defined here
./Debug/EGL_egl.o: In function `eglQuerySurface@16':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1075: multiple definition of `eglQuerySurface@16'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1631: first defined here
./Debug/EGL_egl.o: In function `eglCreateContext@16':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1102: multiple definition of `eglCreateContext@16'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1695: first defined here
./Debug/EGL_egl.o: In function `eglDestroyContext@8':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1139: multiple definition of `eglDestroyContext@8'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1712: first defined here
./Debug/EGL_egl.o: In function `eglMakeCurrent@16':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1178: multiple definition of `eglMakeCurrent@16'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1724: first defined here
./Debug/EGL_egl.o: In function `eglQueryContext@16':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1274: multiple definition of `eglQueryContext@16'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1869: first defined here
./Debug/EGL_egl.o: In function `eglGetCurrentContext@0':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1297: multiple definition of `eglGetCurrentContext@0'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1833: first defined here
./Debug/EGL_egl.o: In function `eglGetCurrentSurface@4':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1306: multiple definition of `eglGetCurrentSurface@4'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1841: first defined here
./Debug/EGL_egl.o: In function `eglGetCurrentDisplay@0':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1324: multiple definition of `eglGetCurrentDisplay@0'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1857: first defined here
./Debug/EGL_egl.o: In function `eglWaitGL@0':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1338: multiple definition of `eglWaitGL@0'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1883: first defined here
./Debug/EGL_egl.o: In function `eglWaitNative@4':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1358: multiple definition of `eglWaitNative@4'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1888: first defined here
./Debug/EGL_egl.o: In function `eglGetError@0':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1378: multiple definition of `eglGetError@0'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1931: first defined here
./Debug/EGL_egl.o: In function `eglGetProcAddress@4':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1396: multiple definition of `eglGetProcAddress@4'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:2035: first defined here
./Debug/EGL_egl.o: In function `eglSwapBuffers@8':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1462: multiple definition of `eglSwapBuffers@8'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1893: first defined here
./Debug/EGL_egl.o: In function `eglCopyBuffers@12':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1475: multiple definition of `eglCopyBuffers@12'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1923: first defined here
./Debug/EGL_egl.o: In function `eglQueryString@8':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1488: multiple definition of `eglQueryString@8'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1936: first defined here
./Debug/EGL_egl.o: In function `eglSurfaceAttrib@16':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1510: multiple definition of `eglSurfaceAttrib@16'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1959: first defined here
./Debug/EGL_egl.o: In function `eglBindTexImage@12':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1527: multiple definition of `eglBindTexImage@12'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1968: first defined here
./Debug/EGL_egl.o: In function `eglReleaseTexImage@12':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1544: multiple definition of `eglReleaseTexImage@12'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1977: first defined here
./Debug/EGL_egl.o: In function `eglSwapInterval@8':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1560: multiple definition of `eglSwapInterval@8'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1985: first defined here
./Debug/EGL_egl.o: In function `eglWaitClient@0':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1585: multiple definition of `eglWaitClient@0'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:2009: first defined here
./Debug/EGL_egl.o: In function `eglBindAPI@4':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1608: multiple definition of `eglBindAPI@4'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:1997: first defined here
./Debug/EGL_egl.o: In function `eglQueryAPI@0':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1629: multiple definition of `eglQueryAPI@0'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:2004: first defined here
./Debug/EGL_egl.o: In function `eglReleaseThread@0':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1649: multiple definition of `eglReleaseThread@0'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:2015: first defined here
./Debug/EGL_egl.o: In function `eglCreatePbufferFromClientBuffer@20':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1668: multiple definition of `eglCreatePbufferFromClientBuffer@20'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:2023: first defined here
./Debug/EGL_egl.o: In function `Z17eglLockSurfaceKHRPvS_PKi':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1687: multiple definition of `eglLockSurfaceKHR(void*, void*, int const*)'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:2047: first defined here
./Debug/EGL_egl.o: In function `Z19eglUnlockSurfaceKHRPvS_':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1705: multiple definition of `eglUnlockSurfaceKHR(void*, void*)'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:2053: first defined here
./Debug/EGL_egl.o: In function `Z17eglCreateImageKHRPvS_jS_PKi':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1724: multiple definition of `eglCreateImageKHR(void*, void*, unsigned int, void*, int const*)'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:2060: first defined here
./Debug/EGL_egl.o: In function `Z18eglDestroyImageKHRPvS_':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1795: multiple definition of `eglDestroyImageKHR(void*, void*)'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:2097: first defined here
./Debug/EGL_egl.o: In function `Z26eglSetSwapRectangleANDROIDPvS_iiii':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:1834: multiple definition of `eglSetSwapRectangleANDROID(void*, void*, int, int, int, int)'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:2121: first defined here
./Debug/EGL_hooks.o: In function `gl_unimplemented':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/hooks.cpp:29: multiple definition of `gl_unimplemented'
./Debug/EGL_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/hooks.cpp:29: first defined here
comment ./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp




./Debug/jni_android_opengl_GLES11Ext.o: In function `getGlThreadSpecific':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/hooks.h:139: undefined reference to `android::gHooksNoContext'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\libs\EGL\egl.cpp
//EGLAPI gl_hooks_t gHooksNoContext;
 gl_hooks_t gHooksNoContext;




./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glCurrentPaletteMatrixOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1802: undefined reference to `_imp__glCurrentPaletteMatrixOES@4'
//#include <GLES/gl.h>
//#include <GLES/glext.h>
#include <GL/glew.h>
//    glBlendEquationSeparateOES(
    glBlendEquationSeparate(




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:27:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/include/GLES/glexta.h:483:40: error: variable or field 'glDrawTexxOES' declared void
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/include/GLES/glexta.h:483:40: error: 'GLfixed' was not declared in this scope
borrow definition from d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\include\GLES\gla.h
typedef khronos_int32_t  GLfixed;




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp: In function 'void android_glBlendFuncSeparateOES__IIII(JNIEnv*, jobject, jint, jint, jint, jint)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:174:5: error: 'glBlendFuncSeparateOES' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp: In function 'void android_glBlendEquationOES__I(JNIEnv*, jobject, jint)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:183:5: error: 'glBlendEquationOES' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp: In function 'void android_glDrawTexsOES__SSSSS(JNIEnv*, jobject, jshort, jshort, jshort, jshort, jshort)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:196:5: error: 'glDrawTexsOES' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp: In function 'void android_glDrawTexiOES__IIIII(JNIEnv*, jobject, jint, jint, jint, jint, jint)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:209:5: error: 'glDrawTexiOES' was not declared in this scope
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glAlphaFuncxOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:525: undefined reference to `glAlphaFuncxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glClearColorxOES(int0_t, int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:537: undefined reference to `glClearColorxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glClearDepthxOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:546: undefined reference to `glClearDepthxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glClipPlanexOES__I_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:573: undefined reference to `glClipPlanexOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glClipPlanexOES__ILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:594: undefined reference to `glClipPlanexOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glColor4xOES(int0_t, int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:609: undefined reference to `glColor4xOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glDepthRangexOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:619: undefined reference to `glDepthRangexOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glFogxOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:629: undefined reference to `glFogxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glFogxvOES__I_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:656: undefined reference to `glFogxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glFogxvOES__ILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:677: undefined reference to `glFogxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glFrustumxOES(int0_t, int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:694: undefined reference to `glFrustumxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetClipPlanexOES__I_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:729: undefined reference to `glGetClipPlanexOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetClipPlanexOES__ILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:756: undefined reference to `glGetClipPlanexOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetFixedvOES__I_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:791: undefined reference to `glGetFixedvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetFixedvOES__ILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:813: undefined reference to `glGetFixedvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetLightxvOES__II_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:847: undefined reference to `glGetLightxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetLightxvOES__IILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:870: undefined reference to `glGetLightxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetMaterialxvOES__II_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:904: undefined reference to `glGetMaterialxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetMaterialxvOES__IILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:927: undefined reference to `glGetMaterialxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetTexEnvxvOES__II_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:961: undefined reference to `glGetTexEnvxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetTexEnvxvOES__IILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:984: undefined reference to `glGetTexEnvxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetTexParameterxvOES__II_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1018: undefined reference to `glGetTexParameterxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glGetTexParameterxvOES__IILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1041: undefined reference to `glGetTexParameterxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glLightModelxOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1054: undefined reference to `glLightModelxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glLightModelxvOES__I_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1081: undefined reference to `glLightModelxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glLightModelxvOES__ILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1102: undefined reference to `glLightModelxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glLightxOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1116: undefined reference to `glLightxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glLightxvOES__II_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1144: undefined reference to `glLightxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glLightxvOES__IILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1166: undefined reference to `glLightxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glLineWidthxOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1178: undefined reference to `glLineWidthxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glLoadMatrixxOES___3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1204: undefined reference to `glLoadMatrixxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glLoadMatrixxOES__Ljava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1224: undefined reference to `glLoadMatrixxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glMaterialxOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1238: undefined reference to `glMaterialxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glMaterialxvOES__II_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1266: undefined reference to `glMaterialxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glMaterialxvOES__IILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1288: undefined reference to `glMaterialxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glMultMatrixxOES___3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1317: undefined reference to `glMultMatrixxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glMultMatrixxOES__Ljava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1337: undefined reference to `glMultMatrixxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glMultiTexCoord4xOES(int0_t, int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1353: undefined reference to `glMultiTexCoord4xOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glNormal3xOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1364: undefined reference to `glNormal3xOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glOrthoxOES(int0_t, int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1378: undefined reference to `glOrthoxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glPointParameterxOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1388: undefined reference to `glPointParameterxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glPointParameterxvOES__I_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1415: undefined reference to `glPointParameterxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glPointParameterxvOES__ILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1436: undefined reference to `glPointParameterxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glPointSizexOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1448: undefined reference to `glPointSizexOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glPolygonOffsetxOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1458: undefined reference to `glPolygonOffsetxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glRotatexOES(int0_t, int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1470: undefined reference to `glRotatexOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glSampleCoveragexOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1480: undefined reference to `glSampleCoveragexOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glScalexOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1491: undefined reference to `glScalexOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glTexEnvxOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1502: undefined reference to `glTexEnvxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glTexEnvxvOES__II_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1530: undefined reference to `glTexEnvxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glTexEnvxvOES__IILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1552: undefined reference to `glTexEnvxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glTexParameterxOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1566: undefined reference to `glTexParameterxOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glTexParameterxvOES__II_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1594: undefined reference to `glTexParameterxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glTexParameterxvOES__IILjava_nio_IntBuffer_2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1616: undefined reference to `glTexParameterxvOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glTranslatexOES(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1630: undefined reference to `glTranslatexOES'
./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glMatrixIndexPointerOESBounds__IIILjava_nio_Buffer_2I':
according to glew.h, del all "OES"




In file included from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:26:0:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/include/GLES/glexta.h:434:1: error: 'GL_API' does not name a type
#define GL_API




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp: In function 'void android_glDrawTexsOES__SSSSS(JNIEnv*, jobject, jshort, jshort, jshort, jshort, jshort)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:201:5: error: 'glDrawTexs' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp: In function 'void android_glDrawTexiOES__IIIII(JNIEnv*, jobject, jint, jint, jint, jint, jint)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:215:5: error: 'glDrawTexi' was not declared in this scope
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\libagl\texture.cpp




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp: In function 'void android_glMatrixIndexPointerOESBounds__IIILjava_nio_Buffer_2I(JNIEnv*, jobject, jint, jint, jint, jobject, jint)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1840:5: error: 'glMatrixIndexPointerBounds' was not declared in this scope
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\libs\GLES_CM\gl.cpp




./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glMatrixIndexPointerOESBounds__IIILjava_nio_Buffer_2I':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1840: undefined reference to `glMatrixIndexPointerOESBounds(int, unsigned int, int, void const*, int)'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\libs\GLES_CM\gl.cpp
//GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type,
//        GLsizei stride, const GLvoid *pointer, GLsizei count);




./Debug/jni_com_google_android_gles_jni_GLImpl.o: In function `android_glMatrixIndexPointerOESBounds__IIILjava_nio_Buffer_2I':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_google_android_gles_jni_GLImpl.cpp:6174: undefined reference to `glMatrixIndexPointerOESBounds'
//GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type,
//        GLsizei stride, const GLvoid *pointer, GLsizei count);
 void  glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride,
        const GLvoid *ptr, GLsizei count);




./Debug/jni_android_opengl_GLES11Ext.o: In function `android_glWeightPointerOESBounds__IIILjava_nio_Buffer_2I':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11Ext.cpp:1863: undefined reference to `glWeightPointerOESBounds(int, unsigned int, int, void const*, int)'
//GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
//        GLsizei stride, const GLvoid *pointer, GLsizei count);




./Debug/jni_com_google_android_gles_jni_GLImpl.o: In function `android_glWeightPointerOESBounds__IIILjava_nio_Buffer_2I':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_google_android_gles_jni_GLImpl.cpp:6211: undefined reference to `glWeightPointerOESBounds'
GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
        GLsizei stride, const GLvoid *pointer, GLsizei count);



./Debug/jni_android_opengl_GLES11.o: In function `android_glBindBuffer(int0_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES11.cpp:154: undefined reference to `_imp__glBindBuffer@8'
#include <GL/glew.h>
#include <GLES/gla.h>
#include <GLES/glexta.h>
//#include <GLES/gl.h>
//#include <GLES/glext.h>




./Debug/jni_android_opengl_GLES10Ext.o: In function `android_glQueryMatrixxOES___3II_3II':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_opengl_GLES10Ext.cpp:183: undefined reference to `_imp__glQueryMatrixxOES@8'
//#include <GLES/glext.h>
#include <GLES/glexta.h>
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\include\GLES\glexta.h




./Debug/jni_android_net_LocalSocketImpl.o: In function `socket_available':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp:388: undefined reference to `ioctl'
comment first, will take care later if needed.




./Debug/jni_android_net_LocalSocketImpl.o: In function `socket_read_all':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp:541: undefined reference to `recvmsg'
./Debug/jni_android_net_LocalSocketImpl.o: In function `socket_write_all':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp:637: undefined reference to `sendmsg'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\arch-x86\syscalls\recvmsg.S
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\arch-x86\syscalls\sendmsg.S
comment first, will take care later if needed.




./Debug/jni_android_media_AudioSystem.o: In function `android_media_AudioSystem_setParameters':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_media_AudioSystem.cpp:80: undefined reference to `android::String8::String8(unsigned short const*, unsigned long)'
        c_keyValuePairs8 = String8((const char*)c_keyValuePairs, env->GetStringLength(keyValuePairs));




./Debug/jni_android_media_AudioSystem.o: In function `android_media_AudioSystem_getParameters':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_media_AudioSystem.cpp:93: undefined reference to `android::String8::String8(unsigned short const*, unsigned long)'
        c_keys8 = String8((const char*)c_keys, env->GetStringLength(keys));




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/gui/Sensor.cpp: In constructor 'android::Sensor::Sensor(const sensor_t*)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/gui/Sensor.cpp:49:27: error: 'const struct sensor_t' has no member named 'minDelay'
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\hardware\libhardware\include\hardware\sensors.h
int minDelay;




./Debug/jni_android_hardware_Camera.o: In function `android_hardware_Camera_setParameters':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_hardware_Camera.cpp:505: undefined reference to `android::String8::String8(unsigned short const*, unsigned long)'
        params8 = String8((const char*)str, env->GetStringLength(params));




./Debug/jni_android_emoji_EmojiFactory.o: In function `android_emoji_EmojiFactory_newInstance':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_emoji_EmojiFactory.cpp:135: undefined reference to `android::String16::String16(unsigned short const*, unsigned int)'
  String8 str(String16((const char*)jchars, len));



In file included from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android/graphics/Region.cpp:137:0:
C:\wxWidgets-2.9.2\include/binder/Parcel.h:61:61: error: expected ',' or '...' before 'struct'
C:\wxWidgets-2.9.2\include/binder/Parcel.h:70:58: error: expected ',' or '...' before 'struct'
change interface to ainterface


                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android/graphics/Movie.cpp:9:
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/winsock2.h:356:8: error: redefinition of 'struct __kernel_sockaddr_storage'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/kernel/common/linux/socket.h:18:8: error: previous definition of 'struct __kernel_sockaddr_storage'
comment socket.h




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android/graphics/BitmapFactory.cpp:17:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/kernel/common/linux/in.h:131:35: error: field 'gr_group' has incomplete type
comment __kernel_sockaddr_storage in c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/winsock2.h, uncomment d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/kernel/common/linux/socket.h




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android/graphics/Movie.cpp:9:
d:/linux/linuxkernel/WORKING_DIRECTORY/ango/angowx/android/AndroidRuntime/mingw-compat.h:62:9: warning: "/*" within comment [-Wcomment]
C:\wxWidgets-2.9.2\include/crtdbg.h:48:29: error: conflicting declaration 'typedef unsigned int size_t'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/arch-x86/include/machine/_types.h:44:29: error: 'size_t' has a previous declaration as 'typedef long unsigned int size_t'
comment _types.h, but more errors show up. comment crtdbg instead.



                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/stdio/stdio.c:34:
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/objidl.h:206:2: error: expected identifier before numeric constant
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\kernel\common\asm-generic\fcntl.h
#define LOCK_WRITE 128  
in c:\mingw-4.6.1\include\objidl.h
LOCK_WRITE=1,
is changed to:
aLOCK_WRITE=1,




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_media_AudioRecord.cpp:31:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/media/EffectApi.h:788:71: error: typedef 'effect_ReleaseEffect_t' is initialized (use decltype instead)
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/media/EffectApi.h:788:62: error: expected primary-expression before 'struct'
change interface to ainterface




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/array.cpp:1580:6: warning: 'void glGenBuffers(GLsizei, GLuint*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/binder/Parcel.cpp:447:54: error: expected ',' or '...' before 'struct'
this is because "interface" is defined as stuct in c:\mingw-4.6.1\include\basetyps.h:
1 # define _COM_interface struct
2 # ifndef __OBJC__
3 #  define interface _COM_interface
4 # endif
So I comment line 3.
change ainterface back to interface




***********************************************************************
                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/uprops.cpp:29:
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/include/c++/cwchar:164:11: error: '::vfwscanf' has not been declared
                 from d:/linux/linuxkernel/WORKING_DIRECTORY/ango/angowx/dialogs.cpp:25:
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/include/c++/cwchar:164:11: error: '::vfwscanf' has not been declared
in fact it's defined in <C:\MinGW-4.6.1\include\wchar.h>, but the following seems to be not working:
#if _GLIBCXX_HAVE_WCHAR_H
#include <wchar.h>
#endif
and _GLIBCXX_HAVE_WCHAR_H has been defined in <bits/c++config.h>. everything goes wrong.
/* Define to 1 if you have the <wchar.h> header file. */
in cwchar:
#define _GLIBCXX_HAVE_WCHAR_H 1
not working 
copy definition from C:\MinGW-4.6.1\include\wchar.h to cwchar
#include <bits/c++config1.h>
#define _GLIBCXX_HAVE_WCHAR_H 1
#if _GLIBCXX_HAVE_WCHAR_H
#include <wchar.h>
#endif
#include <_mingw.h>


#ifndef __VALIST
#if defined __GNUC__ && __GNUC__ >= 3
#define __need___va_list
#include <stdarg.h>
#define __VALIST __builtin_va_list
#else
#define __VALIST char*
#endif
#endif


int __cdecl __MINGW_NOTHROW vwscanf (const wchar_t * __restrict__, __VALIST);
int __cdecl __MINGW_NOTHROW vfwscanf (FILE * __restrict__,
      const wchar_t * __restrict__, __VALIST);
int __cdecl __MINGW_NOTHROW vswscanf (const wchar_t * __restrict__,
      const wchar_t * __restrict__, __VALIST);




_CRTIMP long __cdecl __MINGW_NOTHROW wcstol (const wchar_t*, wchar_t**, int);
_CRTIMP unsigned long __cdecl __MINGW_NOTHROW wcstoul (const wchar_t*, wchar_t**, int);
_CRTIMP double __cdecl __MINGW_NOTHROW wcstod (const wchar_t*, wchar_t**);
float __cdecl __MINGW_NOTHROW wcstof (const wchar_t * __restrict__, wchar_t ** __restrict__);
long double __cdecl __MINGW_NOTHROW wcstold (const wchar_t * __restrict__, wchar_t ** __restrict__);


long long __cdecl __MINGW_NOTHROW wcstoll(const wchar_t * __restrict__,
 wchar_t** __restrict__, int);
unsigned long long __cdecl __MINGW_NOTHROW wcstoull(const wchar_t * __restrict__,
   wchar_t ** __restrict__, int);
***********************************************************************


                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/src/images/SkFDStream.cpp:2:
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/process.h:60:51: error: '_pid_t' has not been declared
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/process.h:62:9: error: '_pid_t' does not name a type
in c:\mingw-4.6.1\include\sys\types.h:
in process.h:
#ifndef _PID_T_
#define _PID_T_
typedef int _pid_t;


#ifndef _NO_OLDNAMES
typedef _pid_t pid_t;
#endif
#endif /* Not _PID_T_ */




./Debug/jni_android_util_AssetManager.o: In function `android_content_AssetManager_getNativeStringBlock':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_AssetManager.cpp:799: undefined reference to `android::ResTable::getTableStringBlock(unsigned long) const'
too many size_t issue, I want change the size_t definition
c:\wxwidgets-2.9.2\include\crtdbg.h
typedef long unsigned int size_t;



d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ResourceTypes.cpp: At global scope:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ResourceTypes.cpp:2395:14: error: prototype for 'uint32_t android::ResTable::identifierForName(const short unsigned int*, long unsigned int, const short unsigned int*, long unsigned int, const short unsigned int*, long unsigned int, unsigned int*) const' does not match any in class 'android::ResTable'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/utils/ResourceTypes.h:1899:14: error: candidate is: uint32_t android::ResTable::identifierForName(const char16_t*, size_t, const char16_t*, size_t, const char16_t*, size_t, uint32_t*) const
uint32_t ResTable::identifierForName(const char16_t* name, size_t nameLen,
                                     const char16_t* type, size_t typeLen,
                                     const char16_t* package,
                                     size_t packageLen,
                                     uint32_t* outTypeSpecFlags) const   
//    uint32_t ResTable::identifierForName(unsigned short const* name, unsigned long nameLen,
//                               unsigned short const* type , unsigned long typeLen ,
//                               unsigned short const* package ,
//                               unsigned long packageLen ,
//                               unsigned int* outTypeSpecFlags ) const




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ResourceTypes.cpp: At global scope:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ResourceTypes.cpp:3567:7: error: prototype for 'void* android::ResTable::getTableCookie(ssize_t) const' does not match any in class 'android::ResTable'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/utils/ResourceTypes.h:1977:11: error: candidate is: void* android::ResTable::getTableCookie(size_t) const
void* ResTable::getTableCookie(size_t index) const
//void* ResTable::getTableCookie(ssize_t index) const




In file included from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ResourceTypes.cpp:23:0:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/utils/ResourceTypes.h:35:28: error: conflicting declaration 'typedef long unsigned int size_t'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/include/stddef.h:212:23: error: 'size_t' has a previous declaration as 'typedef unsigned int size_t'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/arch-x86/include/machine/_types.h:44:29: error: 'size_t' has a previous declaration as 'typedef long unsigned int size_t'
c:\mingw-4.6.1\bin\..\lib\gcc\mingw32\4.6.1\include\stddef.h
comment ResourceTypes.h, change stddef.h




./Debug/jni_android_util_StringBlock.o: In function `android_content_StringBlock_nativeCreate':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_StringBlock.cpp:59: undefined reference to `android::ResStringPool::ResStringPool(void const*, unsigned int, bool)'
    ResStringPool* osb = new ResStringPool(b+off, (size_t)len, true);
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/arch-x86/include/machine/_types.h:44:29: error: 'size_t' has a previous declaration as 'typedef long unsigned int size_t'








d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\include\media\AudioRecord.h
./Debug/jni_android_hardware_SensorManager.o: In function `sensors_data_poll':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_hardware_SensorManager.cpp:128: undefined reference to `android::SensorEventQueue::read(ASensorEvent*, unsigned long)'
./Debug/graphics_Shader.o: In function `SkAutoSTMalloc':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/include/core/SkTemplates.h:200: undefined reference to `sk_malloc_flags(unsigned long, unsigned int)'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\skia\include\core\SkColorPriv.h
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\skia\src\core\SkDebug.cpp
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\skia\src\core\SkScalerContext.cpp
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\skia\src\core\SkFlattenable.cpp
./Debug/core_SkPictureRecord.o: In function `SkPictureRecord':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/src/core/SkPictureRecord.cpp:9: undefined reference to `SkChunkAlloc::SkChunkAlloc(unsigned long)'
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\skia\src\core\SkChunkAlloc.cpp
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\skia\src\core\SkDraw.cpp
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\skia\src\core\SkDevice.cpp
typedef long unsigned int size_t;




./Debug/core_SkEdgeBuilder.o: In function `SkEdgeBuilder':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/src/core/SkEdgeBuilder.cpp:8: undefined reference to `SkChunkAlloc::SkChunkAlloc(unsigned int)'
SkEdgeBuilder::SkEdgeBuilder() : fAlloc((size_t)16*1024) {}




./Debug/core_SkEdge.o: In function `ZN15SkQuadraticEdge12setQuadraticEPK7SkPointi':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/src/core/SkEdge.cpp:231: undefined reference to `SkToU8(unsigned int)'
./Debug/core_SkEdge.o: In function `ZN11SkCubicEdge8setCubicEPK7SkPointPK7SkIRecti':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/src/core/SkEdge.cpp:395: undefined reference to `SkToU8(unsigned int)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/src/core/SkEdge.cpp:396: undefined reference to `SkToU8(unsigned int)'
    fCurveShift = SkToU8((size_t)shift);
    fCubicDShift = SkToU8((size_t)downShift);






./Debug/core_SkScalerContext.o: In function `load_flattenable':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/skia/src/core/SkScalerContext.cpp:129: undefined reference to `SkFlattenableReadBuffer::SkFlattenableReadBuffer(void const*, unsigned long)'
       SkFlattenableReadBuffer   buffer(data, (size_t)len);






d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:34:8: error: 'pthread_once_t' does not name a type
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\angowx\mingw\pthread.h
in Looper.cpp:
#include <pthread.h>






d:/linux/linuxkernel/WORKING_DIRECTORY/ango/angowx/android/binder/IPCThreadState.cpp:291:8: error: 'pthread_mutex_t' does not name a type
d:/linux/linuxkernel/WORKING_DIRECTORY/ango/angowx/android/binder/IPCThreadState.cpp:293:8: error: 'pthread_key_t' does not name a type
I get the following from c:\mingw-4.6.1\include\pthread.h:
typedef struct pthread_mutex_t_ * pthread_mutex_t;
I try to search in c:\mingw-4.6.1, but still get no definition for pthread_mutex_t_. I don't know why. 
But there's some complete definition of pthread_mutex_t in  E:\android-ndk-r7-windows\mytoolchain\sysroot\usr\include\pthread.h, I will try that.
/*
 * Types
 */
typedef struct
{
    int volatile value;
} pthread_mutex_t;
But I'm wrong. 
http://hi.baidu.com/gjviootibjbgtyd/item/a21895b861962c462bebe3a2
It's because the pthread.h is not actually included in IPCThreadState.cpp. So:
#define HAVE_PTHREADS
#ifdef HAVE_PTHREADS
#include <pthread.h>
#include <sched.h>
#include <sys/resource.h>
#endif




./Debug/utils_SystemClock.o: In function `ZN7android12uptimeMillisEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/SystemClock.cpp:100: undefined reference to `systemTime'
./Debug/utils_SystemClock.o: In function `ZN7android15elapsedRealtimeEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/SystemClock.cpp:130: undefined reference to `systemTime'
./Debug/AndroidRuntime_AndroidRuntime.o: In function `ZN7android14AndroidRuntime5startEPKcb':
d:/linux/linuxkernel/WORKING_DIRECTORY/ango/angowx/android/AndroidRuntime/AndroidRuntime.cpp:908: undefined reference to `systemTime'
//        LOG_EVENT_LONG(LOG_BOOT_PROGRESS_START, 
//                       ns2ms(systemTime(SYSTEM_TIME_MONOTONIC)));
comment, deal with it later
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\libs\utils\Timers.cpp
http://msdn.microsoft.com/ZH-CN/library/windows/desktop/ms725473(v=vs.85).aspx
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/power/power.c:67:16: warning: 'systemTime' defined but not used [-Wunused-function]
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\hardware\libhardware_legacy\power\power.c




In file included from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_media_JetPlayer.cpp:30:0:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/media/JetPlayer.h:23:28: fatal error: libsonivox/jet.h: No such file or directory
copy d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\sonivox\ from froyo external. 
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\sonivox\arm-wt-22k\host_src\jet.h is copied to
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\include\libsonivox\jet.h




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_backup_BackupHelperDispatcher.cpp: In function 'int android::readHeader_native(JNIEnv*, jobject, jobject, jobject)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_backup_BackupHelperDispatcher.cpp:56:83: error: 'read' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_backup_BackupHelperDispatcher.cpp: In function 'int android::writeHeader_native(JNIEnv*, jobject, jobject, jobject, jint)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_backup_BackupHelperDispatcher.cpp:196:53: error: 'write' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_server_Watchdog.cpp: In function 'void dumpOneStack(int, int)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_server_Watchdog.cpp:38:38: error: 'write' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_server_Watchdog.cpp:42:56: error: 'read' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_server_Watchdog.cpp: In function 'void dumpKernelStacks(JNIEnv*, jobject, jstring)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_server_Watchdog.cpp:73:34: error: 'write' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp: In function 'void android::write_work(int, int32_t, int32_t, int32_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp:82:44: error: 'write' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp: In function 'bool android::read_work(int, android::ActivityWork*)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp:94:53: error: 'read' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp: In member function 'int32_t AInputQueue::getEvent(AInputEvent**)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp:167:56: error: 'read' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp: In member function 'void AInputQueue::wakeupDispatch()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp:408:61: error: 'write' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_net_TrafficStats.cpp: In function 'jlong android::readNumber(const char*)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_net_TrafficStats.cpp:43:44: error: 'read' was not declared in this scope


#include <io.h>




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp: In function 'int android::register_android_app_NativeActivity(JNIEnv*)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_app_NativeActivity.cpp:1046:5: error: expected ')' before 'kNativeActivityPathName'
change FIND_CLASS to FIND_CLASSa
not working .try this:
//    FIND_CLASS(gNativeActivityClassInfo.clazz, kNativeActivityPathName);
        gNativeActivityClassInfo.clazz = env->FindClass(kNativeActivityPathName); \
        LOG_FATAL_IF(! gNativeActivityClassInfo.clazz, "Unable to find class " , kNativeActivityPathName); \
        gNativeActivityClassInfo.clazz = jclass(env->NewGlobalRef(gNativeActivityClassInfo.clazz));



In file included from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libcutils/tzstrftime.c:14:0:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/include/cutils/tztime.h:46:8: error: conflicting types for 'strftime_tz'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/time.h:98:20: note: previous declaration of 'strftime_tz' was here
in time.h:
#define HAVE_ANDROID_OS 1
struct strftime_locale {
    const char *  mon[12];
    const char *  month[12];
    const char *  standalone_month[12];
    const char *  wday[7];
    const char *  weekday[7];
    const char *  X_fmt;
    const char *  x_fmt;
    const char *  c_fmt;
    const char *  am;
    const char *  pm;
    const char *  date_fmt;
};




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_FileUtils.cpp: In function 'jint android::android_os_FileUtils_setPermissions(JNIEnv*, jobject, jstring, jint, jint, jint)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_FileUtils.cpp:73:38: error: 'chmod' was not declared in this scope
#include <sys/stat.h> 
but there're 2 stat.h
C:\MinGW-4.6.1\include\sys\stat.h
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\include\sys\stat.h
copy C:\MinGW-4.6.1\include\sys\stat.h as stata.h to avoid the mess. 
#include <sys/stata.h>
but more errors show up, so I add to d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\include\sys\stat.h:
#include <_mingw.h>
/* These functions live in liboldnames.a. */
_CRTIMP int __cdecl __MINGW_NOTHROW chmod (const char*, int);
but then:
In file included from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_ParcelFileDescriptor.cpp:28:0:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/sys/stat.h:40:37: error: previous declaration of 'int chmod(const char*, int)' with 'C++' linkage
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/io.h:305:60: error: conflicts with new declaration with 'C' linkage
so comment the stat.h and include io.h.




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/SystemClock.cpp: In function 'int64_t android::elapsedRealtime()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/SystemClock.cpp:114:49: error: 'android_atomic_cmpxchg' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/SystemClock.cpp:121:36: error: 'ANDROID_ALARM_ELAPSED_REALTIME' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/SystemClock.cpp:121:66: error: 'ANDROID_ALARM_GET_TIME' was not declared in this scope
comment them.




./Debug/jni_com_android_internal_os_ZygoteInit.o: In function `com_android_internal_os_ZygoteInit_setCapabilities':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_android_internal_os_ZygoteInit.cpp:220: undefined reference to `capset'
./Debug/jni_com_android_internal_os_ZygoteInit.o: In function `com_android_internal_os_ZygoteInit_capgetPermitted':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/com_android_internal_os_ZygoteInit.cpp:245: undefined reference to `capget'
#undef HAVE_ANDROID_OS




./Debug/jni_android_util_Process.o: In function `Z25android_os_Process_setUidP7_JNIEnvP8_jobjecti':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Process.cpp:381: undefined reference to `setuid'
./Debug/jni_android_util_Process.o: In function `Z25android_os_Process_setGidP7_JNIEnvP8_jobjecti':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_util_Process.cpp:390: undefined reference to `setgid'
./Debug/jni_android_os_Power.o: In function `android_os_Power_shutdown':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_Power.cpp:82: undefined reference to `reboot'
./Debug/jni_android_os_Power.o: In function `android_os_Power_reboot':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_Power.cpp:91: undefined reference to `reboot'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_Power.cpp:95: undefined reference to `__reboot'
./Debug/jni_android_os_FileUtils.o: In function `ZN7android35android_os_FileUtils_setPermissionsEP7_JNIEnvP8_jobjectP8_jstringiii':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_FileUtils.cpp:69: undefined reference to `chown'
./Debug/jni_android_os_FileUtils.o: In function `ZN7android35android_os_FileUtils_getFatVolumeIdEP7_JNIEnvP8_jobjectP8_jstring':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_FileUtils.cpp:130: undefined reference to `ioctl'
./Debug/binder_ProcessState.o: In function `ZN7android12ProcessState20becomeContextManagerEPFbRKNS_8String16ERKNS_2spINS_7IBinderEEEPvES9_':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/binder/ProcessState.cpp:175: undefined reference to `ioctl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/binder/ProcessState.cpp:335: undefined reference to `ioctl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/binder/ProcessState.cpp:352: undefined reference to `ioctl'
./Debug/binder_IPCThreadState.o: In function `ZN7android14IPCThreadState14talkWithDriverEb':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/binder/IPCThreadState.cpp:793: undefined reference to `ioctl'
./Debug/binder_IPCThreadState.o: In function `ZN7android14IPCThreadState16threadDestructorEPv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/binder/IPCThreadState.cpp:1088: undefined reference to `ioctl'
./Debug/binder_MemoryHeapBase.o: In function `ZN7android14MemoryHeapBase5mapfdEimj':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/binder/MemoryHeapBase.cpp:114: undefined reference to `ioctl'
./Debug/libnetutils_ifc_utils.o: In function `ifc_get_hwaddr':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:89: undefined reference to `ioctl'
./Debug/libnetutils_ifc_utils.o: In function `ifc_get_ifindex':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:102: undefined reference to `ioctl'
./Debug/libnetutils_ifc_utils.o: In function `ifc_set_flags':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:114: undefined reference to `ioctl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:116: undefined reference to `ioctl'
./Debug/libnetutils_ifc_utils.o: In function `ifc_set_addr':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:144: undefined reference to `ioctl'
./Debug/libnetutils_ifc_utils.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:154: more undefined references to `ioctl' follow
./Debug/libnetutils_ifc_utils.o: In function `ifc_set_mask':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:154: undefined reference to `ioctl'
./Debug/libnetutils_ifc_utils.o: In function `ifc_get_info':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:163: undefined reference to `ioctl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:171: undefined reference to `ioctl'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:179: undefined reference to `ioctl'
./Debug/libnetutils_ifc_utils.o: In function `ifc_create_default_route':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:202: undefined reference to `ioctl'
comment




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/AudioTrack.cpp: In member function 'android::status_t android::AudioTrack::dump(int, const android::Vector<android::String16>&) const':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/AudioTrack.cpp:1083:5: error: '::write' has not been declared
#include <io.h>




./Debug/jni_android_database_SQLiteStatement.o: In function `native_execute':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_database_SQLiteStatement.cpp:58: undefined reference to `sqlite3_step'
copy external\sqlite\ from froyo
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\sqlite\dist\sqlite3.c




In file included from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:27:0:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/arpa/inet.h:42:22: error: conflicting types for 'inet_ntoa'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/winsock2.h:545:47: note: previous declaration of 'inet_ntoa' was here
comment inet.h




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c: In function 'ifc_configure':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/ifc_utils.c:405:24: error: 'PROPERTY_KEY_MAX' undeclared (first use in this function)
#define ANDROID
#ifdef ANDROID
#define LOG_TAG "NetUtils"
#include <cutils/log.h>
#include <cutils/properties.h>
#else
#include <stdio.h>
#include <string.h>
#define LOGD printf
#define LOGW printf
#endif




./Debug/jni_android_net_TrafficStats.o: In function `readTotal':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_net_TrafficStats.cpp:82: undefined reference to `strlcat'
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\system\core\libcutils\memory.c
#undef HAVE_STRLCPY
mistake between strlcpy and strlcat.




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:23:36: fatal error: libwpa_client/wpa_ctrl.h: No such file or directory
copy external\wpa_supplicant from froyo
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\wpa_supplicant\wpa_ctrl.h




./Debug/opengl_util.o: In function `util_texImage2D':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android/opengl/util.cpp:678: undefined reference to `_imp__glCompressedTexImage2D@32'
//#include <GLES/gl.h>
#include <GL/glew.h>




c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/GL/glew.h:161:18: error: conflicting declaration 'typedef int ptrdiff_t'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/arch-x86/include/machine/_types.h:60:24: error: 'ptrdiff_t' has a previous declaration as 'typedef long int ptrdiff_t'
comment _types.h




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp: In function 'int android::read_snapshot_file(int, android::KeyedVector<android::String8, android::FileState>*)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:96:43: error: 'read' was not declared in this scope
#include <io.h>




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp: In function 'int android::backup_helper_test_empty()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:630:28: error: too many arguments to function 'int mkdir(const char*)'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/io.h:302:37: note: declared here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp: In function 'int android::backup_helper_test_four()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:689:28: error: too many arguments to function 'int mkdir(const char*)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp: In function 'int android::backup_helper_test_data_writer()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:890:28: error: too many arguments to function 'int mkdir(const char*)'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/io.h:302:37: note: declared here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:891:35: error: too many arguments to function 'int mkdir(const char*)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp: In function 'int android::backup_helper_test_data_reader()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:996:28: error: too many arguments to function 'int mkdir(const char*)'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/io.h:302:37: note: declared here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:997:35: error: too many arguments to function 'int mkdir(const char*)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp: In function 'int android::backup_helper_test_files()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:1087:28: error: too many arguments to function 'int mkdir(const char*)'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/io.h:302:37: note: declared here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:1088:35: error: too many arguments to function 'int mkdir(const char*)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp: In function 'int android::backup_helper_test_null_base()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:1219:28: error: too many arguments to function 'int mkdir(const char*)'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/io.h:302:37: note: declared here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:1220:35: error: too many arguments to function 'int mkdir(const char*)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp: In function 'int android::backup_helper_test_missing_file()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:1268:28: error: too many arguments to function 'int mkdir(const char*)'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/../../../../include/io.h:302:37: note: declared here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:1269:35: error: too many arguments to function 'int mkdir(const char*)'
remove one argument.




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/libnfc-nxp/src/phFriNfc_NdefRecord.c:42:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/libnfc-nxp/inc/phNfcTypes.h:74:25: error: conflicting types for 'int32_t'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/stdint.h:57:23: note: previous declaration of 'int32_t' was here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/libnfc-nxp/inc/phNfcTypes.h:94:25: error: conflicting types for 'uint32_t'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/stdint.h:58:23: note: previous declaration of 'uint32_t' was here
comment phNfcTypes.h




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupData.cpp: In member function 'android::status_t android::BackupDataWriter::write_padding_for(int)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupData.cpp:78:48: error: 'write' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ObbFile.cpp:146:18: error: 'read' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/InputTransport.cpp: In member function 'android::status_t android::InputChannel::sendSignal(char)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/InputTransport.cpp:136:18: error: '::write' has not been declared
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ZipFileRO.cpp: In member function 'bool android::ZipFileRO::mapCentralDirectory()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ZipFileRO.cpp:211:22: error: 'read' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ZipUtils.cpp: In static member function 'static bool android::ZipUtils::inflateToBuffer(int, void*, long int, long int)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ZipUtils.cpp:101:47: error: 'read' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/StreamingZipInflater.cpp: In member function 'int android::StreamingZipInflater::readNextChunk()':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/StreamingZipInflater.cpp:194:31: error: '::read' has not been declared
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/FileMap.cpp: In member function 'bool android::FileMap::create(const char*, int, off_t, size_t, bool)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/FileMap.cpp:107:46: error: '_get_osfhandle' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/gui/SensorChannel.cpp: In member function 'ssize_t android::SensorChannel::write(const void*, size_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/gui/SensorChannel.cpp:67:19: error: '::write' has not been declared
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/gui/SensorChannel.cpp: In member function 'ssize_t android::SensorChannel::read(void*, size_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/gui/SensorChannel.cpp:75:19: error: '::read' has not been declared
#include <io.h>




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ObbFile.cpp:225:74: error: call of overloaded 'String8(char*, uint32_t&)' is ambiguous
    mPackageName = String8(const_cast<char*>(packageName), (size_t)packageNameLen);




g++ -shared -fPIC -o ./Debug/libcorejni.so @"d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libcorejni\libcorejni.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/  -lbionic -lskia -lopengl32 -lglew32  -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 
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_xrc
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_aui
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_html
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_adv
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_core
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxbase29ud_xml
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxbase29ud_net
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_richtext
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxbase29ud
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxtiffd
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxjpegd
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxpngd
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxzlibd
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxregexud
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxexpatd
c:/mingw-4.6.1/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxregexud
delete ming32, reinstall




./Debug/jni_android_message_digest_sha1.o: In function `native_init':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_message_digest_sha1.cpp:46: undefined reference to `SHA1_Init'
http://www.openssl.org/source/
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\openssl-1.0.1c\openssl-1.0.1c\INSTALL.W32
get openssl source, and build the lib. do as the guide of INSTALL.W32, u need install quite a lot bin file like grep, awk, etc.
e:\tools\webzip\wget\gcc for Win32\mingw\install\msys\grep-2.5.4-2-msys-1.0.13-bin.tar.lzma
e:\tools\webzip\wget\gcc for Win32\mingw\install\msys\gawk-3.1.7-2-msys-1.0.13-bin.tar.lzma
e:\tools\webzip\wget\gcc for Win32\mingw\install\msys\termcap-0.20050421_1-2-msys-1.0.13-bin.tar.lzma
e:\tools\webzip\wget\gcc for Win32\mingw\install\msys\libtermcap-0.20050421_1-2-msys-1.0.13-dll-0.tar.lzma
e:\tools\webzip\wget\gcc for Win32\mingw\install\msys\libregex-1.20090805-2-msys-1.0.13-dll-1.tar.lzma
e:\tools\webzip\wget\gcc for Win32\mingw\install\msys\bash-3.1.17-4-msys-1.0.16-bin.tar.lzma
e:\tools\webzip\wget\gcc for Win32\mingw\install\msys\msysCORE-1.0.17-1-msys-1.0.17-bin.tar
But after the lib is built, the above issue shows up. u have to delete mingw and reinstall it.




./Debug/jni_android_view_MotionEvent.o: In function `ZN7android33android_view_MotionEvent_toNativeEP7_JNIEnvP8_jobjectPNS_11MotionEventE':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_view_MotionEvent.cpp:205: undefined reference to `android::MotionEvent::initialize(int, int, int, int, int, int, float, float, float, float, long long, long long, unsigned long, int const*, android::PointerCoords const*)'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/Input.cpp:129:6: error: prototype for 'void android::MotionEvent::initialize(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, float, float, float, float, nsecs_t, nsecs_t, android::size_t, const int32_t*, const android::PointerCoords*)' does not match any in class 'android::MotionEvent'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/ui/Input.h:370:10: error: candidate is: void android::MotionEvent::initialize(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, float, float, float, float, nsecs_t, nsecs_t, size_t, const int32_t*, const android::PointerCoords*)
typedef long unsigned int size_t;




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ZipFileRO.cpp:22:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/utils/FileMap.h:58:17: error: 'off_t' has not been declared
c:\wxwidgets-2.9.4\include\wx\filefn.h
#include <wx/filefn.h>
but more errors come out, so:
       typedef long off_t;




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/FileMap.cpp: In member function 'bool android::FileMap::create(const char*, int, off_t, size_t, bool)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/FileMap.cpp:183:19: error: 'adjLength' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/FileMap.cpp:185:35: error: 'adjust' was not declared in this scope
#define HAVE_WIN32_FILEMAP




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/FileMap.cpp: In member function 'bool android::FileMap::create(const char*, int, off_t, size_t, bool)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/FileMap.cpp:107:5: error: 'mFileHandle' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/FileMap.cpp:107:46: error: '_get_osfhandle' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/FileMap.cpp:108:5: error: 'mFileMapping' was not declared in this scope
in d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\include\utils\FileMap.h:
#define HAVE_WIN32_FILEMAP






                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ZipFileRO.cpp:22:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/utils/FileMap.h:128:5: error: 'HANDLE' does not name a type
c:\wxwidgets-2.9.4\include\wx\defs.h
#include <wx/defs.h>




./Debug/utils_Looper.o: In function `Looper':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:60: undefined reference to `epoll_create'
//#define LOOPER_USES_EPOLL
http://jazka.blog.51cto.com/809003/251759
http://jazka.blog.51cto.com/809003/252620/




./Debug/utils_Looper.o: In function `ZN7android6Looper9pollInnerEi':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:222: undefined reference to `poll'
http://stackoverflow.com/questions/1671827/poll-c-function-on-windows
http://svn.dojotoolkit.org/src/trunk/src/dot/proxy/mingw.h
http://svn.dojotoolkit.org/src/trunk/src/dot/proxy/mingw.c
http://svn.dojotoolkit.org/src/trunk/src/dot/proxy/
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libcorejni\mingw-poll.c
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libcorejni\mingw_poll.h
#include <mingw_poll.h>




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_MessageQueue.cpp:21:
./mingw_poll.h:132:8: error: redefinition of 'struct iovec'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/include/cutils/uio.h:33:8: error: previous definition of 'struct iovec'
comment mingw_poll.h




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/packet.c: In function 'send_packet':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/packet.c:94:18: error: array type has incomplete element type
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/packet.c:149:46: error: invalid application of 'sizeof' to incomplete type 'struct iovec' 
#include <cutils/uio.h>








./Debug/utils_Looper.o: In function `ZN7android6Looper9pollInnerEi':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:224: undefined reference to `poll'
#include <mingw_poll.h>
#define poll(x, y, z)        mingw_poll(x, y, z)




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp: In member function 'int android::Looper::pollInner(int)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:225:22: error: 'mingw_poll' was not declared in this scope
#define MINGW




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/core/jni/android_os_MessageQueue.cpp:21:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/kernel/common/asm-generic/poll.h:40:8: error: redefinition of 'struct pollfd'
./mingw_poll.h:73:8: error: previous definition of 'struct pollfd'
comment poll.h




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/include/surfaceflinger/Surface.h:224:25: error: macro "connect" requires 3 arguments, but only 1 given
D:\linux\linuxkernel\WORKING_DIRECTORY\ango\libcorejni\mingw_poll.h
//#define connect(x, y, z)     mingw_connect(x, y, z)




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/uevent/uevent.c: In function 'uevent_next_event':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/uevent/uevent.c:60:23: error: storage size of 'fds' isn't known
#include <mingw_poll.h>




./Debug/utils_Looper.o: In function `ZN7android6Looper9pollInnerEi':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:225: undefined reference to `mingw_poll(pollfd*, unsigned int, int)'
#define MINGW
not working.
I put mingw_poll into Looper.cpp, the link is ok now. Maybe this is because of c and c++ issue.




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:29:
./mingw_poll.h:129:5: error: previous declaration of 'int mingw_stat(const char*, stat*)' with 'C++' linkage
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/sys/stat.h:90:15: error: conflicts with new declaration with 'C' linkage
comment mingw_poll.h




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/Looper.cpp:29:
./object.h:168:26: error: expected ',' or '...' before 'public'
comment




./Debug/utils_BackupHelpers.o: In function `ZN7android24backup_helper_test_filesEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/BackupHelpers.cpp:1160: undefined reference to `utimes'
http://lists.kde.org/?l=kde-windows&m=118306852504454
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libcorejni\utimes_windows.patch
D:\linux\linuxkernel\WORKING_DIRECTORY\ango\libcorejni\mingw_corejni.cpp




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/include/cutils/threads.h:107:3: error: conflicting declaration 'typedef struct mutex_t mutex_t'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/include/cutils/threads.h:81:27: error: 'mutex_t' has a previous declaration as 'typedef struct pthread_mutex_t mutex_t'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\system\core\include\cutils\threads.h
#undef HAVE_PTHREADS




./Debug/utils_ZipUtils.o: In function `ZN7android8ZipUtils11examineGzipEP7__sFILEPiPlS4_Pm':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ZipUtils.cpp:283: undefined reference to `__srget'
c:\mingw-4.6.1\include\stdio.h
save stdio.h as stdio1.h
in ZipUtils.cpp:
#include <stdio1.h>




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/utils/ZipUtils.cpp:46:3: error: conflicting declaration 'typedef struct _iobuf FILE'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/stdio.h:153:3: error: 'FILE' has a previous declaration as 'typedef struct __sFILE FILE'




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/sqlite/android/sqlite3_android.cpp:24:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/wchar.h:53:33: error: conflicting declaration 'typedef int wint_t'
c:\mingw-4.6.1\bin\../lib/gcc/mingw32/4.6.1/include/stddef.h:355:23: error: 'wint_t' has a previous declaration as 'typedef short unsigned int wint_t'
comment wchar.h




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/sqlite/android/sqlite3_android.cpp:24:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/wchar.h:104:47: error: declaration of C function 'wint_t putwc(wchar_t, FILE*)' conflicts with
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/stdio.h:596:40: error: previous declaration 'wint_t putwc(wint_t, FILE*)' here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/wchar.h:105:42: error: declaration of C function 'wint_t putwchar(wchar_t)' conflicts with
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/stdio.h:598:40: error: previous declaration 'wint_t putwchar(wint_t)' here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/wchar.h:106:74: error: declaration of C function 'int swprintf(wchar_t*, size_t, const wchar_t*, ...)' conflicts with
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/stdio.h:586:37: error: previous declaration 'int swprintf(wchar_t*, const wchar_t*, ...)' here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/wchar.h:110:48: error: declaration of C function 'wint_t ungetwc(wint_t, FILE*)' conflicts with
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/stdio.h:582:40: error: previous declaration 'wint_t ungetwc(wchar_t, FILE*)' here
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/wchar.h:113:79: error: declaration of C function 'int vswprintf(wchar_t*, size_t, const wchar_t*, va_list)' conflicts with
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/stdio.h:587:37: error: previous declaration 'int vswprintf(wchar_t*, const wchar_t*, __gnuc_va_list)' here
comment wchar.h




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/pixelflinger.cpp:36:
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/tinyutils/Errors.h:35:5: error: expected identifier before numeric constant
change NO_ERROR to NO_ERROR1
    NO_ERROR1          = 0,    // No errors.




./Debug/GLES_CM_gl.o: In function `glPointSizePointerOESBounds@16':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/gl.cpp:77: undefined reference to `_imp__glPointSizePointerOES@12'
#include <GLES/gl.h>
#include <GLES/glext.h>




./Debug/GLES_CM_gl.o: In function `glPointSizePointerOESBounds':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/GLES_CM/gl.cpp:79: undefined reference to `glPointSizePointerOES'
http://ftke.googlecode.com/svn/trunk/ogles/src/ContextPoints.cpp
comment.




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:168: undefined reference to `vtable for android::egl_surface_t'
http://blog.csdn.net/yili_xie/article/details/4803482
NO destruction method
uncomment
egl_surface_t::~egl_surface_t()
{
    magic = 0;
    free(depth.data);
}




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:206: multiple definition of `android::egl_surface_t::~egl_surface_t()'
./Debug/libagl_egl.o:d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libagl/egl.cpp:174: first defined here
comment egl_surface_t in libagl/egl.cpp
but then libagl/egl.cpp shows more errors like missing egl_surface_t. so I uncomment egl_surface_t and change it to egl_surface_t1.




./Debug/libagl_egl.o:egl.cpp:(.rdata+0x4b4): undefined reference to `android::eglCreateImageKHR(void*, void*, unsigned int, void*, int const*)'
./Debug/libagl_egl.o:egl.cpp:(.rdata+0x4bc): undefined reference to `android::eglDestroyImageKHR(void*, void*)'
./Debug/libagl_egl.o:egl.cpp:(.rdata+0x4c4): undefined reference to `android::eglSetSwapRectangleANDROID(void*, void*, int, int, int, int)'
in d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\opengl\libs\EGL\egl.cpp, but not in namespace android, need to move them in android.




./Debug/EGL_egl.o: In function `ZN7android23egl_init_drivers_lockedEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/opengl/libs/EGL/egl.cpp:579: undefined reference to `_imp___ZN7android6gHooksE'
http://blog.csdn.net/mr_raptor/article/details/7730992
http://www.woa123.com/search3.php?keyword=SurfaceFlinger%E5%90%AF%E5%8A%A8%E8%BF%87%E7%A8%8B%E5%88%86%E6%9E%90&zuo=baidu&you=google&leftd=qq&rightd=bing&submit=%CB%D1%CB%F7
http://wenku.baidu.com/view/3b04126727d3240c8447ef71
http://blog.csdn.net/hnust_cool/article/details/7493562
http://blog.163.com/daniel_won/blog/static/172841458201121632735247/
http://www.woa123.com/search3.php?keyword=Android+OpenGL+ES+%E5%88%86%E6%9E%90%E4%B8%8E%E5%AE%9E%E8%B7%B5&zuo=baidu&you=google&leftd=qq&rightd=bing&submit=%CB%D1%CB%F7
http://it.chinawin.net/softwaredev/article-112e9.html
http://wenku.baidu.com/view/6269ed8783d049649b66587f.html
http://www.cnblogs.com/leaven/archive/2010/11/17.html
delete EGLAPI prefix
 gl_hooks_t gHooks[2][IMPL_NUM_IMPLEMENTATIONS];
//EGLAPI gl_hooks_t gHooks[2][IMPL_NUM_IMPLEMENTATIONS];




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/GraphicBufferMapper.cpp:23:23: fatal error: sys/user.h: No such file or directory
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\kernel\common\linux\user.h




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/GraphicLog.cpp: In function 'void android::writeInt32(uint8_t*, size_t&, int32_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/GraphicLog.cpp:36:30: error: 'htole32' was not declared in this scope
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/GraphicLog.cpp: In function 'void android::writeInt64(uint8_t*, size_t&, int64_t)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/libs/ui/GraphicLog.cpp:48:30: error: 'htole64' was not declared in this scope
windows is LITTLE_ENDIAN, comment. 




./Debug/common_uprops.o: In function `u_hasBinaryProperty_44':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/uprops.cpp:192: undefined reference to `_imp___ZN6icu_4418Normalizer2Factory10getNFCImplER10UErrorCode'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\normalizer2impl.h
class U_COMMON_API Normalizer2Factory {
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\utypes.h
#define U_COMMON_API   U_EXPORT
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
remove U_COMMON_API




./Debug/common_uprops.o: In function `u_hasBinaryProperty_44':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/uprops.cpp:218: undefined reference to `_imp___ZN6icu_4413UnicodeStringC1Ei'
more are coming.
so change the 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
it's not working 
in D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\unistr.h
#define U_COMMON_API
class U_COMMON_API UnicodeString : public Replaceable




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/unicode/uobject.h:215: undefined reference to `_imp___ZTVN6icu_447UObjectE'
./Debug/common_unorm.o: In function `~Normalizer2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/unicode/normalizer2.h:77: undefined reference to `_imp___ZN6icu_447UMemorydlEPv'
./Debug/common_unorm.o: In function `~Normalizer2':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/unicode/normalizer2.h:78: undefined reference to `_imp___ZN6icu_447UMemorydlEPv'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\bytestream.h
#define U_COMMON_API




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/unicode/uobject.h:215:0: warning: "U_COMMON_API" redefined [enabled by default]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/unicode/utypes.h:500:0: note: this is the location of the previous definition
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\utypes.h
//#define U_COMMON_API   U_IMPORT
#define U_COMMON_API   




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/putil.c: In function 'uprv_timezone_44':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/putil.c:604:12: error: '_timezone' undeclared (first use in this function)
comment




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/putil.c: In function 'uprv_tzname_44':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/putil.c:1004:24: error: '_tzname' undeclared (first use in this function)
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\pwin32.h
/**
 * @internal 
 */
#if 1
#define U_TIMEZONE      _timezone
#endif
/**
 * @internal 
 */
#if 1
#define U_TZNAME        _tzname
#endif
C:\MinGW-4.6.1\include\time_mingw.h
extern int* _imp___daylight_dll;
extern long* _imp___timezone_dll;
extern char** _imp___tzname;


#define _daylight (*_imp___daylight_dll)
#define _timezone (*_imp___timezone_dll)
#define _tzname (*_imp___tzname)
in putil.c
//#include <time.h>
#include <time_mingw.h>




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/loclikely.cpp:543:13: error: '::_strnicmp' has not been declared
#include <string.h>
c:\mingw-4.6.1\include\string.h
_CRTIMP int __cdecl __MINGW_NOTHROW _strnicmp (const char*, const char*, size_t);




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/locdispnames.cpp: In function 'int32_t uloc_getDisplayKeywordValue_44(const char*, const char*, const char*, UChar*, int32_t, UErrorCode*)':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/locdispnames.cpp:769:8: error: '::_stricmp' has not been declared
#include <string.h>
_CRTIMP int __cdecl __MINGW_NOTHROW _stricmp (const char*, const char*);




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/unicode/stringpiece.h:186:31: error: definition of static data member 'icu_44::StringPiece::npos' of dllimport'd class
class  StringPiece : public UMemory {




./Debug/common_ucnv_u8.o: In function `ucnv_UTF8FromUTF8':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/ucnv_u8.c:822: undefined reference to `_imp__utf8_countTrailBytes_44'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\utf_impl.c
//U_EXPORT const uint8_t 
 const uint8_t 




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/ucnvlat1.c:408: undefined reference to `_imp__utf8_countTrailBytes_44'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\utf8.h
//#ifdef U_UTF8_IMPL
//U_EXPORT const uint8_t 
//#elif defined(U_STATIC_IMPLEMENTATION) || defined(U_COMMON_IMPLEMENTATION)
//U_CFUNC const uint8_t
//#else
//U_CFUNC U_IMPORT const uint8_t /* U_IMPORT2? */ /*U_IMPORT*/ 
//#endif
const uint8_t utf8_countTrailBytes[256];




./Debug/common_udata.o: In function `openCommonData':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/udata.c:803: undefined reference to `_imp__icudt44_dat'
http://www.ibm.com/developerworks/ibmi/library/i-icu-on-ibmi/
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\udata.c (3 hits)
Line 756: extern  const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT;
Line 803:                 if(gCommonICUDataArray[i]->pHeader == &U_ICUDATA_ENTRY_POINT) {
Line 822:             setCommonICUDataPointer(&U_ICUDATA_ENTRY_POINT, FALSE, pErrorCode);
  D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\utypes.h (1 hit)
Line 250: #define U_ICUDATA_ENTRY_POINT  U_DEF2_ICUDATA_ENTRY_POINT(U_ICU_VERSION_MAJOR_NUM, U_ICU_VERSION_MINOR_NUM)
Line 263: #define U_DEF_ICUDATA_ENTRY_POINT(major, minor) icudt##major##minor##_dat
delete extern and U_DATA_API in udata.c
//extern  const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT;
  const DataHeader  U_ICUDATA_ENTRY_POINT;



./Debug/common_locdispnames.o: In function `uloc_getDisplayKeywordValue_44':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/locdispnames.cpp:771: undefined reference to `_stricmp(char const*, char const*)'
./Debug/common_loclikely.o: In function `parseTagString':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/external/icu4c/common/loclikely.cpp:520: undefined reference to `_strnicmp(char const*, char const*, unsigned long)'
http://www.oschina.net/code/explore/putty-0.60/MAC/STRICMP.C



d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\frameworks\base\libs\utils\Android.mk
include $(BUILD_STATIC_LIBRARY) 




dynamic library not working: undefined reference to 
D:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\include\assert.h




./Debug/wifi_wifi.o: In function `insmod':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:90: undefined reference to `init_module'
./Debug/wifi_wifi.o: In function `rmmod':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:103: undefined reference to `delete_module'
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\arch-x86\syscalls\delete_module.S
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\arch-x86\syscalls\init_module.S
./Debug/wifi_wifi.o: In function `do_dhcp_request':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:125: undefined reference to `do_dhcp'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:130: undefined reference to `get_dhcp_info'
./Debug/wifi_wifi.o: In function `get_dhcp_error_string':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:135: undefined reference to `dhcp_lasterror'
./Debug/wifi_wifi.o: In function `ensure_config_file_exists':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:263: undefined reference to `chown'
./Debug/wifi_wifi.o: In function `wifi_start_supplicant':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:294: undefined reference to `wpa_ctrl_cleanup'
./Debug/wifi_wifi.o: In function `wifi_connect_to_supplicant':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:381: undefined reference to `wpa_ctrl_open'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:387: undefined reference to `wpa_ctrl_open'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:389: undefined reference to `wpa_ctrl_close'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:393: undefined reference to `wpa_ctrl_attach'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:394: undefined reference to `wpa_ctrl_close'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:395: undefined reference to `wpa_ctrl_close'
./Debug/wifi_wifi.o: In function `wifi_send_command':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:410: undefined reference to `wpa_ctrl_request'
./Debug/wifi_wifi.o: In function `wifi_wait_for_event':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:439: undefined reference to `wpa_ctrl_recv'
./Debug/wifi_wifi.o: In function `wifi_close_supplicant_connection':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:478: undefined reference to `wpa_ctrl_close'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/hardware/libhardware_legacy/wifi/wifi.c:482: undefined reference to `wpa_ctrl_close'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer4initEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:76: undefined reference to `EAS_Config'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:83: undefined reference to `EAS_Init'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:90: undefined reference to `JET_Init'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer7releaseEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:140: undefined reference to `JET_Pause'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:141: undefined reference to `JET_CloseFile'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:142: undefined reference to `JET_Shutdown'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:143: undefined reference to `EAS_Shutdown'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer6renderEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:223: undefined reference to `EAS_Render'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:236: undefined reference to `JET_Status'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer22fireEventsFromJetQueueEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:330: undefined reference to `JET_GetEvent'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:335: undefined reference to `JET_GetEvent'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer12loadFromFileEPKc':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:361: undefined reference to `JET_OpenFile'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer10loadFromFDEixx':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:383: undefined reference to `JET_OpenFile'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer9closeFileEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:396: undefined reference to `JET_CloseFile'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer4playEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:406: undefined reference to `JET_Play'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:411: undefined reference to `JET_Status'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer5pauseEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:428: undefined reference to `JET_Pause'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:432: undefined reference to `JET_Status'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer12queueSegmentEiiiimh':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:448: undefined reference to `JET_QueueSegment'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer12setMuteFlagsEmb':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:455: undefined reference to `JET_SetMuteFlags'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer11setMuteFlagEibb':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:462: undefined reference to `JET_SetMuteFlag'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer11triggerClipEi':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:470: undefined reference to `JET_TriggerClip'
./Debug/libmedia_JetPlayer.o: In function `ZN7android9JetPlayer10clearQueueEv':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/frameworks/base/media/libmedia/JetPlayer.cpp:478: undefined reference to `JET_Clear_Queue'
comment




d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\sqlite\android\sqlite3_android.cpp: undefined reference to ucol_strcoll_44
    UCollationResult result = ucol_strcoll(coll, (const UChar *) v1, n1,
                                                 (const UChar *) v2, n2);
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\urename.h
#define ucol_strcoll U_ICU_ENTRY_POINT_RENAME(ucol_strcoll)
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c\common\unicode\uvernum.h
/** Glued version suffix function for renamers 
 *  This value will change in the subsequent releases of ICU.
 *  If a custom suffix (such as matching library suffixes) is desired, this can be modified.
 *  Note that if present, platform.h may contain an earlier definition of this macro.
 *  @draft ICU 4.2
 */
#ifndef U_ICU_ENTRY_POINT_RENAME
#define U_ICU_ENTRY_POINT_RENAME(x)    x ## _44
#endif
http://apps.icu-project.org/icu-jsp/downloadPage.jsp?ver=4.4.1&base=c
http://download.icu-project.org/files/icu4c/4.4.1/icu4c-4_4_1-Win32-msvc9.zip
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\external\icu4c-4_4_1-Win32-msvc9\icu\bin\icuin44.dll




d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/dhcpclient.c: In function 'dhcp_init_ifc':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/dhcpclient.c:417:19: error: storage size of 'pfd' isn't known
D:\linux\linuxkernel\WORKING_DIRECTORY\ango\libcorejni\mingw_poll.h
struct pollfd {
    SOCKET fd;        /* file descriptor */
    short events;     /* requested events */
    short revents;    /* returned events */
};
#include "mingw_poll.h"




./Debug/libnetutils_packet.o: In function `send_packet':
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libnetutils/packet.c:154: undefined reference to `sendmsg'
http://www.oschina.net/code/explore/membase-1.6.4.1/memcached/win32/win32.h
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\memcached-1.2.6-win32-src\memcached-1.2.6-win32\win32\win32.h
d:\linux\linuxkernel\WORKING_DIRECTORY\ango\libcorejni\win32.h
comment sendmsg in d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\bionic\libc\include\sys\socket.h, and 
#include "win32.h"






d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/kernel/common/asm-generic/errno.h:81:0: note: this is the location of the previous definition
./win32.h:38:13: error: conflicting types for 'ssize_t'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/arch-x86/include/machine/_types.h:52:24: note: previous declaration of 'ssize_t' was here
./win32.h:46:8: error: redefinition of 'struct iovec'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/include/cutils/uio.h:33:8: note: originally defined here
./win32.h:50:8: error: redefinition of 'struct msghdr'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/kernel/common/linux/socket.h:47:8: note: originally defined here
comment win32.h




./win32.h:128:25: error: invalid type argument of unary '*' (have 'int')
./win32.h:134:4: error: invalid type argument of unary '*' (have 'int')
./win32.h:138:4: error: invalid type argument of unary '*' (have 'int')
./win32.h:141:4: error: invalid type argument of unary '*' (have 'int')
./win32.h:144:4: error: invalid type argument of unary '*' (have 'int')
./win32.h:147:4: error: invalid type argument of unary '*' (have 'int')
comment 




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:25:
d:/linux/linuxkernel/WORKING_DIRECTORY/ango/angowx/android/AndroidRuntime/mingw-compat.h:62:9: warning: "/*" within comment [-Wcomment]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:65:42: error: macro "min" passed 3 arguments, but takes just 2
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:66:42: error: macro "max" passed 3 arguments, but takes just 2
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:80:35: error: macro "min" passed 3 arguments, but takes just 2
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:83:35: error: macro "max" passed 3 arguments, but takes just 2
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:540:52: error: macro "min" passed 3 arguments, but takes just 2
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:541:52: error: macro "min" passed 3 arguments, but takes just 2
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:542:52: error: macro "max" passed 3 arguments, but takes just 2
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:543:52: error: macro "max" passed 3 arguments, but takes just 2
comment




                 from d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:25:
d:/linux/linuxkernel/WORKING_DIRECTORY/ango/angowx/android/AndroidRuntime/mingw-compat.h:62:9: warning: "/*" within comment [-Wcomment]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:540:52: error: macro "min" passed 3 arguments, but takes just 2
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:541:52: error: macro "min" passed 3 arguments, but takes just 2
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:542:52: error: macro "max" passed 3 arguments, but takes just 2
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/system/core/libpixelflinger/trap.cpp:543:52: error: macro "max" passed 3 arguments, but takes just 2
rename min of 3 arguments to min1