AW: PHP 4.0 Bug #8877 Updated: symbol not defined (used by ucd-sn mp)
| From: | Ferdinand, Dieter | Date: | Thu, 25 Jan 2001 06:32:40 +0000 |
| Subject: | AW: PHP 4.0 Bug #8877 Updated: symbol not defined (used by ucd-sn mp) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44955@lists.php.net to get a copy of this message | ||
hello,
i dont know, why i get this error, but when i insert this lines in snmp.c,
then i can compile php with snmp.
o, i make a mistake, the include-file is not snmp_api.h, it is
default_store.h.
this symbol is only used in snmp_api.h.
i use gcc version 2.95.2 19991024 (release).
goodby
-----Ursprüngliche Nachricht-----
Von: Bug Database [mailto:php-dev@lists.php.net]
Gesendet am: Donnerstag, 25. Januar 2001 02:10
An: Ferdinand, Dieter
Betreff: PHP 4.0 Bug #8877 Updated: symbol not defined (used by
ucd-snmp)
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