23 May 2013 17:05
Errors building net-snmp in msys: "undefined reference to init_logmatch"
Thomas Andrews <tandrews <at> grok.co.za>
2013-05-23 15:05:37 GMT
2013-05-23 15:05:37 GMT
Hi, I'm trying to build net-snmp using msys (on winXP) using MinGW. I downloaded and installed MinGW/MSYS using mingw-get-inst. I then downloaded net-snmp-5.7.2.tar.gz and installed that. After that I ran MSYS, and at the prompt typed the following commands as per README.win32: mount e:\\bst\\net-snmp\\net-snmp-5.7.2 /sources cd /sources BASEDIR=c:/usr ; ./configure --prefix="$BASEDIR" \ --with-mibdirs="$BASEDIR/share/snmp/mibs" \ --with-mib-modules="agentx disman/event-mib \ winExtDLL examples/example" \ --disable-embedded-perl --without-perl-modules That seemed to complete okay, so I then executed 'make' which gave me the following errors: <lots of output that looks fine...> /bin/sh ../libtool --mode=link gcc -fno-strict-aliasing -g -O2 -Umingw32 -Dmingw32=mingw32 -o snmpd.exe snmpd.lo ../snmplib/winservicerc.lo libnetsnmpagent.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lws2_32 -liphlpapi -lsnmpapi libtool: link: gcc -fno-strict-aliasing -g -O2 -Umingw32 -Dmingw32=mingw32 -o .libs/snmpd.exe .libs/snmpd.o ../snmplib/.libs/winservicerc.o ./.libs/libnetsnmpagent.a ./.libs/libnetsnmpmibs.a /sources/agent/.libs/libnetsnmpagent.a /sources/snmplib/.libs/libnetsnmp.a ../snmplib/.libs/libnetsnmp.a(Continue reading)
RSS Feed