ID:               30980
 Updated by:       [EMAIL PROTECTED]
 Reported By:      nathan at nightsys dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         *Compile Issues
 Operating System: gentoo
 PHP Version:      5.0.2
 New Comment:

Install from our sources. We do not support Gentoo.


Previous Comments:
------------------------------------------------------------------------

[2004-12-04 02:40:32] nathan at nightsys dot net

Description:
------------
php fails to compile, due to errors on ext/snmp. cant tell for sure
what it is, but one thing that was done is previously sessions were
disabled, now sessions are enabled on this compile. not sure if
relevant, maybe new net-snmp version also. this looks similar to bug
25200, but not sure if its the same.

Reproduce code:
---------------
use net-snmp v5.2, with php 5.0.2

emerge net-snmp

then

emerge php

OR

emerge mod_php

Expected result:
----------------
successful compile.

Actual result:
--------------
gcc -Iext/snmp/
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/snmp/
-DPHP_ATOM_INC -I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/include
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/main
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/Zend
-I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/mbstring/oniguruma
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/mbstring/libmbfl
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/postgresql/pgsql
-I/usr/include/pspell
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/TSRM -O2
-march=pentium3 -fomit-frame-pointer -fforce-addr -g -Wall -c
/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/snmp/snmp.c  -fPIC
-DPIC -o ext/snmp/snmp.lo
/bin/sh /var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/libtool
--preserve-dup-deps --mode=compile gcc  -Iext/sockets/
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/sockets/
-DPHP_ATOM_INC -I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/include
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/main
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/Zend
-I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/mbstring/oniguruma
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/mbstring/libmbfl
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/postgresql/pgsql
-I/usr/include/pspell 
-I/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/TSRM  -O2
-march=pentium3 -fomit-frame-pointer -fforce-addr -g -Wall  -prefer-pic
-c /var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/sockets/sockets.c
-o ext/sockets/sockets.lo
/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/snmp/snmp.c: In
function `netsnmp_session_set_sec_protocol':
/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/snmp/snmp.c:795:
error: `usmAES192PrivProtocol' undeclared (first use in this function)
/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/snmp/snmp.c:795:
error: (Each undeclared identifier is reported only once
/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/snmp/snmp.c:795:
error: for each function it appears in.)
/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/snmp/snmp.c:799:
error: `usmAES256PrivProtocol' undeclared (first use in this function)
/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/snmp/snmp.c: In
function `netsnmp_session_gen_auth_key':
/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/snmp/snmp.c:822:
warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/snmp/snmp.c: In
function `netsnmp_session_gen_sec_key':
/var/tmp/portage/mod_php-5.0.2/work/php-5.0.2/ext/snmp/snmp.c:851:
warning: initialization discards qualifiers from pointer target type
make: *** [ext/snmp/snmp.lo] Error 1


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30980&edit=1

Reply via email to