From:             vitortr at linkexpress dot com dot br
Operating system: Solaris 8
PHP version:      4.3.2
PHP Bug Type:     Compile Failure
Bug description:  Can't compile php 4.3.2 with snmp

Description:
------------
Hi everybody.  I tried to compile php  4.3.2 with snmp (net-snmp-5.0.8)
and mysql on Solaris 8

My configure statement was:
./configure --enable-ucd-snmp-hack --with-snmp=/usr/local
--enable-safe-mode --enable-mysql

The error message was:

gcc  -Iext/snmp/ -I/usr/local/php-4.3.2/ext/snmp/ -DPHP_ATOM_INC
-I/usr/local/php-4.3.2/include -I/usr/local
/php-4.3.2/main -I/usr/local/php-4.3.2 -I/usr/local/php-4.3.2/Zend
-I/usr/local/include -I/usr/local/php-4.3
.2/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/php-4.3.2/TSRM 
-g -O2  -c /usr/local/php-4.3.2/ex
t/snmp/snmp.c -o ext/snmp/snmp.o  && echo > ext/snmp/snmp.lo
/usr/local/php-4.3.2/ext/snmp/snmp.c:27:27: default_store.h: No such file
or directory
/usr/local/php-4.3.2/ext/snmp/snmp.c: In function
`netsnmp_session_gen_auth_key':
/usr/local/php-4.3.2/ext/snmp/snmp.c:676: warning: initialization discards
qualifiers from pointer target ty
pe
/usr/local/php-4.3.2/ext/snmp/snmp.c: In function
`netsnmp_session_gen_sec_key':
/usr/local/php-4.3.2/ext/snmp/snmp.c:705: warning: initialization discards
qualifiers from pointer target ty
pe
make: *** [ext/snmp/snmp.lo] Error 1

Can you help me?



-- 
Edit bug report at http://bugs.php.net/?id=25200&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25200&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25200&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25200&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25200&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25200&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25200&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25200&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25200&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25200&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25200&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25200&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25200&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25200&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25200&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25200&r=gnused

Reply via email to