|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-11-11 06:43 UTC] alietss at yahoo dot com
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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 05:00:02 2025 UTC |
ok, this is really a pain, I update to 5.0.6 and now I obtain this In file included from /usr/include/net-snmp/library/snmp_impl.h:39, from /usr/include/ucd-snmp/snmp_impl.h:3, from /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:86: /usr/include/net-snmp/types.h:11:2: #error "Please include <net-snmp/net-snmp-config.h> before this file" In file included from /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:90: /usr/include/ucd-snmp/version.h:5: initializer element is not constant make: *** [ext/snmp/snmp.lo] Error 1