PHP 4.0 Bug #8877 Updated: symbol not defined (used by ucd-snmp)
| From: | sniper@php.net | Date: | Thu, 25 Jan 2001 01:09:35 +0000 |
| Subject: | PHP 4.0 Bug #8877 Updated: symbol not defined (used by ucd-snmp) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44945@lists.php.net to get a copy of this message | ||
ID: 8877
Updated by: sniper
Reported By: dferdinand@nothelfer.com
Old-Status: Open
Status: Feedback
Bug Type: Compile Problem
Assigned To:
Comments:
Why do you have to insert those lines? What errors do you get if you
don't add them? snmp.c does include snmp_api.h itself so those constants
should be defined then.
btw. What is the version of GCC you are using?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-24 04:48:37] dferdinand@nothelfer.com
hello,
when i compile php with ucd-snmp then i must always edit the file snmp.c and insert the following
lines:
#define DS_LIBRARY_ID 0
#define DS_LIB_QUICK_PRINT 13 /* print very brief output for parsing */
this symbols are defined in snmp_api.h from ucd-snmp.
i compile php always for apache with shared apache or with apxs.
goodby
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8877