[zeromq-dev] zeromq-2.0.10 Compilation error on CentOS
Pradeep Hodigere
pradeep.hodigere at gmail.com
Wed Oct 27 20:16:33 CEST 2010
Hello,
Issue:
g++ returns with following compilation error:
yarray.hpp: In constructor ‘zmq::yarray_t<T>::yarray_t() [with T =
zmq::socket_base_t]’:
app_thread.cpp:64: instantiated from here
yarray.hpp:40: error: default argument for parameter of type
‘std::allocator<zmq::socket_base_t*>&’ has type
‘std::allocator<zmq::socket_base_t*>’
make[1]: *** [libzmq_la-app_thread.lo] Error 1
make[1]: Leaving directory `/export/home/phodiger/mq/zeromq-2.0.10/src'
make: *** [all] Error 2
Attached is make's output.
Build Env:
$ uname -a
Linux xxxxxxxxxxx 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64
x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS release 5.3 (Final)
$ gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The same sources compiled on a Mac Desktop:
Darwin xxxxxxxx 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT
2010; root:xnu-1504.7.4~1/RELEASE_I386 i386
using gcc:
$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Would greatly appreciate help on identifying why its failing.
Thanks
Pradeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101027/55ff39e2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.out
Type: application/octet-stream
Size: 280237 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101027/55ff39e2/attachment.obj>
More information about the zeromq-dev
mailing list