Compile problem with ftp and mnogosearch

From: Date: Sat, 28 Apr 2001 10:41:08 +0000
Subject: Compile problem with ftp and mnogosearch
Groups: php.qa 
Request: Send a blank email to php-qa+get-2971@lists.php.net to get a copy of this message
Hi, there seems to be a problem with 4.0.5RC8 if you are trying to enable ftp-extensions and mnogosearch at the same time. Make fails with an Error 1 because of some multiple defined ftp_ functions. My configure: pfirsich:/usr/local/src/php-4.0.5RC8 # ./configure --enable-versioning --with-apxs=/usr/local/apache/bin/apxs --enable-calendar --enable-ftp --with-gd=/usr/local/ --with-ttf=/usr/local/ --with-imap --with-mysql=/usr/local/mysql/ --with-pgsql --enable-shmop --with-zlib --with-pdflib=/usr/local/ --enable-trans-sid --with-mnogosearch The output of make: [...] /bin/sh /usr/local/src/php-4.0.5RC8/libtool --silent --mode=link gcc -I. -I/usr/local/src/php-4.0.5RC8/ -I/usr/local/src/php-4.0.5RC8/main -I/usr/local/src/php-4.0.5RC8 -I/usr/local/apache/include -I/usr/local/src/php-4.0.5RC8/Zend -I/usr/local//include -I/usr/local/include -I/usr/local/mnogosearch/include -I/usr/local/mysql//include/mysql -I/usr/local/src/php-4.0.5RC8/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.5RC8/ext/xml/expat/xmlparse -I/usr/local/src/php-4.0.5RC8/TSRM -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath /usr/local/src/php-4.0.5RC8/libs -export-symbols /usr/local/src/php-4.0.5RC8/sapi/apache/php.sym -avoid-version -L/usr/local//lib -L/usr/local/lib -L/usr/local/mysql/lib/mysql -L/usr/local/mnogosearch/lib -L/usr/local/mysql//lib/mysql -L/usr/local/pgsql/lib -R /usr/local//lib -R /usr/local/lib -R /usr/local/mysql/lib/mysql -R /usr/local/mnogosearch/lib -R /usr/local/mysql//lib/mysql -R /usr/local/pgsql/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/calendar/libcalendar.la ext/ftp/libftp.la ext/gd/libgd.la ext/imap/libimap.la ext/mnogosearch/libmnogosearch.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/pdf/libpdf.la ext/pgsql/libpgsql.la ext/posix/libposix.la ext/session/libsession.la ext/shmop/libshmop.la ext/standard/libstandard.la ext/xml/libxml.la ext/zlib/libzlib.la TSRM/libtsrm.la -lpam -lc-client -ldl -lz -lpq -lpdf -ltiff -ltiff -lpng -lpng -ljpeg -ljpeg -lmysqlclient -ludmsearch -lz -lm -lmysqlclient -lttf -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lz -ljpeg -lpng -ltiff /usr/local/mnogosearch/lib/libudmsearch.a(ftp.o): In function `ftp_close': /usr/local/src/mnogosearch-3.1.12/src/ftp.c:475: multiple definition of `ftp_close' ext/ftp/.libs/libftp.al(ftp.lo):/usr/local/src/php-4.0.5RC8/ext/ftp/ftp.c:179: first defined here /usr/i486-linux/bin/ld: Warning: size of symbol `ftp_close' changed from 63 to 65 in ftp.o /usr/local/mnogosearch/lib/libudmsearch.a(ftp.o): In function `ftp_login': /usr/local/src/mnogosearch-3.1.12/src/ftp.c:247: multiple definition of `ftp_login' ext/ftp/.libs/libftp.al(ftp.lo):/usr/local/src/php-4.0.5RC8/ext/ftp/ftp.c:223: first defined here /usr/i486-linux/bin/ld: Warning: size of symbol `ftp_login' changed from 155 to 367 in ftp.o /usr/local/mnogosearch/lib/libudmsearch.a(ftp.o): In function `ftp_list': /usr/local/src/mnogosearch-3.1.12/src/ftp.c:369: multiple definition of `ftp_list' ext/ftp/.libs/libftp.al(ftp.lo):/usr/local/src/php-4.0.5RC8/ext/ftp/ftp.c:419: first defined here /usr/i486-linux/bin/ld: Warning: size of symbol `ftp_list' changed from 43 to 262 in ftp.o /usr/local/mnogosearch/lib/libudmsearch.a(ftp.o): In function `ftp_get': /usr/local/src/mnogosearch-3.1.12/src/ftp.c:392: multiple definition of `ftp_get' ext/ftp/.libs/libftp.al(ftp.lo):/usr/local/src/php-4.0.5RC8/ext/ftp/ftp.c:499: first defined here /usr/i486-linux/bin/ld: Warning: size of symbol `ftp_get' changed from 485 to 198 in ftp.o /usr/local/mnogosearch/lib/libudmsearch.a(ftp.o): In function `ftp_mdtm': /usr/local/src/mnogosearch-3.1.12/src/ftp.c:411: multiple definition of `ftp_mdtm' ext/ftp/.libs/libftp.al(ftp.lo):/usr/local/src/php-4.0.5RC8/ext/ftp/ftp.c:639: first defined here /usr/i486-linux/bin/ld: Warning: size of symbol `ftp_mdtm' changed from 319 to 197 in ftp.o collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.0.5RC8' make: *** [all-recursive] Error 1 With best regards, Stefan Hanauska -- "Wenn Gott mailen würde, dann würds Outloook net mehr geben!"

« previous php.qa (#2971) next »