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':
multiple definition of `sa_find_next'
first defined here
/usr/local/lib/libsnmp.a(snmp_alarm.o): In function `sa_find_specific':
multiple definition of `sa_find_specific'
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 \

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]

Reply via email to