ID: 22248 Updated by: [EMAIL PROTECTED] Reported By: simon at dnadogs dot com -Status: Open +Status: Feedback Bug Type: SNMP related Operating System: Solaris 8 PHP Version: 4CVS-2003-02-17 (stable) New Comment:
Please check this out: http://gcc.gnu.org/ml/gcc-help/2002-01/msg00185.html Previous Comments: ------------------------------------------------------------------------ [2003-02-21 07:41:47] simon at dnadogs dot com I did a make distclean then configure --with-snmp --with-mysql=/usr/local and then make still got /usr/local/sparc-sun-solaris2.8/bin/ld: bfd assertion fail elflink.h:3542 this was useing latest snapshot ------------------------------------------------------------------------ [2003-02-21 04:40:45] [EMAIL PROTECTED] That's pretty impossible as the configure would fail if the snmp config fails. Is 'HAVE_SNMP' defined in main/php_config.h ? Does the sapi/cli/php binary have the functions? ------------------------------------------------------------------------ [2003-02-21 04:12:26] simon at dnadogs dot com Hi, tried the latest snapshop and it compiles ok but has no snmp support in the binary. errors with snmpget function not available. ------------------------------------------------------------------------ [2003-02-18 23:28:50] [EMAIL PROTECTED] Can you please try the latest STABLE snapshot? It has a sanity test for ext/snmp compile in configure and it would be nice to know if it fails for you when you configure/compile PHP as CGI. Also, add the configure lines you have used for configuring net-snmp and php. ------------------------------------------------------------------------ [2003-02-18 03:33:29] simon at dnadogs dot com Further info. A php binary is created in sapi/cgi/ and when i use it with a phpinfo() it says that snmp is enabled but if I try to use snmp functions i get they dont exist as follows - php snmp.php Fatal error: Call to undefined function: snmpget() in /users/downloads/Apache/php4-STABLE-200302171030/sapi/cgi/snmp.php on line 2 /users/downloads/Apache/php4-STABLE-200302171030/sapi/cgi/snmp.php(2) : Fatal error - Call to undefined function: snmpget() ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22248 -- Edit this bug report at http://bugs.php.net/?id=22248&edit=1