You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "LEUNG, Jeremy" <je...@hk.daiwacm.com> on 2012/12/18 05:14:46 UTC

Build Error for Qpid 0.18 under Solaris x86

Hi Qpid Team,

I'm getting error when I'm trying to build Qpid 0.18 under Solaris x86 with Sun Studio Compiler 10.

Making all in managementgen
make[1]: Entering directory `/scratch/fobuild/leungj/src/qpidc-0.18/managementgen'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/scratch/fobuild/leungj/src/qpidc-0.18/managementgen'
Making all in etc
make[1]: Entering directory `/scratch/fobuild/leungj/src/qpidc-0.18/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/scratch/fobuild/leungj/src/qpidc-0.18/etc'
Making all in src
make[1]: Entering directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
make  all-recursive
make[2]: Entering directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
Making all in .
make[3]: Entering directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
source='qpid/ha/BrokerInfo.cpp' object='qpid/ha/BrokerInfo.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \
/bin/bash ../libtool --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=.  -I/prod/deriv/imagine/ThirdPartyDirs/boost_1_34_1/include  -DQPID_LIBEXEC_DIR=\"/usr/local/libexec/qpid\" -DBOOST_FILESYSTEM_VERSION=2 -g -library=stlport4 -mt -c -o qpid/ha/BrokerInfo.lo qpid/ha/BrokerInfo.cpp
libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. -I/prod/deriv/imagine/ThirdPartyDirs/boost_1_34_1/include -DQPID_LIBEXEC_DIR=\"/usr/local/libexec/qpid\" -DBOOST_FILESYSTEM_VERSION=2 -g -library=stlport4 -mt -c qpid/ha/BrokerInfo.cpp  -KPIC -DPIC -o qpid/ha/.libs/BrokerInfo.o
"qpid/ha/types.cpp", line 35: Error: Multiple declaration for QPID_REPLICATE.
"qpid/ha/types.cpp", line 55: Error: qpid::ha::Enum<qpid::ha::ReplicateLevel>::N is initialized twice.
"qpid/ha/types.cpp", line 61: Error: qpid::ha::Enum<qpid::ha::BrokerStatus>::N is initialized twice.
3 Error(s) detected.
make[3]: *** [qpid/ha/BrokerInfo.lo] Error 1
make[3]: Leaving directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
make: *** [all-recursive] Error 1

Regards,
Jeremy


________________________________
********************************************************************************
DISCLAIMER:
This email and any attachment(s) are intended solely for the person(s) named above, and are or may contain information of a proprietary or confidential nature. If you are not the intended recipient(s), you should delete this message immediately. Any use, disclosure or distribution of this message without our prior consent is strictly prohibited.
This message may be subject to errors, incomplete or late delivery, interruption, interception, modification, or may contain viruses. Neither Daiwa Capital Markets Hong Kong Limited, its subsidiaries, affiliates nor their officers or employees represent or warrant the accuracy or completeness, nor accept any responsibility or liability whatsoever for any use of or reliance upon, this email or any of the contents hereof. The contents of this message are for information purposes only, and subject to change without notice.
This message is not and is not intended to be an offer or solicitation to buy or sell any securities or financial products, nor does any recommendation, opinion or advice necessarily reflect those of Daiwa Capital Markets Hong Kong Limited, its subsidiaries or affiliates.
********************************************************************************

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

Re: Build Error for Qpid 0.18 under Solaris x86

Posted by Cliff Jansen <cl...@gmail.com>.
Hi Jeremy,

Several people have worked towards completing a port of Qpid to
Solaris, including myself, but no one yet has followed through
completely.  I have found that the client code is in good shape
talking to a Linux C++ broker, but the broker code is largely
untested.

You should be able to build it from cmake if you exclude some bits
(including HA, where you saw the failure):

  CC=cc CXX=CC cmake -DBUILD_RDMA=OFF -DBUILD_HA=OFF
-DBUILD_PROBES=OFF -DPYTHON_EXECUTABLE=/path/to/bin/python
path/to/qpid/cpp

