[jira] [Commented] (QPID-4723) Compile qmf-agent failed on qpid-0.20
[ https://issues.apache.org/jira/browse/QPID-4723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624411#comment-13624411 ] jim yefeng commented on QPID-4723: -- my configure parameters: ./configure --with-pic --with-doxygen --with-help2man --with-swig --with-sasl --with-xml --with-rdma --with-ssl > Compile qmf-agent failed on qpid-0.20 > - > > Key: QPID-4723 > URL: https://issues.apache.org/jira/browse/QPID-4723 > Project: Qpid > Issue Type: Bug > Components: C++ Broker >Affects Versions: 0.20 > Environment: centos 6.3 x86_64 >Reporter: jim yefeng >Priority: Blocker > > [jim@dev-1 examples]$ cd qmf-agent/ > [jim@dev-1 qmf-agent]$ ls > example.cpp example.d example_gen.mak gen Makefile qmf_agent.vcproj > schema.xml > [jim@dev-1 qmf-agent]$ make > ../../../cpp/managementgen/qmf-gen -o ./gen/qmf ./schema.xml > make[1]: Entering directory > `/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent' > make[2]: Entering directory > `/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent' > gcc -c -g -O3 -I. -I../../../cpp/include -I./gen -o example.o example.cpp > example.cpp:71: error: conflicting return type specified for ‘virtual > qpid::management::ManagementObject* CoreClass::GetManagementObject() const’ > ../../../cpp/include/qpid/management/Manageable.h:58: error: overriding > ‘virtual qpid::management::ManagementObject::shared_ptr > qpid::management::Manageable::GetManagementObject() const’ > example.cpp:89: error: conflicting return type specified for ‘virtual > qpid::management::ManagementObject* ChildClass::GetManagementObject() const’ > ../../../cpp/include/qpid/management/Manageable.h:58: error: overriding > ‘virtual qpid::management::ManagementObject::shared_ptr > qpid::management::Manageable::GetManagementObject() const’ > make[2]: *** [example.o] Error 1 > make[2]: Leaving directory > `/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent' > make: *** [all] Error 2 > [jim@dev-1 qmf-agent]$ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (QPID-4723) Compile qmf-agent failed on qpid-0.20
[ https://issues.apache.org/jira/browse/QPID-4723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624410#comment-13624410 ] jim yefeng commented on QPID-4723: -- There are two different ManagementAgent.h files under cpp/include/qpid/agent and cpp/src/qpid/management directories. Which one should I use? > Compile qmf-agent failed on qpid-0.20 > - > > Key: QPID-4723 > URL: https://issues.apache.org/jira/browse/QPID-4723 > Project: Qpid > Issue Type: Bug > Components: C++ Broker >Affects Versions: 0.20 > Environment: centos 6.3 x86_64 >Reporter: jim yefeng >Priority: Blocker > > [jim@dev-1 examples]$ cd qmf-agent/ > [jim@dev-1 qmf-agent]$ ls > example.cpp example.d example_gen.mak gen Makefile qmf_agent.vcproj > schema.xml > [jim@dev-1 qmf-agent]$ make > ../../../cpp/managementgen/qmf-gen -o ./gen/qmf ./schema.xml > make[1]: Entering directory > `/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent' > make[2]: Entering directory > `/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent' > gcc -c -g -O3 -I. -I../../../cpp/include -I./gen -o example.o example.cpp > example.cpp:71: error: conflicting return type specified for ‘virtual > qpid::management::ManagementObject* CoreClass::GetManagementObject() const’ > ../../../cpp/include/qpid/management/Manageable.h:58: error: overriding > ‘virtual qpid::management::ManagementObject::shared_ptr > qpid::management::Manageable::GetManagementObject() const’ > example.cpp:89: error: conflicting return type specified for ‘virtual > qpid::management::ManagementObject* ChildClass::GetManagementObject() const’ > ../../../cpp/include/qpid/management/Manageable.h:58: error: overriding > ‘virtual qpid::management::ManagementObject::shared_ptr > qpid::management::Manageable::GetManagementObject() const’ > make[2]: *** [example.o] Error 1 > make[2]: Leaving directory > `/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent' > make: *** [all] Error 2 > [jim@dev-1 qmf-agent]$ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org