[AGENT++] compile agentpp with cygwin under win server 2003

Jochen Katz katz at agentpp.com
Sun Aug 14 21:19:20 CEST 2005


Hi,

> tell me some good information on how to compile the agent++ and agent-x
> under win 2003 server with cygwin? there is a makefile for cygwin in
> agent++ but i dont know which makefile is for the windows plattform in
> snmp++ and in agent++ folder.

you should use the Makefile.linux. Possibly you have to disable IPv6
and add the changes below to config_snmp_pp.h.

Regards,
  Jochen



// can we use the reentrant version of these functions or
// are the standard functions thread safe
#ifdef __GNUC__

#ifdef __CYGWIN__
// don't have _R functions...
#else
#define HAVE_GETHOSTBYNAME_R
#define HAVE_LOCALTIME_R
#define HAVE_GETHOSTBYADDR_R
#endif

#elif __DECCXX



More information about the AGENTPP mailing list