ID: 14910 Comment by: [EMAIL PROTECTED] Old Reported 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 also am receiving the same exact error. Has anyone any idea what I can do to fix the problem? Will downgrading the PHP version have any affect? Previous Comments: ------------------------------------------------------------------------ [2002-01-10 04:27:24] [EMAIL PROTECTED] In the Zend/Makefile.in, changing this: libZend_la_LDFLAGS = @EXTRA_LIBS@ to this: libZend_la_LDFLAGS = did _not_ fix the compile problems at my side ... there are the same errors as before at some other system this fixed the compile errors but restarting apache coredumped ... (net-snmp 4.2.3, php4.1.1) ------------------------------------------------------------------------ [2002-01-09 11:52:25] [EMAIL PROTECTED] The same error occurs when using UCD-SNMP 4.2.3. Wiping out any snmp library and header files on the system and rebuilding snmp had no effect. ------------------------------------------------------------------------ [2002-01-07 09:35:20] [EMAIL PROTECTED] I am running UCD-SNMP 4.2.2. UCD-SNMP libraries are installed in the default locations (/usr/local/...). The snmp daemon, etc, appear to work perfectly. Configure of php suceeds. I think compilation suceeds as well. Linking appears to fail after compilation. Nobody was able to help me on the mailing lists. I have also seen several other people posting this same error to the lists. They have also received no useful answers. The configure options I used: ./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 \ --enable-ucd-snmp-hack \ --with-openssl A snippet of the error it produced upon "make": Making all in . make[1]: Entering directory `/opt/tmp/php-4.1.1' /bin/sh /opt/tmp/php-4.1.1/libtool --silent --mode=link gcc -I. -I/opt/tmp/php-4.1.1/ -I/opt/tmp/php-4.1.1/main -I/opt/ tmp/php-4.1.1 -I/opt/apache/include -I/opt/tmp/php-4.1.1/Zend -I/usr/include/freetype2/freetype -I/usr/local/include -I/ opt/tmp/php-4.1.1/ext/mysql/libmysql -I/opt/oracle/rdbms/public -I/opt/oracle/rdbms/demo -I/opt/tmp/ucd-snmp-4.2.2/inclu de -I/opt/tmp/php-4.1.1/ext/xml/expat -DLINUX=22 -DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/opt/tmp/php-4.1.1 /TSRM -g -O2 -prefer-pic -o libphp4.la -rpath /opt/tmp/php-4.1.1/libs -avoid-version -L/usr/X11R6/lib -L/usr/local/lib -L/opt/oracle/lib -L/opt/tmp/ucd-snmp-4.2.2/lib -R /usr/X11R6/lib -R /usr/local/lib -R /opt/oracle/lib -R /opt/tmp/ucd -snmp-4.2.2/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/zlib/libzlib.la ex t/gd/libgd.la ext/imap/libimap.la ext/ldap/libldap.la ext/mysql/libmysql.la ext/oci8/liboci8.la ext/openssl/libopenssl.l a ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/snmp/libsnmp.la ext/standard/libstandard.la ex t/wddx/libwddx.la ext/xml/libxml.la ext/xslt/libxslt.la TSRM/libtsrm.la -lpam -lc-client -ldl -lsablot -lexpat -lsnmp -l m -ldl -lldap -llber -lcrypt -lpam -lgd -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lclntsh /usr/local/lib/libsnmp.a(snmp_client.o): In function `snmp_pdu_create': /opt/tmp/ucd-snmp-4.2.2/snmplib/snmp_client.c:110: multiple definition of `snmp_pdu_create' Zend/.libs/libZend.al(snmp_client.o):/opt/tmp/ucd-snmp-4.2.2/snmplib/snmp_client.c:110: first defined here /usr/local/lib/libsnmp.a(snmp_client.o): In function `snmp_add_null_var': /opt/tmp/ucd-snmp-4.2.2/snmplib/snmp_client.c:140: multiple definition of `snmp_add_null_var' Zend/.libs/libZend.al(snmp_client.o):/opt/tmp/ucd-snmp-4.2.2/snmplib/snmp_client.c:140: first defined here . . . OUTPUT OMITTED . . . /usr/local/lib/libsnmp.a(snmp_alarm.o): In function `alarm_handler': /opt/tmp/ucd-snmp-4.2.2/snmplib/snmp_alarm.c:164: multiple definition of `alarm_handler' Zend/.libs/libZend.al(snmp_alarm.o):/opt/tmp/ucd-snmp-4.2.2/snmplib/snmp_alarm.c:164: first defined here /usr/local/lib/libsnmp.a(snmp_alarm.o): In function `get_next_alarm_delay_time': /opt/tmp/ucd-snmp-4.2.2/snmplib/snmp_alarm.c:170: multiple definition of `get_next_alarm_delay_time' Zend/.libs/libZend.al(snmp_alarm.o):/opt/tmp/ucd-snmp-4.2.2/snmplib/snmp_alarm.c:170: first defined here /usr/local/lib/libsnmp.a(snmp_alarm.o): In function `snmp_alarm_register': /opt/tmp/ucd-snmp-4.2.2/snmplib/snmp_alarm.c:204: multiple definition of `snmp_alarm_register' Zend/.libs/libZend.al(snmp_alarm.o):/opt/tmp/ucd-snmp-4.2.2/snmplib/snmp_alarm.c:204: first defined here collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/opt/tmp/php-4.1.1' make: *** [all-recursive] Error 1 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14910&edit=1 -- PHP Development 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]