Im trying to compile commoncpp under qnx with g++. I tried the changes mentioned in (http://lists.gnu.org/archive/html/bug-commoncpp/2003-07/msg00001.html) but they dont work for me.
The Problem (at least atm) lies in the socket.cpp where he complains about not knowing struct addrinfo which is defined in netdb.h (i included the file).
The section in netdb.h where addrinfo is defined starts with:
struct addrinfo ...."
The compiling error (socket.cpp) is:
"aggregate `struct addrinfo hint' has incomplete type and cannot be initialized"
Any help would be great.
i managed to compile 1.2.7 with --without-nat and --without-ipv6