PHP Compile Errors

From: Date: Fri, 04 Jan 2002 21:19:34 +0000
Subject: PHP Compile Errors
Groups: php.general 
Request: Send a blank email to php-general+get-79496@lists.php.net to get a copy of this message
Hello, I am having trouble compiling php with snmp support. ucd-snmp 4.2.2 is installed and working without trouble. PHP4.1.1 configures ok but fails on make, giving many errors similar to this: /usr/local/lib/libsnmp.a(snmp_alarm.o): In function `sa_find_next': /export/home/j/js/jsignalness/ucd-snmp-4.2.2/snmplib/snmp_alarm.c:111: multiple definition of `sa_find_next' Zend/.libs/libZend.al(snmp_alarm.o):/export/home/j/js/jsignalness/ucd-snmp-4.2.2/snmplib/snmp_alarm.c:111: first defined here /usr/local/lib/libsnmp.a(snmp_alarm.o): In function `sa_find_specific': /export/home/j/js/jsignalness/ucd-snmp-4.2.2/snmplib/snmp_alarm.c:120: multiple definition of `sa_find_specific' Zend/.libs/libZend.al(snmp_alarm.o):/export/home/j/js/jsignalness/ucd-snmp-4.2.2/snmplib/snmp_alarm.c:120: first defined here My PHP configure options are: ./configure \ --with-apxs=/opt/apache/bin/apxs \ --with-oci8 \ --with-ldap \ --with-gd=/usr \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-freetype-dir=/usr \ --with-zlib-dir=/usr \ --with-xpm-dir=/usr/X11R6 \ --enable-sigchild \ --with-imap \ --enable-xslt \ --with-xslt-sablot \ --enable-wddx \ --with-snmp=/usr/local \ --enable-ucd-snmp-hack \ --with-openssl Please CC me on any replies, as I don't subscribe to php-general. Any ideas would be greatly appreciated. Thanks in advance -- Jason Signalness, Systems Administrator Basin Telecommunications, Inc. jsignalness@btinet.net (701)355-5727 --

« previous php.general (#79496) next »