Hello list, I am migrating a program from Mac OS-X to Linux and have some issues with Socket/SockException classes. On both Mac OS-X as well as Linux the commoncpp libs were built with configure script. Before posting the actual build configurations I'll just show you the issue, and perhaps someone immediately recognizes the cause of my issue.
When the application catches a SockException it logs for example: catch (SockException& e) { log(string("processNextMessage() : caught a SockException: ") + e.getString() + ": " + e.getSystemErrorString()); } On Mac OS-X this give log lines like: processNextMessage() : caught a SockException during connect(): Could not connect to remote host: Connection refused But on Linux I see in log file like: processNextMessage() : caught a SockException: Could not connect to remote host: ?u?0 So, the getSystemErrorString() returned "?u?0" in this case, but this varies but is always garbage (eg. "P??0", "?" etc.) Version of commoncpp is 2-1.8.0 and uname -msr tells me that the Linux version is Linux 2.6.18-128.el5 x86_64. Thank you for your time. Gunnar _______________________________________________ Bug-commoncpp mailing list Bug-commoncpp@gnu.org https://lists.gnu.org/mailman/listinfo/bug-commoncpp