SNMP++ v3.2.1c on RedHat 7.3 Linux (fwd)
Alexander Gutkin
sasha____rhetoricalsystems.com
Wed Oct 23 17:03:39 CEST 2002
I had to patch v3.2.1c to compile on RedHat 7.3 Linux. The inclusion
of <unistd.h> was importing crypt(...) API from libc which collided with
libdes. The change is not perfect since it might affect other
Unix platforms. Following is the patch:
*** address.h Wed Oct 23 15:35:48 2002
--- address.h.old Wed Oct 23 15:41:57 2002
***************
*** 80,86 ****
#ifdef __unix
// The /**/ stuff below is meant to fool MS C++ into skipping these
// files when creating its makefile. 8-Dec-95 TM
- #undef __USE_XOPEN
#include /**/ <unistd.h>
#include /**/ <sys/socket.h>
#include /**/ <netinet/in.h>
--- 80,85 ----
Hope this helps,
Alexander.
More information about the AGENTPP
mailing list