ID: 30759 Updated by: [EMAIL PROTECTED] Reported By: paul dot ispas at digicom dot ro -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Linux - Slackware 10 PHP Version: 4.3.9 New Comment:
Works fine here. (using the actual release of net-snmp 5.2, not some RC..) Previous Comments: ------------------------------------------------------------------------ [2004-11-11 13:32:50] [EMAIL PROTECTED] Reclassified this as feature request. ------------------------------------------------------------------------ [2004-11-11 13:26:30] paul dot ispas at digicom dot ro Thanks for your answer, I installed net-snmp 5.1 and works like a charm. ------------------------------------------------------------------------ [2004-11-11 13:20:24] [EMAIL PROTECTED] Looks like net-snmp 5.2 is not backward compatible with 5.1, so you're advised to use previous version, until someone add workarounds for 5.2. ------------------------------------------------------------------------ [2004-11-11 11:55:45] paul dot ispas at digicom dot ro Description: ------------ Hi, I tried to install php-4.3.9 and php4-STABLE-200411110930 with snmp support but make fails with the folowing error message : [EMAIL PROTECTED]:~/src/php4-STABLE-200411110930# make /bin/sh /root/src/php4-STABLE-200411110930/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/snmp/ -I/root/src/php4-STABLE-200411110930/ext/snmp/ -DPHP_ATOM_INC -I/root/src/php4-STABLE-200411110930/include -I/root/src/php4-STABLE-200411110930/main -I/root/src/php4-STABLE-200411110930 -I/root/src/php4-STABLE-200411110930/Zend -I/usr/include/libxml2 -I/include -I/var/tmp/imap/c-client -I/root/src/php4-STABLE-200411110930/ext/mbstring/mbregex -I/root/src/php4-STABLE-200411110930/ext/mbstring/libmbfl -I/root/src/php4-STABLE-200411110930/ext/mbstring/libmbfl/mbfl -I/opt/sql/mysql/include/mysql -I/usr/local/include -I/root/src/php4-STABLE-200411110930/ext/xml/expat -I/root/src/php4-STABLE-200411110930/TSRM -O3 -s -mcpu=i686 -march=i686 -prefer-pic -c /root/src/php4-STABLE-200411110930/ext/snmp/snmp.c -o ext/snmp/snmp.lo /root/src/php4-STABLE-200411110930/ext/snmp/snmp.c: In function `netsnmp_session_set_sec_protocol': /root/src/php4-STABLE-200411110930/ext/snmp/snmp.c:777: error: `usmAES192PrivProtocol' undeclared (first use in this function) /root/src/php4-STABLE-200411110930/ext/snmp/snmp.c:777: error: (Each undeclared identifier is reported only once /root/src/php4-STABLE-200411110930/ext/snmp/snmp.c:777: error: for each function it appears in.) /root/src/php4-STABLE-200411110930/ext/snmp/snmp.c:781: error: `usmAES256PrivProtocol' undeclared (first use in this function) /root/src/php4-STABLE-200411110930/ext/snmp/snmp.c: In function `netsnmp_session_gen_auth_key': /root/src/php4-STABLE-200411110930/ext/snmp/snmp.c:804: warning: initialization discards qualifiers from pointer target type /root/src/php4-STABLE-200411110930/ext/snmp/snmp.c: In function `netsnmp_session_gen_sec_key': /root/src/php4-STABLE-200411110930/ext/snmp/snmp.c:833: warning: initialization discards qualifiers from pointer target type make: *** [ext/snmp/snmp.lo] Error 1 I HAVE net-snmp-5.2RC3 installed (from sources) I HAVE the libs installed in /usr/local/lib/snmp I HAVE the includes in /usr/local/include/net-snmp/ configure command was " ./configure --with-snmp=/usr/local --with-openssl=/usr Reproduce code: --------------- Try to configure php 4.3.9 with snmp support (net-snmp 5.2.RC3) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30759&edit=1