I encountered "inaddr.cpp:274:implicit declaration of function 'int ost::inet_aton(...)'" when I configure commoncpp2-1.3.19 under QNX 6.3.0 with GCC2.95.3.  
So I went to /usr/qnx630/target/qnx6/usr/include/arpa/ and include the inet.h header file in the inaddr.cpp,  and I also configure with './configure CXXFLAGS="-g -O2 -D__EXT_BSD"', but same thing "inaddr.cpp:274:implicit declaration of function 'int ost::inet_aton(...)'" happens.  
In addition, when I just define 'int inet_aton __P((const char *,struc in_addr*));' inside the inaddr.cpp file, it passes the implicit declaration error and gives me "socket.cpp:1286:aggregate 'struct addr info hint' has incomplete type and cannot be initialized"
Please be so kind to help solving this problem, Thanks.
_______________________________________________
Bug-commoncpp mailing list
Bug-commoncpp@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-commoncpp

Reply via email to