This is an upstream bug, that could be patched in the ebuild, or we could wait for the uptream fix. I am seeing this behavior: [...] > configure:4707: error: `VersionInfo' undeclared (first use in this function) > configure:4707: error: (Each undeclared identifier is reported only once > configure:4707: error: for each function it appears in.) > configure:4739: $? = 1 > configure: program exited with status 1 > configure: failed program was: > | #line 4658 "configure" [...] > | #ifdef HAVE_NETSNMP > | version2 = strdup( NetSnmpVersionInfo ); > | #else > | version2 = strdup( VersionInfo); > | #endif > | } [...] > configure:4780: error: SNMP checks failed And have applied this patch http://www.kill-9.org/pipermail/mbrowse/2004-June/000056.html --------------090806030802010508050304 Content-Type: text/plain; name="mbrowse-conf.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mbrowse-conf.diff" --- mbrowse-0.3.1/configure 2003-03-12 11:37:41.000000000 -0500 +++ mbrowse-0.3.1-mine/configure 2004-04-09 06:04:49.000000000 -0400 @@ -4699,7 +4699,7 @@ } #ifdef HAVE_NETSNMP - version2 = strdup( NetSnmpVersionInfo ); + version2 = strdup( "5.1" ); #else version2 = strdup( VersionInfo); #endif --------------090806030802010508050304-- Reproducible: Always Steps to Reproduce: emerge mbrowse Actual Results: ./configure (called in the ebuild script) failed Expected Results: success
this patch should also let it compile with gcc-3.4, now applied in portage; thanks =] diff -Naur mbrowse-0.3.1.vanilla/configure mbrowse-0.3.1/configure --- mbrowse-0.3.1.vanilla/configure 2003-03-12 10:37:41.000000000 -0600 +++ mbrowse-0.3.1/configure 2004-09-04 18:29:43.771221872 -0500 @@ -4699,7 +4699,7 @@ } #ifdef HAVE_NETSNMP - version2 = strdup( NetSnmpVersionInfo ); + version2 = strdup( netsnmp_get_version() ); #else version2 = strdup( VersionInfo); #endif diff -Naur mbrowse-0.3.1.vanilla/src/snmpstuff.c mbrowse-0.3.1/src/snmpstuff.c --- mbrowse-0.3.1.vanilla/src/snmpstuff.c 2002-06-21 06:45:18.000000000 -0500 +++ mbrowse-0.3.1/src/snmpstuff.c 2004-09-04 18:30:35.136413176 -0500 @@ -360,6 +360,7 @@ case TYPE_NETADDR: case TYPE_OTHER: default: + {} } } if (type == 0) {