[zeromq-dev] ZeroMQv 0.6 build on Solaris 9

Negm, Ayman Ayman.Negm at dermalog.com
Fri Apr 17 17:26:13 CEST 2009


Hello,

I am trying to build ZeroMQ on Sun Solaris 9 using GCC 4.2.4. The build failed in  "libzmq/zmq/atomic_bitmap.hpp"
Did you tried to build ZeroMQ on Solaris 9?

Bellow is the build error log.

Thanks in advance for your answer,
            Ayman


<Build Command>

if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../libzmq -I../libzmq/zmq -I../libzmq/zmq -I.. -I../..  -D_REENTRANT -D_PTHREADS  -mcpu=v9 -Wall -pedantic -Werror  -g -O2 -MT libzmq_la-ypollset.lo -MD -MP -MF ".deps/libzmq_la-ypollset.Tpo" -c -o libzmq_la-ypollset.lo `test -f 'ypollset.cpp' || echo '../../libzmq/'`ypollset.cpp; \
        then mv -f ".deps/libzmq_la-ypollset.Tpo" ".deps/libzmq_la-ypollset.Plo"; else rm -f ".deps/libzmq_la-ypollset.Tpo"; exit 1; fi


g++ -DHAVE_CONFIG_H -I. -I../../libzmq -I../libzmq/zmq -I../libzmq/zmq -I.. -I../.. -D_REENTRANT -D_PTHREADS -mcpu=v9 -Wall -pedantic -Werror -g -O2 -MT libzmq_la-ypollset.lo -MD -MP -MF .deps/libzmq_la-ypollset.Tpo -c ../../libzmq/ypollset.cpp  -fPIC -DPIC -o .libs/libzmq_la-ypollset.o

</Build Command>

<Error>
In file included from ../../libzmq/zmq/ypollset.hpp:26,
                 from ../../libzmq/ypollset.cpp:20:
../../libzmq/zmq/atomic_bitmap.hpp: In member function 'bool zmq::atomic_bitmap_t::btsr(int, int)':
../../libzmq/zmq/atomic_bitmap.hpp:96: error: 'atomic_cas_32' was not declared in this scope
../../libzmq/zmq/atomic_bitmap.hpp: In member function 'uint32_t zmq::atomic_bitmap_t::xchg(uint32_t)':
../../libzmq/zmq/atomic_bitmap.hpp:153: error: 'atomic_swap_32' was not declared in this scope
../../libzmq/zmq/atomic_bitmap.hpp: In member function 'uint32_t zmq::atomic_bitmap_t::izte(uint32_t, uint32_t)':
../../libzmq/zmq/atomic_bitmap.hpp:207: error: 'atomic_cas_32' was not declared in this scope
make[1]: *** [libzmq_la-ypollset.lo] Error 1
make[1]: Leaving directory `/home/XXXX/XXX/zmq-0.6/build/libzmq'

</Error>


________________________________
DERMALOG Identification Systems GmbH * Mittelweg 120, 20148 Hamburg * www.dermalog.com
Company Registration: Amtsgericht Hamburg, HRB 69547 * Gesch?ftsf?hrer/CEO: G?nther Mull
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090417/29468aa1/attachment.html>


More information about the zeromq-dev mailing list