#25200 [Fbk->Opn]: Can't compile php 4.3.2 with snmp
| From: | vitortr at linkexpress dot com dot br | Date: | Fri, 22 Aug 2003 19:04:59 +0000 |
| Subject: | #25200 [Fbk->Opn]: Can't compile php 4.3.2 with snmp | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46499@lists.php.net to get a copy of this message | ||
ID: 25200
User updated by: vitortr at linkexpress dot com dot br
Reported By: vitortr at linkexpress dot com dot br
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.3.2
New Comment:
I tried the CVS snapshot and got another error:
-lsocket -lgcc -lnetsnmp -lgen -lcrypto -lkstat -lelf -lm -lnsl
-lsocket -ladm -o sapi/cgi/php
Undefined first referenced
symbol in file
des_cbc_encrypt
/usr/local/lib/libnetsnmp.a(scapi.o)
des_key_sched
/usr/local/lib/libnetsnmp.a(scapi.o)
des_ncbc_encrypt
/usr/local/lib/libnetsnmp.a(scapi.o)
ld: fatal: Symbol referencing errors. No output written to
sapi/cgi/php
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
Previous Comments:
------------------------------------------------------------------------
[2003-08-21 18:50:21] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-08-21 14:07:45] vitortr at linkexpress dot com dot br
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 this bug report at http://bugs.php.net/?id=25200&edit=1