ID: 14910 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: Red Hat Linux 7.1 PHP Version: 4.1.1 New Comment:
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> Previous Comments: ------------------------------------------------------------------------ [2002-03-11 14:25:03] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] I'm using ucd-snmp 4.2.1 and it compiles fine, at least. ------------------------------------------------------------------------ [2002-02-28 22:17:14] [EMAIL PROTECTED] I am getting an identical error when compiling PHP 4.1.2 with UCD-SNMP 4.2.3 on FreeBSD. When I compile PHP for CGI/command line duties (no --with-apxs... all other options the same) with UCD snmp it compiles without errors. ------------------------------------------------------------------------ [2002-02-20 03:35:57] [EMAIL PROTECTED] Unreproducible with Debian GNU/Linux woody and standard Debian (dev-)packages of net-snmp, gd etc. net-snmp 4.2.3 and php 4.1.1 ------------------------------------------------------------------------ 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