km4arr / openpgm

Automatically exported from code.google.com/p/openpgm
0 stars 0 forks source link

Unable to build openpgm with mingw in Fedora 19 #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to build openpgm-5.2.122~dfsg in Fedora 19 with mingw32 (gcc 
4.8.1-1). But when I call mingw32-make I get an error:

recvc.: 61:37: error: dereferencing pointer to incomplete type
 # define PGM_CMSG_NXTHDR(msg, cmsg) WSA_CMSG_NXTHDR(msg, cmsg)

and some other similar errors... The windows headers patch is already applied 
to fedora's windows headers and WSA_CMSG_NXTHDR is defined as in patch.

Original issue reported on code.google.com by pda0...@gmail.com on 7 Aug 2013 at 10:08

GoogleCodeExporter commented 9 years ago
Scons -f SConstruct.mingw has been used for building MinGW32 cross builds on 
Ubuntu.  There is no explicit support in the Autotools configuration.

For this particular error you should define HAVE_WSACMSGHDR

Original comment by fnjo...@gmail.com on 13 Aug 2013 at 6:10

GoogleCodeExporter commented 9 years ago
Scons can build openpgm, but it does not produces .la files, so I cant build 
openpgm with libzmq.
However thanks for HAVE_WSACMSGHDR. It helped.

Original comment by pda0...@gmail.com on 23 Aug 2013 at 11:44