[zeromq-dev] build zeromq-2.0.9 with mingw
Steven McCoy
steven.mccoy at miru.hk
Sat Oct 2 18:16:31 CEST 2010
On 2 October 2010 13:11, Herry Sitepu <hisitepu at gmail.com> wrote:
> 2. make[2]: *** [libzmq_la-zmq.lo] Error 1, no clear information why
> compile zmq.cpp has failed, the build process stop and I stucked how to fix
> this.
>
>
DLL DSO redeclaration, turning off "-Werror" would be sufficient here.
cc1plus: warnings being treated as errors
zmq.cpp: In function ‘void zmq_version(int*, int*, int*)’:
zmq.cpp:57: warning: ‘void zmq_version(int*, int*, int*)’ redeclared without
dllimport attribute: previous dllimport ignored
...
Other errors in master include failing tests,
test_shutdown_stress.cpp:22:21: error: pthread.h: No such file or directory
test_shutdown_stress.cpp: In function ‘int main(int, char**)’:
test_shutdown_stress.cpp:49: error: ‘pthread_t’ was not declared in this
scope
test_shutdown_stress.cpp:49: error: expected `;' before ‘threads’
test_shutdown_stress.cpp:66: error: ‘threads’ was not declared in this scope
test_shutdown_stress.cpp:66: error: ‘pthread_create’ was not declared in
this scope
test_shutdown_stress.cpp:71: error: ‘threads’ was not declared in this scope
test_shutdown_stress.cpp:71: error: ‘pthread_join’ was not declared in this
scope
make[1]: *** [test_shutdown_stress.o] Error 1
I just yanked them out of Autoconf & Automake and the build completed.
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101003/4db2e290/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-tests.patch
Type: text/x-patch
Size: 883 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101003/4db2e290/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw32-ignore-no-long-long.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101003/4db2e290/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw32-no-werror.patch
Type: text/x-patch
Size: 350 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101003/4db2e290/attachment-0002.bin>
More information about the zeromq-dev
mailing list