Date: 02/29/00
- Next message: Bug Database: "[PHP-DEV] Bug #3663 Updated: get_mailboxes imap function documentation"
- Previous message: Bug Database: "[PHP-DEV] Bug #3333 Updated: PHP crashes wen I open an empty mailbox"
- Next in thread: pavalos <email protected>: "[PHP-DEV] Bug #3668: Undeclared identifiers with SNMP"
- Maybe reply: pavalos <email protected>: "[PHP-DEV] Bug #3668: Undeclared identifiers with SNMP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: pavalos <email protected>
Operating system: BSD/OS 4.0.1 i386
PHP version: 3.0.15
PHP Bug Type: Compile Failure
Bug description: Undeclared identifiers with SNMP
When compiling php-3.0.15 with the --with-snmp option, there's a compile error:
gcc -g -O2 -O2 -I. -I. -I../apache_1.3.12/src/include -I../apache_1.3.12/src/os/unix -I/usr/local/include/mysql -I/usr/local/include/ucd-snmp -c functions/snmp.c -o functions/snmp.o
functions/snmp.c: In function `_php3_snmp':
functions/snmp.c:163: `DS_LIBRARY_ID' undeclared (first use this function)
functions/snmp.c:163: (Each undeclared identifier is reported only once
functions/snmp.c:163: for each function it appears in.)
functions/snmp.c:163: `DS_LIB_QUICK_PRINT' undeclared (first use this function)
*** Error code 1
Stop.
I was able to fix this by adding:
#include <default_store.h>
in functions/snmp.c.
I would think this is actually a bug in the ucd-snmp package, because they should include this file themselves, but I thought the PHP project should know about this.
Oh, it's ucd-snmp-4.1.1.
Please feel free to contact me for more info, but I think this one is pretty cut and dry.
-- 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>
- Next message: Bug Database: "[PHP-DEV] Bug #3663 Updated: get_mailboxes imap function documentation"
- Previous message: Bug Database: "[PHP-DEV] Bug #3333 Updated: PHP crashes wen I open an empty mailbox"
- Next in thread: pavalos <email protected>: "[PHP-DEV] Bug #3668: Undeclared identifiers with SNMP"
- Maybe reply: pavalos <email protected>: "[PHP-DEV] Bug #3668: Undeclared identifiers with SNMP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

