[zeromq-dev] build zeromq-2.0.9 with mingw

Herry Sitepu hisitepu at gmail.com
Mon Oct 4 13:02:21 CEST 2010


Hi steve,

Here is my patch, (not using PGM), against 2.0.9.
I don't understand why the configure script always failed if I uncomment
configure.in:321 PKG_CHECK_MODULES([GLIB], [glib-2.0 gthread-2.0]).

Anyway it can patch zeromq-2.0.9 smoothly and build completely. Thanks
anyway for your suggestion.

Regards,
Herry Sitepu


On Mon, Oct 4, 2010 at 5:38 PM, Steven McCoy <steven.mccoy at miru.hk> wrote:

> remove-tests.patch should have be named remove-tests~destructive.patch,
>
> Anyway feel free to implement a proper fix for the tests implementation.
>
> :D
>
> --
> Steve-o
>
>
> On 3 October 2010 00:16, Steven McCoy <steven.mccoy at miru.hk> wrote:
>
>> 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
>>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101004/052370d1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zeromq-2.0.9-mingw.patch
Type: application/octet-stream
Size: 1051 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101004/052370d1/attachment.obj>


More information about the zeromq-dev mailing list