[jira] [Commented] (QPID-4722) qpid-cpp-0.22-rc1 doesnt compile on RHEL6
[ https://issues.apache.org/jira/browse/QPID-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624489#comment-13624489 ] Jimmy Jones commented on QPID-4722: --- Hi Fraser! See QPID-4724 for my failed cmake build :( > qpid-cpp-0.22-rc1 doesnt compile on RHEL6 > - > > Key: QPID-4722 > URL: https://issues.apache.org/jira/browse/QPID-4722 > Project: Qpid > Issue Type: Bug > Components: C++ Broker >Affects Versions: 0.22 > Environment: RHEL6 >Reporter: Jimmy Jones > > Freshly installed RHEL6.3 VM > Compile (with automake) of > http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz fails > unless -Werror is removed: > make[3]: Entering directory `/home/jimmy/Downloads/qpidc-0.22/src' > /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I../include -I../include -I. -I=. -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 -D_IN_QPID_BROKER -g -O2 -MT > qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF > qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c -o > qpid/sys/libqpidbroker_la-SocketTransport.lo `test -f > 'qpid/sys/SocketTransport.cpp' || echo './'`qpid/sys/SocketTransport.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. > -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 -D_IN_QPID_BROKER -g -O2 -MT > qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF > qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c > qpid/sys/SocketTransport.cpp -fPIC -DPIC -o > qpid/sys/.libs/libqpidbroker_la-SocketTransport.o > cc1plus: warnings being treated as errors > qpid/sys/SocketTransport.cpp: In constructor > 'qpid::sys::SocketAcceptor::SocketAcceptor(bool, bool, uint32_t, > qpid::sys::Timer&)': > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/bind_cc.hpp:72: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/bind.hpp:482: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/storage.hpp:244: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/storage.hpp:195: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/storage.hpp:129: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this > function > qpid/sys/SocketTransport.cpp:114: note: 'f' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this > function > /usr/include/boost/function/function_template.hpp:722: note: 'f' was declared > here > qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this > function > /usr/include/boost/function/function_template.hpp:915: note: 'f' was declared > here > qpid/sys/SocketTransport.cpp:209: error: 'f' may be used uninitialized in > this function > /usr/include/boost/function/function_template.hpp:602: note: 'f' was declared > here > In file included from /usr/include/boost/bind/bind.hpp:1538, > from /usr/include/boost/bind.hpp:22, > from qpid/sys/SocketTransport.cpp:32: > qpid/sys/SocketTransport.cpp: In function 'boost::_bi::bind_t B2, B3, B4, B5, B6), typename boost::_bi::list_av_6 A6>::type> boost::bind(R (*)(B1, B2, B3, B4, B5, B6), A1, A2, A3, A4, A5, A6) > [with R = void, B1 = boost::shared_ptr, B2 = const > qpid::sys::SocketTransportOptions&, B3 = qpid::sys::Timer*, B4 = const > qpid::sys::Socket&, B5 = qpid::sys::ConnectionCodec::Factory*, B6 = const > std::string&, A1 = boost::shared_ptr, A2 = > qpid::sys::SocketTransportOptions, A3 = qpid::sys::Timer*, A4 = > boost::arg<1>, A5 = qpid::sys::ConnectionCodec::Factory*, A6 = > std::basic_string, std::allocator >]': > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/bind_cc.hpp:83: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in > this function > /usr/include/boost/bind/bind.hpp:551: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in > this function > /usr/include/boost/bind/storage.hpp:276: note: 'a2' was declared here >
[jira] [Commented] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball
[ https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624469#comment-13624469 ] Jimmy Jones commented on QPID-4719: --- This might be a separate issue, but if I take the full qpid-0.22-rc1.tar.gz, run bootstrap, configure, make, make install in cpp, the perl examples don't work: [jimmy@localhost perl]$ ./hello_world.pl Can't load '/usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so' for module cqpid_perl: /usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so: undefined symbol: _ZN4qpid9messaging8Duration6SECONDE at /usr/lib64/perl5/DynaLoader.pm line 200. at /usr/lib64/perl5/cqpid_perl.pm line 11 Compilation failed in require at /usr/lib64/perl5/qpid_messaging.pm line 22. BEGIN failed--compilation aborted at /usr/lib64/perl5/qpid_messaging.pm line 22. Compilation failed in require at /usr/lib64/perl5/qpid.pm line 20. BEGIN failed--compilation aborted at /usr/lib64/perl5/qpid.pm line 20. Compilation failed in require at ./hello_world.pl line 24. BEGIN failed--compilation aborted at ./hello_world.pl line 24. Looks like cqpid_perl.so has not been linked against the qpid libraries: [jimmy@localhost perl]$ ldd /usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so linux-vdso.so.1 => (0x7fffecf95000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x7f5e4b10a000) libc.so.6 => /lib64/libc.so.6 (0x7f5e4ad78000) /lib64/ld-linux-x86-64.so.2 (0x003a05c0) > Problem building perl bindings from qpid 0.22 RC1 tarball > - > > Key: QPID-4719 > URL: https://issues.apache.org/jira/browse/QPID-4719 > Project: Qpid > Issue Type: Bug > Components: Perl Client >Affects Versions: 0.22 >Reporter: Jimmy Jones > > Tarball > http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz is > missing: > bindings/qpid/perl/Makefile.PL > bindings/qpid/perl/Makefile.PL.in > bindings/qpid/perl/qpid.pm > bindings/qpid/perl/lib > Now realised there is a separate tarball for perl bindings, but still have > problems, see later comments... -- 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-4719) Problem building perl bindings from qpid 0.22 RC1 tarball
[ https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624464#comment-13624464 ] Jimmy Jones commented on QPID-4719: --- Running perl Makefile.PL from perl-qpid-0.22-rc1.tar.gz, after installing qpid-cpp-0.22-rc1.tar.gz (with automake): Note (probably harmless): No library found for -lqpidmessaging Note (probably harmless): No library found for -lqpidtypes Writing Makefile for cqpid_perl Weird... libqpidmessaging/types seems to be in /usr/lib rather than lib64 on my 64-bit system, and its linked against other libs in lib64. Anyway, if then run make: cp lib/qpid/messaging/Address.pm blib/lib/qpid/messaging/Address.pm cp lib/qpid/messaging/Duration.pm blib/lib/qpid/messaging/Duration.pm cp qpid.pm blib/lib/qpid.pm cp lib/qpid/messaging/codec.pm blib/lib/qpid/messaging/codec.pm cp lib/qpid/messaging/Message.pm blib/lib/qpid/messaging/Message.pm cp lib/qpid/messaging/Connection.pm blib/lib/qpid/messaging/Connection.pm cp lib/qpid/messaging/Sender.pm blib/lib/qpid/messaging/Sender.pm cp lib/qpid_messaging.pm blib/lib/qpid_messaging.pm cp lib/qpid/messaging/Receiver.pm blib/lib/qpid/messaging/Receiver.pm cp lib/qpid/messaging/Session.pm blib/lib/qpid/messaging/Session.pm Running Mkbootstrap for cqpid_perl () chmod 644 cqpid_perl.bs rm -f blib/arch/auto/cqpid_perl/cqpid_perl.so gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic cqpid_perl.o -o blib/arch/auto/cqpid_perl/cqpid_perl.so \ \ gcc: cqpid_perl.o: No such file or directory gcc: no input files make: *** [blib/arch/auto/cqpid_perl/cqpid_perl.so] Error 1 > Problem building perl bindings from qpid 0.22 RC1 tarball > - > > Key: QPID-4719 > URL: https://issues.apache.org/jira/browse/QPID-4719 > Project: Qpid > Issue Type: Bug > Components: Perl Client >Affects Versions: 0.22 >Reporter: Jimmy Jones > > Tarball > http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz is > missing: > bindings/qpid/perl/Makefile.PL > bindings/qpid/perl/Makefile.PL.in > bindings/qpid/perl/qpid.pm > bindings/qpid/perl/lib > Now realised there is a separate tarball for perl bindings, but still have > problems, see later comments... -- 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] [Updated] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball
[ https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Jones updated QPID-4719: -- Description: Tarball http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz is missing: bindings/qpid/perl/Makefile.PL bindings/qpid/perl/Makefile.PL.in bindings/qpid/perl/qpid.pm bindings/qpid/perl/lib Now realised there is a separate tarball for perl bindings, but still have problems, see later comments... was: Tarball http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz is missing: bindings/qpid/perl/Makefile.PL bindings/qpid/perl/Makefile.PL.in bindings/qpid/perl/qpid.pm bindings/qpid/perl/lib > Problem building perl bindings from qpid 0.22 RC1 tarball > - > > Key: QPID-4719 > URL: https://issues.apache.org/jira/browse/QPID-4719 > Project: Qpid > Issue Type: Bug > Components: Perl Client >Affects Versions: 0.22 >Reporter: Jimmy Jones > > Tarball > http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz is > missing: > bindings/qpid/perl/Makefile.PL > bindings/qpid/perl/Makefile.PL.in > bindings/qpid/perl/qpid.pm > bindings/qpid/perl/lib > Now realised there is a separate tarball for perl bindings, but still have > problems, see later comments... -- 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] [Updated] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball
[ https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Jones updated QPID-4719: -- Summary: Problem building perl bindings from qpid 0.22 RC1 tarball (was: Missing files from qpid 0.22 RC1 tarball) > Problem building perl bindings from qpid 0.22 RC1 tarball > - > > Key: QPID-4719 > URL: https://issues.apache.org/jira/browse/QPID-4719 > Project: Qpid > Issue Type: Bug > Components: Perl Client >Affects Versions: 0.22 >Reporter: Jimmy Jones > > Tarball > http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz is > missing: > bindings/qpid/perl/Makefile.PL > bindings/qpid/perl/Makefile.PL.in > bindings/qpid/perl/qpid.pm > bindings/qpid/perl/lib -- 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] [Created] (QPID-4724) qpid-cpp-0.22-rc1 RHEL6 cmake issues
Jimmy Jones created QPID-4724: - Summary: qpid-cpp-0.22-rc1 RHEL6 cmake issues Key: QPID-4724 URL: https://issues.apache.org/jira/browse/QPID-4724 Project: Qpid Issue Type: Bug Components: Perl Client Affects Versions: 0.22 Environment: RHEL6 Reporter: Jimmy Jones Running mkdir BLD; cd BLD; cmake .. -- Could NOT find PerlLibs (missing: PERL_LIBRARY PERL_INCLUDE_PATH) -- Configuring incomplete, errors occurred! should it autodetect this (automake does)? If then run: cmake .. -DPERL_LIBRARY=/usr/lib64/perl5/CORE/libperl.so -DPERL_INCLUDE_PATH=/usr/lib64/perl5 errors with: -- Found Perl: /usr/bin/perl -- Found PerlLibs: /usr/lib64/perl5/CORE/libperl.so CMake Error at bindings/CMakeLists.txt:62 (string): string sub-command REPLACE requires four arguments. CMake Error at bindings/qpid/perl/CMakeLists.txt:38 (install): install FILES given no DESTINATION! -- Configuring incomplete, errors occurred! -- 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=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
[jira] [Created] (QPID-4723) Compile qmf-agent failed on qpid-0.20
jim yefeng created QPID-4723: Summary: 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-4722) qpid-cpp-0.22-rc1 doesnt compile on RHEL6
[ https://issues.apache.org/jira/browse/QPID-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624378#comment-13624378 ] Fraser Adams commented on QPID-4722: Have you tried to compile using cmake? I ask because you've probably seen that the automake build method is in the process of being deprecated. To be fair the automake build *should* work in 0.22 so if it doesn't then there's an issue, but it'd be good if you could also try with cmake to see how far you get with that. It's important to get any cmake gremlins ironed out ASAP so the more people trying out cmake builds the better. > qpid-cpp-0.22-rc1 doesnt compile on RHEL6 > - > > Key: QPID-4722 > URL: https://issues.apache.org/jira/browse/QPID-4722 > Project: Qpid > Issue Type: Bug > Components: C++ Broker >Affects Versions: 0.22 > Environment: RHEL6 >Reporter: Jimmy Jones > > Freshly installed RHEL6.3 VM > Compile (with automake) of > http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz fails > unless -Werror is removed: > make[3]: Entering directory `/home/jimmy/Downloads/qpidc-0.22/src' > /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I../include -I../include -I. -I=. -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 -D_IN_QPID_BROKER -g -O2 -MT > qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF > qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c -o > qpid/sys/libqpidbroker_la-SocketTransport.lo `test -f > 'qpid/sys/SocketTransport.cpp' || echo './'`qpid/sys/SocketTransport.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. > -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 -D_IN_QPID_BROKER -g -O2 -MT > qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF > qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c > qpid/sys/SocketTransport.cpp -fPIC -DPIC -o > qpid/sys/.libs/libqpidbroker_la-SocketTransport.o > cc1plus: warnings being treated as errors > qpid/sys/SocketTransport.cpp: In constructor > 'qpid::sys::SocketAcceptor::SocketAcceptor(bool, bool, uint32_t, > qpid::sys::Timer&)': > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/bind_cc.hpp:72: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/bind.hpp:482: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/storage.hpp:244: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/storage.hpp:195: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/storage.hpp:129: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this > function > qpid/sys/SocketTransport.cpp:114: note: 'f' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this > function > /usr/include/boost/function/function_template.hpp:722: note: 'f' was declared > here > qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this > function > /usr/include/boost/function/function_template.hpp:915: note: 'f' was declared > here > qpid/sys/SocketTransport.cpp:209: error: 'f' may be used uninitialized in > this function > /usr/include/boost/function/function_template.hpp:602: note: 'f' was declared > here > In file included from /usr/include/boost/bind/bind.hpp:1538, > from /usr/include/boost/bind.hpp:22, > from qpid/sys/SocketTransport.cpp:32: > qpid/sys/SocketTransport.cpp: In function 'boost::_bi::bind_t B2, B3, B4, B5, B6), typename boost::_bi::list_av_6 A6>::type> boost::bind(R (*)(B1, B2, B3, B4, B5, B6), A1, A2, A3, A4, A5, A6) > [with R = void, B1 = boost::shared_ptr, B2 = const > qpid::sys::SocketTransportOptions&, B3 = qpid::sys::Timer*, B4 = const > qpid::sys::Socket&, B5 = qpid::sys::ConnectionCodec::Factory*, B6 = const > std::string&, A1 = boost::shared_ptr, A2 = > qpid::sys::SocketTransportOptions, A3 = qpid::sys::Timer*, A4 = > boost::arg<1>, A5 = qpid::sys::ConnectionCodec::Factory*, A6 = > std::basic_string, std::allocator >]': > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/
[jira] [Updated] (QPID-4722) qpid-cpp-0.22-rc1 doesnt compile on RHEL6
[ https://issues.apache.org/jira/browse/QPID-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Jones updated QPID-4722: -- Component/s: C++ Broker > qpid-cpp-0.22-rc1 doesnt compile on RHEL6 > - > > Key: QPID-4722 > URL: https://issues.apache.org/jira/browse/QPID-4722 > Project: Qpid > Issue Type: Bug > Components: C++ Broker >Affects Versions: 0.22 > Environment: RHEL6 >Reporter: Jimmy Jones > > Freshly installed RHEL6.3 VM > Compile (with automake) of > http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz fails > unless -Werror is removed: > make[3]: Entering directory `/home/jimmy/Downloads/qpidc-0.22/src' > /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I../include -I../include -I. -I=. -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 -D_IN_QPID_BROKER -g -O2 -MT > qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF > qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c -o > qpid/sys/libqpidbroker_la-SocketTransport.lo `test -f > 'qpid/sys/SocketTransport.cpp' || echo './'`qpid/sys/SocketTransport.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. > -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 -D_IN_QPID_BROKER -g -O2 -MT > qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF > qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c > qpid/sys/SocketTransport.cpp -fPIC -DPIC -o > qpid/sys/.libs/libqpidbroker_la-SocketTransport.o > cc1plus: warnings being treated as errors > qpid/sys/SocketTransport.cpp: In constructor > 'qpid::sys::SocketAcceptor::SocketAcceptor(bool, bool, uint32_t, > qpid::sys::Timer&)': > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/bind_cc.hpp:72: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/bind.hpp:482: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/storage.hpp:244: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/storage.hpp:195: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/storage.hpp:129: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this > function > qpid/sys/SocketTransport.cpp:114: note: 'f' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this > function > /usr/include/boost/function/function_template.hpp:722: note: 'f' was declared > here > qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this > function > /usr/include/boost/function/function_template.hpp:915: note: 'f' was declared > here > qpid/sys/SocketTransport.cpp:209: error: 'f' may be used uninitialized in > this function > /usr/include/boost/function/function_template.hpp:602: note: 'f' was declared > here > In file included from /usr/include/boost/bind/bind.hpp:1538, > from /usr/include/boost/bind.hpp:22, > from qpid/sys/SocketTransport.cpp:32: > qpid/sys/SocketTransport.cpp: In function 'boost::_bi::bind_t B2, B3, B4, B5, B6), typename boost::_bi::list_av_6 A6>::type> boost::bind(R (*)(B1, B2, B3, B4, B5, B6), A1, A2, A3, A4, A5, A6) > [with R = void, B1 = boost::shared_ptr, B2 = const > qpid::sys::SocketTransportOptions&, B3 = qpid::sys::Timer*, B4 = const > qpid::sys::Socket&, B5 = qpid::sys::ConnectionCodec::Factory*, B6 = const > std::string&, A1 = boost::shared_ptr, A2 = > qpid::sys::SocketTransportOptions, A3 = qpid::sys::Timer*, A4 = > boost::arg<1>, A5 = qpid::sys::ConnectionCodec::Factory*, A6 = > std::basic_string, std::allocator >]': > qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this > function > /usr/include/boost/bind/bind_cc.hpp:83: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in > this function > /usr/include/boost/bind/bind.hpp:551: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in > this function > /usr/include/boost/bind/storage.hpp:276: note: 'a2' was declared here > qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in > this function > /
[jira] [Created] (QPID-4722) qpid-cpp-0.22-rc1 doesnt compile on RHEL6
Jimmy Jones created QPID-4722: - Summary: qpid-cpp-0.22-rc1 doesnt compile on RHEL6 Key: QPID-4722 URL: https://issues.apache.org/jira/browse/QPID-4722 Project: Qpid Issue Type: Bug Affects Versions: 0.22 Environment: RHEL6 Reporter: Jimmy Jones Freshly installed RHEL6.3 VM Compile (with automake) of http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz fails unless -Werror is removed: make[3]: Entering directory `/home/jimmy/Downloads/qpidc-0.22/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. -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 -D_IN_QPID_BROKER -g -O2 -MT qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c -o qpid/sys/libqpidbroker_la-SocketTransport.lo `test -f 'qpid/sys/SocketTransport.cpp' || echo './'`qpid/sys/SocketTransport.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. -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 -D_IN_QPID_BROKER -g -O2 -MT qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c qpid/sys/SocketTransport.cpp -fPIC -DPIC -o qpid/sys/.libs/libqpidbroker_la-SocketTransport.o cc1plus: warnings being treated as errors qpid/sys/SocketTransport.cpp: In constructor 'qpid::sys::SocketAcceptor::SocketAcceptor(bool, bool, uint32_t, qpid::sys::Timer&)': qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this function /usr/include/boost/bind/bind_cc.hpp:72: note: 'a2' was declared here qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this function /usr/include/boost/bind/bind.hpp:482: note: 'a2' was declared here qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this function /usr/include/boost/bind/storage.hpp:244: note: 'a2' was declared here qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this function /usr/include/boost/bind/storage.hpp:195: note: 'a2' was declared here qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this function /usr/include/boost/bind/storage.hpp:129: note: 'a2' was declared here qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this function qpid/sys/SocketTransport.cpp:114: note: 'f' was declared here qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this function /usr/include/boost/function/function_template.hpp:722: note: 'f' was declared here qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this function /usr/include/boost/function/function_template.hpp:915: note: 'f' was declared here qpid/sys/SocketTransport.cpp:209: error: 'f' may be used uninitialized in this function /usr/include/boost/function/function_template.hpp:602: note: 'f' was declared here In file included from /usr/include/boost/bind/bind.hpp:1538, from /usr/include/boost/bind.hpp:22, from qpid/sys/SocketTransport.cpp:32: qpid/sys/SocketTransport.cpp: In function 'boost::_bi::bind_t::type> boost::bind(R (*)(B1, B2, B3, B4, B5, B6), A1, A2, A3, A4, A5, A6) [with R = void, B1 = boost::shared_ptr, B2 = const qpid::sys::SocketTransportOptions&, B3 = qpid::sys::Timer*, B4 = const qpid::sys::Socket&, B5 = qpid::sys::ConnectionCodec::Factory*, B6 = const std::string&, A1 = boost::shared_ptr, A2 = qpid::sys::SocketTransportOptions, A3 = qpid::sys::Timer*, A4 = boost::arg<1>, A5 = qpid::sys::ConnectionCodec::Factory*, A6 = std::basic_string, std::allocator >]': qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this function /usr/include/boost/bind/bind_cc.hpp:83: note: 'a2' was declared here qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in this function /usr/include/boost/bind/bind.hpp:551: note: 'a2' was declared here qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in this function /usr/include/boost/bind/storage.hpp:276: note: 'a2' was declared here qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in this function /usr/include/boost/bind/storage.hpp:227: note: 'a2' was declared here qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in this function /usr/include/boost/bind/storage.hpp:195: note: 'a2' was declared here qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in this function /usr/include/boost/bind/storage.hpp:129: note: 'a2' was declared here make[3]: *** [qpid/sys/libqpidbroker_la-SocketTr