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 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


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

[2002-03-15 18:01:11] [EMAIL PROTECTED]

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] [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.

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

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

Reply via email to