Bug #14910 Updated: --with-snmp compile failure

From: Date: Mon, 08 Jul 2002 01:21:08 +0000
Subject: Bug #14910 Updated: --with-snmp compile failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13451@lists.php.net to get a copy of this message
ID: 14910 Updated by: sniper@php.net Reported By: jsignalness@btinet.net -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Red Hat Linux 7.1 PHP Version: 4.1.1 New Comment: Does this happen with this snapshot: http://snaps.php.net/php4-latest.tar.gz Previous Comments: ------------------------------------------------------------------------ [2002-04-02 19:53:54] duane@gibnet.net I have come across this problem aswell with PHP 4.1.2 using UCD-SNMP 4.2.2 and UCD-SNMP 4.2.3 when compiling with apxs (compiling php as standalone binary did not result in any compile errors) After reverting back to UCD-SNMP 4.2.1, PHP compiled correctly. ---------------- configure arguments used: ./configure --with-mysql --with-apxs=/usr/local/apache/sbin/apxs --with-snmp --with-snmp=/usr/local --enable-ftp --enable-ucd-snmp-hack ------------------------------------------------------------------------ [2002-03-15 18:01:11] sherd@RemoveROYPlas.com i am using RH 7.1 php-4.1.2 and ucd-snmp-4.2.3 compiles ok with: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-track-vars --enable-ftp --enable-sysvsem --enable-sysvshm --enable-sockets --with-gettext --with-mm=/usr/local/mm-1.1.3 --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/local/src/zlib --with-snmp --with-openssl brief error from make... <snip> /usr/local/ucd-snmp-4.2.3/snmplib/snmp_alarm.c:204: multiple definition of `snmp _alarm_register' Zend/.libs/libZend.al(snmp_alarm.o):/usr/local/ucd-snmp-4.2.3/snmplib/snmp_alarm .c:204: first defined here collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/usr/local/php-4.1.2' make: *** [all-recursive] Error 1 </snip> ------------------------------------------------------------------------ [2002-03-11 14:25:03] wstreete@yahoo.com I am using UCD-SNMP 4.2.3 on a Red Hat 7.2 base isntallation. Can't get PHP 4.1.2 (or 4.1.1) to finish compile when using the --with-apxs option. Works fine without the --with-apxs option though. ------------------------------------------------------------------------ [2002-03-10 05:59:03] pranav@vigorsoft.com Hi I am installing php-4.1.2 with ucd-snmp-4.2.3 on RedHatLinux 7.2 and i am getting same type of errors. it configures correctly but in make it gives same type of errors.Is there any solution for this. Please reply back to me on my mail address if possible. ------------------------------------------------------------------------ [2002-03-01 05:27:41] yohgaki@php.net I'm using ucd-snmp 4.2.1 and it compiles fine, at least. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14910 -- Edit this bug report at http://bugs.php.net/?id=14910&edit=1

« previous php.bugs (#13451) next »