[Android Q&A, Help & Troubleshooting] Deltatiger:
[CODE]
external/mesa3d/src/glsl/linker.cpp:1394:49: error: expected primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1394:50: error: ‘varyings’ was not declared in this scope
external/mesa3d/src/glsl/linker.cpp:1394:58: error: ‘offsetof’ was not declared in this scope
external/mesa3d/src/glsl/linker.cpp:1395:48: error: expected primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1412:47: error: expected primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1412:48: error: ‘position’ was not declared in this scope
external/mesa3d/src/glsl/linker.cpp:1414:47: error: expected primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1414:48: error: ‘pointSize’ was not declared in this scope
external/mesa3d/src/glsl/linker.cpp:1424:47: error: expected primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1424:48: error: ‘position’ was not declared in this scope
external/mesa3d/src/glsl/linker.cpp:1428:47: error: expected primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1428:48: error: ‘frontFacingPointCoord’ was not declared in this scope
external/mesa3d/src/glsl/linker.cpp:1431:47: error: expected primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1431:48: error: ‘frontFacingPointCoord’ was not declared in this scope
external/mesa3d/src/glsl/linker.cpp: In function ‘void link_shaders(const gl_context*, gl_shader_program*)’:
external/mesa3d/src/glsl/linker.cpp:1734:49: error: expected primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1734:50: error: ‘fragColor’ was not declared in this scope
external/mesa3d/src/glsl/linker.cpp:1734:59: error: ‘offsetof’ was not declared in this scope
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libMesa_intermediates/src/glsl/linker.o] Error 1
make: *** Waiting for unfinished jobs....
true

Im getting this error and now i am clueless. This is showing error in the linker.cpp.... is there a fix or am I doing something wrong?

EDIT:

Think i fixed this error. Will get back if it compiles.

(Copied the linker.cpp from googles git)

EDIT:

Now am encountering this error. How can i fix this.?

host Executable: dexopt (out/host/linux-x86/obj/EXECUTABLES/dexopt_intermediates/dexopt)
true
true
Install: out/host/linux-x86/framework/FrameworkCoreHostTests.jar
Install: out/host/linux-x86/framework/hierarchyviewerlib.jar
Install: out/host/linux-x86/framework/anttasks.jar
host Java: apache-xml-hostdex (out/host/common/obj/JAVA_LIBRARIES/apache-xml-hostdex_intermediates/classes)
host Java: bouncycastle-hostdex (out/host/common/obj/JAVA_LIBRARIES/bouncycastle-hostdex_intermediates/classes)
collect2: ld terminated with signal 9 [Killed]
make: *** [out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang] Error 1
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
true
deltaubuntu@deltaubuntu:~/WORKING_DIRECTORY$

Also my Java is openJDK (1.6.0.24) as i cannot install the jdk6 from command promt+

[/CODE]

Okay Solved it. Some dependencies were not installed i think.

How do I test the build with the emulater (sdk) ?