WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 1 post ] 



 
Author Message
 Post Posted: Thu Sep 14, 2017 10:12 pm 
Offline
Level 1
Level 1

Joined: Thu Sep 14, 2017 10:06 pm
Posts: 6
Hello

I have a task of wrapping a 32bit dll in wine (wine-2.0.2), and then exposing this using gRPC - on a 32bit docker container.

I have successfully proven that I can call the dll from wine, by wrapping and compiling using winegcc.

The next step is to expose this dll using Googles gRPC.

I\m trying to compile this from source, using the same wine compiler. However the compilation fails with complaints of a missing header file, for example:

Code:
[MAKE]    Generating /var/local/git/grpc/libs/opt/pkgconfig/grpc.pc
[MAKE]    Generating /var/local/git/grpc/libs/opt/pkgconfig/grpc_unsecure.pc
[MAKE]    Generating cache.mk
make: Circular /var/local/git/grpc/libs/opt/libares.a <- /var/local/git/grpc/libs/opt/libz.a dependency dropped.
[C]       Compiling third_party/cares/cares/ares__close_sockets.c
In file included from third_party/cares/cares/ares_setup.h:214:0,
                 from third_party/cares/cares/ares__close_sockets.c:17:
third_party/cares/cares/setup_once.h:71:16: fatal error: io.h: No such file or directory
 #include <io.h>
                ^
compilation terminated.
winegcc: gcc failed
make: *** [/var/local/git/grpc/objs/opt/third_party/cares/cares/ares__close_sockets.o] Error 2
Makefile:2515: recipe for target '/var/local/git/grpc/objs/opt/third_party/cares/cares/ares__close_sockets.o' failed
+ make install
[INSTALL] Installing public C headers
[MAKE]    Generating cache.mk
make: Circular /var/local/git/grpc/libs/opt/libares.a <- /var/local/git/grpc/libs/opt/libz.a dependency dropped.
[C]       Compiling third_party/cares/cares/ares__close_sockets.c
In file included from third_party/cares/cares/ares_setup.h:214:0,
                 from third_party/cares/cares/ares__close_sockets.c:17:
third_party/cares/cares/setup_once.h:71:16: fatal error: io.h: No such file or directory
 #include <io.h>


Im wondering if anyone has any advice on how to solve this issue?

Thanks


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 1 post ] 




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 11 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: