From: paul dot ispas at digicom dot ro Operating system: Linux - Slackware 10 PHP version: 4.3.9 PHP Bug Type: Compile Failure Bug description: I can' t compile PHP 4.3.9 with snmp support
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 bug report at http://bugs.php.net/?id=30759&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30759&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30759&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30759&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30759&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30759&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30759&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30759&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30759&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30759&r=support Expected behavior: http://bugs.php.net/fix.php?id=30759&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30759&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30759&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30759&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30759&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30759&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30759&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30759&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30759&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30759&r=mysqlcfg