On Cygwin the configure script fails to link with C++ dependencies as presumably due to static *libzmq*,
configure:12223: checking for zmq_init in -lzmq configure:12248: gcc -std=gnu99 -o conftest.exe -I/tmp/build/include -g -O2 -L/ tmp/build/lib conftest.c -lzmq -lpthread >&5 /tmp/build/lib/libzmq.a(libzmq_la-zmq.o): In function `zmq_init': /tmp/libzmq/src/zmq.cpp:76: undefined reference to `___gxx_personality_sj0' /tmp/libzmq/src/zmq.cpp:122: undefined reference to `std::nothrow' ... gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) On Mingw64 either i686 or x64 fails as GCC hangs in the linker on *libzmq*. Compiler bug. gcc version 4.4.3 (GCC) On Mingw32 on MSYS there is a conflict on C99 *stdint*: /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -pedantic -Werror -Wall -Wno-unused -D_REENTRANT -D_THREAD_SAFE -I/tmp/build/include -g -O2 -MT zclock.lo -MD -MP -MF .deps/zclock.Tpo -c -o zcl ock.lo zclock.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -pedantic -We rror -Wall -Wno-unused -D_REENTRANT -D_THREAD_SAFE -I/tmp/build/include -g -O2 - MT zclock.lo -MD -MP -MF .deps/zclock.Tpo -c zclock.c -DDLL_EXPORT -DPIC -o .li bs/zclock.o In file included from zclock.c:45:0: ../include/czmq_prelude.h:416:21: error: conflicting types for 'int32_t' c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/stdint.h:31:14: note: previous declaration of 'int32_t' was here ../include/czmq_prelude.h:418:30: error: conflicting types for 'uint32_t' c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/stdint.h:32:20: note: previous declaration of 'uint32_t' was here gcc version 4.4.3 (GCC) -- Steve-o
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
