[nanomsg] Re: Help with compiling under wine
- From: "Gonzalo Diethelm" <dmarc-noreply-outsider@xxxxxxxxxxxxx> (Redacted sender "gonzalo.diethelm@xxxxxxxxxxx" for DMARC)
- To: nanomsg@xxxxxxxxxxxxx
- Date: Fri, 31 Jul 2015 09:08:18 +0200
On 28 Jul 2015, at 03:22, web user <webuser1200@xxxxxxxxx> wrote:
I ran the following:
./configure CC=i586-mingw32msvc-gcc CFLAGS=-fPIC
Then I get the following errors when running ./make:
src/core/../aio/worker_posix.h:55: error: field ‘efd’ has incomplete type
In file included from src/core/ep.c:27:
src/core/sock.h:64: error: field ‘sndfd’ has incomplete type
src/core/sock.h:65: error: field ‘rcvfd’ has incomplete type
src/core/sock.h:66: error: field ‘termsem’ has incomplete type
make: *** [src/core/libnanomsg_la-ep.lo] Error 1
Any ideas on what I need to do?
You need to add one or more includes to nanomsg’s source code, so that those
structs are properly defined. I have no idea what those includes should be, so
trial and error seem to be the road ahead… Sorry I can’t be more specific, I
don’t use wine.
For whatever it is worth, struct nn_efd is defined in these header files:
src/utils/efd_eventfd.h:25:struct nn_efd {
src/utils/efd_pipe.h:25:struct nn_efd {
src/utils/efd_socketpair.h:25:struct nn_efd {
src/utils/efd_win.h:27:struct nn_efd {
Cheers,
Gonzalo
Other related posts: