You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by doublefox1981 <33...@qq.com> on 2009/04/16 13:08:14 UTC
compile error
i get the latest version of qpid for cpp, and compile on windows follow by INSTALL-WINDOWS, but some
error.
it says qpid::client::SessionImpl not define.
then i compile on linux, some error also,but it says " “qpid/sys/LatencyMetric.lo ........“qpid/sys/LatencyMetric.cpp", may LatencyMetric.cpp not find
--
View this message in context: http://n2.nabble.com/compile-error-tp2642441p2642441.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[c++] Trunk build fixed (was Re: compile error - Trunk is Broken)
Posted by Gordon Sim <gs...@redhat.com>.
Fixed by r765615.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
Apologies! Fixed: Re: compile error - Trunk is Broken
Posted by Alan Conway <ac...@redhat.com>.
Ted Ross wrote:
> doublefox1981 wrote:
>> i get the latest version of qpid for cpp, and compile on windows
>> follow by INSTALL-WINDOWS, but some error.
>>
>> it says qpid::client::SessionImpl not define.
>>
My fault. I edited generated files instead of updating the code generator
(doh!). Fixed now.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
Re: compile error - Trunk is Broken
Posted by Ted Ross <tr...@redhat.com>.
doublefox1981 wrote:
> i get the latest version of qpid for cpp, and compile on windows follow by INSTALL-WINDOWS, but some
> error.
>
> it says qpid::client::SessionImpl not define.
>
> then i compile on linux, some error also,but it says " “qpid/sys/LatencyMetric.lo ........“qpid/sys/LatencyMetric.cpp", may LatencyMetric.cpp not find
It appears that files were removed in revision 765285 but they are still
referenced in cpp/src/Makefile.am. If those references are removed, the
build still fails (on Fedora) with the following error:
g++ -DHAVE_CONFIG_H -I. -Igen -I./gen -Werror -pedantic -Wall -Wextra
-Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long
-Wvolatile-register-var -Winvalid-pch -Wno-system-headers
-Woverloaded-virtual -DMODULE_DIR=\"/usr/local/lib/qpid/client\"
-DCONF_FILE=\"/usr/local/etc/qpid/qpidc.conf\" -g -O2 -MT
gen/qpid/client/no_keyword/libqpidclient_la-AsyncSession_0_10.lo -MD -MP
-MF
gen/qpid/client/no_keyword/.deps/libqpidclient_la-AsyncSession_0_10.Tpo
-c gen/qpid/client/no_keyword/AsyncSession_0_10.cpp -fPIC -DPIC -o
gen/qpid/client/no_keyword/.libs/libqpidclient_la-AsyncSession_0_10.o
gen/qpid/client/no_keyword/AsyncSession_0_10.cpp: In member function
'qpid::client::Completion
qpid::client::no_keyword::AsyncSession_0_10::executionSync(bool)':
gen/qpid/client/no_keyword/AsyncSession_0_10.cpp:40: error: invalid use
of incomplete type 'struct qpid::client::SessionImpl'
./qpid/client/FutureResult.h:34: error: forward declaration of 'struct
qpid::client::SessionImpl'
gen/qpid/client/no_keyword/AsyncSession_0_10.cpp: In member function
'qpid::client::Completion
qpid::client::no_keyword::AsyncSession_0_10::executionResult(const
qpid::framing::SequenceNumber&, const std::string&, bool)':
gen/qpid/client/no_keyword/AsyncSession_0_10.cpp:46: error: invalid use
of incomplete type 'struct qpid::client::SessionImpl'
.
.
.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org