PHP 4.0 Bug #8877 Updated: symbol not defined (used by ucd-snmp)
| From: | sniper@php.net | Date: | Fri, 16 Mar 2001 21:38:38 +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-49117@lists.php.net to get a copy of this message | ||
ID: 8877
Updated by: sniper
Reported By: dferdinand@nothelfer.com
Old-Status: Feedback
Status: Closed
Bug Type: Compile Problem
Assigned To:
Comments:
No feedback.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-24 20:09:35] sniper@php.net
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
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8877&edit=2