Hi Ram, It looks like you're not entirely alone with this problem: http://stackoverflow.com/questions/39708294/error-changes-meaning-when-installing-apache-qpid notably also SUSE, unfortunately no solution posted.
May I suggest you post some more info about your environment, particularly arch (whether you're on 32 or 64 bit) and what compiler (incl. version) you're using. Steps to reproduce would also help. Unfortunately I don't have SUSE but I'd be happy to test on the distros I do have if it's of any benefit. /Chris On 18 November 2016 at 23:34, rammohan ganapavarapu <[email protected] > wrote: > Hi, > > If any one built qpid-cpp rpms for suse please share your experience, if > you already have a rpms to download please share. > > Ram > > On Tue, Nov 8, 2016 at 8:19 AM, rammohan ganapavarapu < > [email protected]> wrote: > > > Hi, > > > > I am trying to build qpid-cpp v1.35 rpms for SUSE, while i am building > > qpid-proton rpm i am getting this compilation error any idea why i am > > getting this error and how to fix it? > > > > [ 34%] Building CXX object proton-c/bindings/cpp/ > > CMakeFiles/qpid-proton-cpp.dir/src/connection.cpp.o > > In file included from /mnt/ec2-user/rpmbuild/BUILD/ > > qpid-proton-0.14.0/proton-c/bindings/cpp/include/proton/./ > ././link.hpp:31, > > from /mnt/ec2-user/rpmbuild/BUILD/ > > qpid-proton-0.14.0/proton-c/bindings/cpp/include/proton/./ > > ./receiver.hpp:27, > > from /mnt/ec2-user/rpmbuild/BUILD/ > > qpid-proton-0.14.0/proton-c/bindings/cpp/include/proton/./ > session.hpp:27, > > from /mnt/ec2-user/rpmbuild/BUILD/ > > qpid-proton-0.14.0/proton-c/bindings/cpp/include/proton/ > connection.hpp:28, > > from /mnt/ec2-user/rpmbuild/BUILD/ > > qpid-proton-0.14.0/proton-c/bindings/cpp/src/connection.cpp:24: > > /mnt/ec2-user/rpmbuild/BUILD/qpid-proton-0.14.0/proton-c/ > > bindings/cpp/include/proton/././././sender_options.hpp:87: error: > > declaration of ‘proton::sender_options& proton::sender_options:: > > delivery_mode(proton::delivery_mode)’ > > /mnt/ec2-user/rpmbuild/BUILD/qpid-proton-0.14.0/proton-c/ > > bindings/cpp/include/proton/./././././delivery_mode.hpp:30: error: > > changes meaning of ‘delivery_mode’ from ‘struct proton::delivery_mode’ > > In file included from /mnt/ec2-user/rpmbuild/BUILD/ > > qpid-proton-0.14.0/proton-c/bindings/cpp/include/proton/./ > ././link.hpp:32, > > from /mnt/ec2-user/rpmbuild/BUILD/ > > qpid-proton-0.14.0/proton-c/bindings/cpp/include/proton/./ > > ./receiver.hpp:27, > > from /mnt/ec2-user/rpmbuild/BUILD/ > > qpid-proton-0.14.0/proton-c/bindings/cpp/include/proton/./ > session.hpp:27, > > from /mnt/ec2-user/rpmbuild/BUILD/ > > qpid-proton-0.14.0/proton-c/bindings/cpp/include/proton/ > connection.hpp:28, > > from /mnt/ec2-user/rpmbuild/BUILD/ > > qpid-proton-0.14.0/proton-c/bindings/cpp/src/connection.cpp:24: > > /mnt/ec2-user/rpmbuild/BUILD/qpid-proton-0.14.0/proton-c/ > > bindings/cpp/include/proton/././././receiver_options.hpp:83: error: > > declaration of ‘proton::receiver_options& proton::receiver_options:: > > delivery_mode(proton::delivery_mode)’ > > /mnt/ec2-user/rpmbuild/BUILD/qpid-proton-0.14.0/proton-c/ > > bindings/cpp/include/proton/./././././delivery_mode.hpp:30: error: > > changes meaning of ‘delivery_mode’ from ‘struct proton::delivery_mode’ > > make[2]: *** [proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp. > dir/src/connection.cpp.o] > > Error 1 > > make[1]: *** [proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/all] > > Error 2 > > > > > > Ram > > > -- *Chris Richardson*, System Architect [email protected] *FourC AS, Vestre Rosten 81, Trekanten, NO-7075 Tiller, Norwaywww.fourc.eu <http://www.fourc.eu/>* *Follow us on LinkedIn <http://bit.ly/fourcli>, Facebook <http://bit.ly/fourcfb>, Google+ <http://bit.ly/fourcgp> and Twitter <http://bit.ly/fourctw>!*
