Reputation: 8107
I build libevent-2.0.16-stable under cygwin-windows with multi-thread feature support but it's seem that configure
didn't detect environment as WIN32, so it did not include evthread_win32.c
as a part of build process, a try call to evthread_use_windows_threads
cause symbol not found.
So i try to set WIN32 flag like CFLAGS=WIN32 ./configure
and it did not work too. So what's is the properly way?
Upvotes: 2
Views: 2689
Reputation: 4860
I had the same problem. So i just configured to use non-cygwin compiller ./configure --binpath=[path to directory with the compiler] CC=[path to my mingw gcc.exe]
and then just ran make
Upvotes: 1