From:             [EMAIL PROTECTED]
Operating system: Linux RedHat 8.0
PHP version:      4CVS-2002-11-11
PHP Bug Type:     Compile Failure
Bug description:  make fails with the snmp extension

Hi everybody and thank's for a great job, I'm starting to migrate to
php-4.3.0, to do that I'm building RPMS for RedHat8.0, to test it, I found
that when you include --with-snmp the make program fails with this
error...

/usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c: In function
`zif_snmp_get_quick_print':
/usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:461:
`NETSNMP_DS_LIBRARY_ID' undeclared (first use in this function)
/usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:461: (Each undeclared
identifier is reported only once
/usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:461: for each function it
appears in.)
/usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:461:
`NETSNMP_DS_LIB_QUICK_PRINT' undeclared (first use in this function)
/usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c: In function
`zif_snmp_set_quick_print':
/usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:480:
`NETSNMP_DS_LIBRARY_ID' undeclared (first use in this function)
/usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:480:
`NETSNMP_DS_LIB_QUICK_PRINT' undeclared (first use in this function)
make: *** [ext/snmp/snmp.lo] Error 1

                           I hope it helps, bye Aliet
-- 
Edit bug report at http://bugs.php.net/?id=20357&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20357&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20357&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20357&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20357&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20357&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20357&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20357&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20357&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20357&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20357&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20357&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20357&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20357&r=isapi

Reply via email to