#20357 [Fbk]: make fails with the snmp extension

From: Date: Mon, 11 Nov 2002 16:00:14 +0000
Subject: #20357 [Fbk]: make fails with the snmp extension
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24579@lists.php.net to get a copy of this message
ID: 20357 Updated by: sniper@php.net Reported By: alietss@yahoo.com Status: Feedback -Bug Type: Compile Failure +Bug Type: SNMP related Operating System: Linux RedHat 8.0 PHP Version: 4CVS-2002-11-11 New Comment: And what snmp library do you have installed? net-snmp? And what version? Are you sure you don't have both ucd-snmp and net-snmp installed? Previous Comments: ------------------------------------------------------------------------ [2002-11-11 09:59:00] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-11-11 06:43:14] alietss@yahoo.com Hi everybody and thank's for a great job, I'm starting to migrate to php-4.3.0, to do that I'm building RPMS for RedHat8.0, to test it, I found that when you include --with-snmp the make program fails with this error... /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c: In function `zif_snmp_get_quick_print': /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:461: `NETSNMP_DS_LIBRARY_ID' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:461: (Each undeclared identifier is reported only once /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:461: for each function it appears in.) /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:461: `NETSNMP_DS_LIB_QUICK_PRINT' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c: In function `zif_snmp_set_quick_print': /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:480: `NETSNMP_DS_LIBRARY_ID' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:480: `NETSNMP_DS_LIB_QUICK_PRINT' undeclared (first use in this function) make: *** [ext/snmp/snmp.lo] Error 1 I hope it helps, bye Aliet ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20357&edit=1

« previous php.bugs (#24579) next »