You may find this to your liking if you just need clients and a basic
broker that uses PosixPoller.cpp (based on poll()) and lacking a file
storage module.

If you need a higher performance broker, persistence, or HA on
Solaris, additional work to finish the solaris/ECFPoller.cpp and port
the HA module and/or a file store would be needed.  We would welcome
any contributions you wish to make in this regard (but note that new
HA and File store modules are in the works).  Also Steve Huston has
previously offered his services if someone wished to fund new Qpid
functionality.

You also have the option of running the Qpid Java broker.

I hope this helps.

Cliff


On Mon, Dec 17, 2012 at 8:14 PM, LEUNG, Jeremy
<je...@hk.daiwacm.com> wrote:
> Hi Qpid Team,
>
> I'm getting error when I'm trying to build Qpid 0.18 under Solaris x86 with Sun Studio Compiler 10.
>
> Making all in managementgen
> make[1]: Entering directory `/scratch/fobuild/leungj/src/qpidc-0.18/managementgen'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/scratch/fobuild/leungj/src/qpidc-0.18/managementgen'
> Making all in etc
> make[1]: Entering directory `/scratch/fobuild/leungj/src/qpidc-0.18/etc'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/scratch/fobuild/leungj/src/qpidc-0.18/etc'
> Making all in src
> make[1]: Entering directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
> make  all-recursive
> make[2]: Entering directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
> Making all in .
> make[3]: Entering directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
> source='qpid/ha/BrokerInfo.cpp' object='qpid/ha/BrokerInfo.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \
> /bin/bash ../libtool --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=.  -I/prod/deriv/imagine/ThirdPartyDirs/boost_1_34_1/include  -DQPID_LIBEXEC_DIR=\"/usr/local/libexec/qpid\" -DBOOST_FILESYSTEM_VERSION=2 -g -library=stlport4 -mt -c -o qpid/ha/BrokerInfo.lo qpid/ha/BrokerInfo.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. -I/prod/deriv/imagine/ThirdPartyDirs/boost_1_34_1/include -DQPID_LIBEXEC_DIR=\"/usr/local/libexec/qpid\" -DBOOST_FILESYSTEM_VERSION=2 -g -library=stlport4 -mt -c qpid/ha/BrokerInfo.cpp  -KPIC -DPIC -o qpid/ha/.libs/BrokerInfo.o
> "qpid/ha/types.cpp", line 35: Error: Multiple declaration for QPID_REPLICATE.
> "qpid/ha/types.cpp", line 55: Error: qpid::ha::Enum<qpid::ha::ReplicateLevel>::N is initialized twice.
> "qpid/ha/types.cpp", line 61: Error: qpid::ha::Enum<qpid::ha::BrokerStatus>::N is initialized twice.
> 3 Error(s) detected.
> make[3]: *** [qpid/ha/BrokerInfo.lo] Error 1
> make[3]: Leaving directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/scratch/fobuild/leungj/src/qpidc-0.18/src'
> make: *** [all-recursive] Error 1
>
> Regards,
> Jeremy
>
>
> ________________________________
> ********************************************************************************
> DISCLAIMER:
> This email and any attachment(s) are intended solely for the person(s) named above, and are or may contain information of a proprietary or confidential nature. If you are not the intended recipient(s), you should delete this message immediately. Any use, disclosure or distribution of this message without our prior consent is strictly prohibited.
> This message may be subject to errors, incomplete or late delivery, interruption, interception, modification, or may contain viruses. Neither Daiwa Capital Markets Hong Kong Limited, its subsidiaries, affiliates nor their officers or employees represent or warrant the accuracy or completeness, nor accept any responsibility or liability whatsoever for any use of or reliance upon, this email or any of the contents hereof. The contents of this message are for information purposes only, and subject to change without notice.
> This message is not and is not intended to be an offer or solicitation to buy or sell any securities or financial products, nor does any recommendation, opinion or advice necessarily reflect those of Daiwa Capital Markets Hong Kong Limited, its subsidiaries or affiliates.
> ********************************************************************************
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org