[PHP-DEV] AW: PHP 4.0 Bug #8877 Updated: symbol not defined (used by ucd-sn mp) From: Ferdinand, Dieter (DFerdinand <email protected>)
Date: 01/25/01

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 <email protected>]
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 <email protected>
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 <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>