I encountered the following when I give the "make" command to QNX shell environment to compile commoncpp2-1.3.19.
The OS I am using is QNX 6.3.0. And the commoncpp2-1.3.19 is configured under GCC2.95.3 version. Thanks.
source='socket.cpp' object='socket.lo' libtool=yes \
depfile='.deps/socket.Plo' tmpdepfile='.deps/socket.TPlo' \
depmode=gcc /bin/sh ../autoconf/depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../include
-g -O2 -c -o socket.lo socket.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../include -g -O2 -c socket.cpp -Wp,-MD,.deps/sock
et.TPlo -fPIC -DPIC -o .libs/socket.o
socket.cpp: In method `ost::UDPSocket::UDPSocket(const char *, ost::Socket::Family = IPV4)':
socket.cpp:1286: aggregate `struct addrinfo hint' has incomplete type and cannot be initialized
socket.cpp:1319: confused by earlier errors, bailing out
make[1]: *** [socket.lo] Error 1
_______________________________________________ Bug-commoncpp mailing list Bug-commoncpp@gnu.org http://lists.gnu.org/mailman/listinfo/bug-commoncpp