[zeromq-dev] build zeromq-2.0.9 with mingw
Steven McCoy
steven.mccoy at miru.hk
Mon Oct 4 12:38:08 CEST 2010
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101004/8933b27c/attachment.htm>
More information about the zeromq-dev
mailing list