harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura" <stepan.mish...@gmail.com>
Subject [jdktools] Failed to build java6 branch on Linux
Date Tue, 04 Mar 2008 11:43:06 GMT
Hi,

I've updated federated build to take into account java6 branch for
jdktools and tried to build it. The build failed with log below:

<SNIP>
     [exec] cc -DLINUX -DLINUX_X86 -DHYX86 -DIPv6_FUNCTION_SUPPORT
-D_REENTRANT -I/export/users/smishura/snapshot/working_classlib/deploy/include
-I/export/users/smishura/snapshot/working_classlib/deploy/jdk/include
-I. -I../shared/ -I../../common/agent/commands
-I../../common/agent/core -I../../common/generic -Icore -fpic
-march=pentium3 -O1 -DNDEBUG -fpic   -c -o
../../common/agent/commands/ReferenceType.o
../../common/agent/commands/ReferenceType.cpp
     [exec] ../../common/agent/commands/ReferenceType.h:398: error:
\u2018jvmtiHeapReferenceKind\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.h:399: error:
expected primary-expression before \u2018const\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:400: error:
expected primary-expression before \u2018class_tag\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:401: error:
expected primary-expression before \u2018referrer_class_tag\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:402: error:
expected primary-expression before \u2018size\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:403: error:
expected primary-expression before \u2018*\u2019 token
     [exec] ../../common/agent/commands/ReferenceType.h:403: error:
\u2018tag_ptr\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.h:404: error:
expected primary-expression before \u2018*\u2019 token
     [exec] ../../common/agent/commands/ReferenceType.h:404: error:
\u2018referrer_tag_ptr\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.h:405: error:
expected primary-expression before \u2018length\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:406: error:
expected primary-expression before \u2018void\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:406: error:
initializer expression list treated as compound expression
     [exec] ../../common/agent/commands/ReferenceType.h:413: error:
\u2018jvmtiHeapReferenceKind\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.h:414: error:
expected primary-expression before \u2018const\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:415: error:
expected primary-expression before \u2018object_class_tag\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:416: error:
expected primary-expression before \u2018*\u2019 token
     [exec] ../../common/agent/commands/ReferenceType.h:416: error:
\u2018object_tag_ptr\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.h:417: error:
expected primary-expression before \u2018value\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:418: error:
\u2018jvmtiPrimitiveType\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.h:419: error:
expected primary-expression before \u2018void\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:419: error:
initializer expression list treated as compound expression
     [exec] ../../common/agent/commands/ReferenceType.h:429: error:
\u2018jvmtiPrimitiveType\u2019 has not been declared
     [exec] ../../common/agent/commands/ReferenceType.cpp: In member
function \u2018virtual void
jdwp::ReferenceType::InstancesHandler::Execute(JNIEnv*)\u2019:
     [exec] ../../common/agent/commands/ReferenceType.cpp:878: error:
\u2018jvmtiHeapCallbacks\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.cpp:878: error:
expected `;' before \u2018hcbs\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp:879: error:
\u2018hcbs\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.cpp:888: error:
\u2018struct jvmtiEnv_struct\u2019 has no member named
\u2018FollowReferences\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp: In member
function \u2018virtual void
jdwp::ReferenceType::ClassFileVersionHandler::Execute(JNIEnv*)\u2019:
     [exec] ../../common/agent/commands/ReferenceType.cpp:957: error:
\u2018struct jvmtiEnv_struct\u2019 has no member named
\u2018GetClassVersionNumbers\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp: At global scope:
     [exec] ../../common/agent/commands/ReferenceType.cpp:984: error:
redefinition of \u2018jint
jdwp::ReferenceType::HeapReferenceCallback\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:398: error:
\u2018jint jdwp::ReferenceType::HeapReferenceCallback\u2019 previously
defined here
     [exec] ../../common/agent/commands/ReferenceType.cpp:984: error:
\u2018jvmtiHeapReferenceKind\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.cpp:985: error:
expected primary-expression before \u2018const\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp:986: error:
expected primary-expression before \u2018class_tag\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp:987: error:
expected primary-expression before \u2018referrer_class_tag\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp:988: error:
expected primary-expression before \u2018size\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp:989: error:
expected primary-expression before \u2018*\u2019 token
     [exec] ../../common/agent/commands/ReferenceType.cpp:989: error:
\u2018tag_ptr\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.cpp:990: error:
expected primary-expression before \u2018*\u2019 token
     [exec] ../../common/agent/commands/ReferenceType.cpp:990: error:
\u2018referrer_tag_ptr\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.cpp:991: error:
expected primary-expression before \u2018length\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp:992: error:
expected primary-expression before \u2018void\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp:1002: error:
redefinition of \u2018jint
jdwp::ReferenceType::PrimitiveFieldCallback\u2019
     [exec] ../../common/agent/commands/ReferenceType.h:413: error:
\u2018jint jdwp::ReferenceType::PrimitiveFieldCallback\u2019
previously defined here
     [exec] ../../common/agent/commands/ReferenceType.cpp:1002: error:
\u2018jvmtiHeapReferenceKind\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.cpp:1003: error:
expected primary-expression before \u2018const\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp:1004: error:
expected primary-expression before \u2018object_class_tag\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp:1005: error:
expected primary-expression before \u2018*\u2019 token
     [exec] ../../common/agent/commands/ReferenceType.cpp:1005: error:
\u2018object_tag_ptr\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.cpp:1006: error:
expected primary-expression before \u2018value\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp:1007: error:
\u2018jvmtiPrimitiveType\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.cpp:1008: error:
expected primary-expression before \u2018void\u2019
     [exec] ../../common/agent/commands/ReferenceType.cpp:1021: error:
\u2018jvmtiPrimitiveType\u2019 has not been declared
     [exec] ../../common/agent/commands/ReferenceType.cpp: In function
\u2018jint jdwp::ReferenceType::ArrayPrimitiveValueCallback(jlong,
jlong, jlong*, jint, int, const void*, void*)\u2019:
     [exec] ../../common/agent/commands/ReferenceType.cpp:1025: error:
\u2018JVMTI_VISIT_OBJECTS\u2019 was not declared in this scope
     [exec] ../../common/agent/commands/ReferenceType.cpp: In function
\u2018jint jdwp::ReferenceType::StringPrimitiveValueCallback(jlong,
jlong, jlong*, const jchar*, jint, void*)\u2019:
     [exec] ../../common/agent/commands/ReferenceType.cpp:1039: error:
\u2018JVMTI_VISIT_OBJECTS\u2019 was not declared in this scope
     [exec] make: *** [../../common/agent/commands/ReferenceType.o] Error 1

BUILD FAILED
/export/users/smishura/snapshot/build.xml:444: The following error
occurred while executing this line:
/export/users/smishura/snapshot/working_jdktools/build.xml:179: The
following error occurred while executing this line:
/export/users/smishura/snapshot/working_jdktools/make/build-native.xml:60:
The following error occurred while executing this line:
/export/users/smishura/snapshot/working_jdktools/make/properties.xml:336:
The following error occurred while executing this line:
/export/users/smishura/snapshot/working_jdktools/modules/jpda/build.xml:139:
The following error occurred while executing this line:
/export/users/smishura/snapshot/working_jdktools/make/properties.xml:354:
exec returned: 2

Thanks,
Stepan.

Mime
View raw message