You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by joseluis <jl...@gmail.com> on 2011/10/27 12:59:53 UTC

compiling with mingw on windows AI_ADDRCONFIG was not defined

I've downloaded qpid from git repository

Last commit...
QPID-3504: ensure the glue for the optional bdbstore feature is part of the
broker binary package
676b55c23fafb4763a5f89586fd6a357d8783b85


I'm compiling qpid with mingw  gcc version 4.4

I have the error 

AI_ADDRCONFIG was not declared


This is a mingw error reported on

http://sourceforge.net/tracker/index.php?func=detail&aid=3156970&group_id=101989&atid=630607


To compile, I've replaced on SocketAddress.cpp (windows directory) next line

#define _WIN32_WINNT 0x501

with...


#define _WIN32_WINNT 0x600
#ifndef AI_ADDRCONFIG
#define AI_ADDRCONFIG 0
#endif



BTW with mingw gcc 4.4 it's also necesary to remove  -Werror




kind regards


--
View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/compiling-with-mingw-on-windows-AI-ADDRCONFIG-was-not-defined-tp6935826p6935826.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org