I faced the same problem when compile php 4.0.6 and 4.1.0 with snmp. I tried several times so i just dropped it. Now I'm using php without snmp.
Do let me know if you get over this error. --- Jason Signalness <[EMAIL PROTECTED]> wrote: > 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. > [EMAIL PROTECTED] (701)355-5727 > -- > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]