Re: RC1 failure w/ iconv

From: Date: Sat, 18 Aug 2001 22:38:09 +0000
Subject: Re: RC1 failure w/ iconv
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-3528@lists.php.net to get a copy of this message
PHP, Zend & TSRM CVS as of 07:00 PM CEST (approx.): Making all in . gcc -I. -I/usr/local/src/php4/ -I/usr/local/src/php4/main -I/usr/local/src/php4 -I/usr/local/src/php4/Zend -I/usr/local/include -I/usr/local/include/freetype2/freetype -I/usr/local/include/mysql -I/usr/local/src/php4/TSRM -g -O2 -c stub.c && touch stub.lo /bin/sh /usr/local/src/php4/libtool --silent --mode=link gcc -I. -I/usr/local/src/php4/ -I/usr/local/src/php4/main -I/usr/local/src/php4 -I/usr/local/src/php4/Zend -I/usr/local/include -I/usr/local/include/freetype2/freetype -I/usr/local/include/mysql -I/usr/local/src/php4/TSRM -g -O2 -o libphp4.la -rpath /usr/local/src/php4/libs -L/usr/local/lib -L/usr/local/lib/mysql -R /usr/local/lib -R /usr/local/lib/mysql stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la regex/libregex.la ext/zlib/libzlib.la ext/bcmath/libbcmath.la ext/bz2/libbz2.la ext/calendar/libcalendar.la ext/ctype/libctype.la ext/curl/libcurl.la ext/dbase/libdbase.la ext/dbx/libdbx.la ext/exif/libexif.la ext/filepro/libfilepro.la ext/ftp/libftp.la ext/gd/libgd.la ext/gettext/libgettext.la ext/gmp/libgmp.la ext/iconv/libiconv.la ext/mailparse/libmailparse.la ext/mbstring/libmbstring.la ext/mcrypt/libmcrypt.la ext/mhash/libmhash.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/recode/librecode.la ext/sablot/libsablot.la ext/session/libsession.la ext/shmop/libshmop.la ext/sockets/libsockets.la ext/standard/libstandard.la ext/sysvsem/libsysvsem.la ext/sysvshm/libsysvshm.la ext/wddx/libwddx.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -lrecode -lexpat -lsablot -lexpat -lexpat -lmysqlclient -lz -lmhash -lmcrypt -lltdl -liconv -lgmp -lintl -lgd -lfreetype -lpng -lz -ljpeg -lcurl -lcrypto -lssl -lbz2 -lz -lm -lcrypt /bin/sh /usr/local/src/php4/libtool --silent --mode=link gcc -I. -I/usr/local/src/php4/ -I/usr/local/src/php4/main -I/usr/local/src/php4 -I/usr/local/src/php4/Zend -I/usr/local/include -I/usr/local/include/freetype2/freetype -I/usr/local/include/mysql -I/usr/local/src/php4/TSRM -g -O2 -o php -export-dynamic stub.lo libphp4.la ./.libs/libphp4.a(internal_functions.o): In function `php_startup_internal_extensions': /usr/local/src/php4/main/internal_functions.c(.data+0x44): undefined reference to `iconv_module_entry' *** Error code 1 Stop in /usr/local/src/php4. *** Error code 1 Stop in /usr/local/src/php4. [cynic(cynic)@freepuppy php4]$ config.nice: [cynic(cynic)@freepuppy php4]$ cat config.nice #! /bin/sh # # Created by configure './configure' \ '--with-zlib' \ '--with-bz2' \ '--with-gettext' \ '--with-curl' \ '--with-recode' \ '--with-mcrypt' \ '--with-mhash' \ '--with-mysql=/usr/local' \ '--with-jpeg-dir=/usr/local' \ '--with-tiff-dir=/usr/local' \ '--with-png-dir=/usr/local' \ '--with-zlib-dir=/usr' \ '--with-freetype-dir=/usr/local' \ '--with-gd' \ '--with-gmp' \ '--with-expat-dir=/usr/local' \ '--with-sablot' \ '--with-xslt-sablot' \ '--enable-bcmath' \ '--enable-calendar' \ '--enable-ctype' \ '--enable-dbase' \ '--enable-dbx' \ '--enable-exif' \ '--enable-filepro' \ '--enable-ftp' \ '--enable-native-ttf' \ '--enable-mailparse' \ '--enable-mbstring' \ '--enable-trans-sid' \ '--enable-shmop' \ '--enable-sockets' \ '--enable-sysvsem' \ '--enable-sysvshm' \ '--enable-wddx' \ '--enable-inline-optimization' \ '--enable-memory-limit' \ '--with-iconv' \ "$@" [cynic(cynic)@freepuppy php4]$ config.log: configure:23581: checking for iconv support configure:23729: checking for libiconv_open in -liconv configure:23748: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib conftest.c -liconv -liconv -lgmp -lintl -lgd -lfreetyp$ /tmp/ccYN1qMK.o: In function `main': /usr/local/src/php4/configure(.text+0x7): undefined reference to `libiconv_open' configure: failed program was: #line 23737 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char libiconv_open(); int main() { libiconv_open() ; return 0; } FreeBSD's /usr/local/include/iconv.h defines iconv_open(), not libiconv_open, is this the prob? (Sorry if this dosn't make much sense, I'm not completely sober. :) At 10:28 8/18/2001, Jani Taskinen wrote the following: -------------------------------------------------------------- >Could you try the latest CVS? > >--Jani > >On Fri, 17 Aug 2001, Cynic wrote: > >>output of make: >> >>/bin/sh /usr/local/src/php-4.0.7RC1/libtool --silent --mode=link gcc -I. >>-I/usr/local/src/php-4.0.7RC1/ -I/usr/local/src/php-4.0.7RC1/main -I/usr/local/src/php-4.0.7RC1 >>-I/usr/local/src/php-4.0.7RC1/Zend -I/usr/local/include -I/usr/local/include/freetype2/freetype >>-I/usr/local/include/mysql -I/usr/local/src/php-4.0.7RC1/TSRM -g -O2 -o php -export-dynamic >>stub.lo libphp4.la >>./.libs/libphp4.a(internal_functions.o): In function `php_startup_internal_extensions': >>/usr/local/src/php-4.0.7RC1/main/internal_functions.c(.data+0x44): undefined reference to >>`iconv_module_entry' >>*** Error code 1 >> >>Stop in /usr/local/src/php-4.0.7RC1. >>*** Error code 1 >> >>Stop in /usr/local/src/php-4.0.7RC1. >>[cynic(cynic)@freepuppy php-4.0.7RC1]$ >> >> >> >>cynic@mail.cz >>------------- >>And the eyes of them both were opened and they saw that their files >>were world readable and writable, so they chmoded 600 their files. >> - Book of Installation chapt 3 sec 7 >> >> >> > > >-- >PHP Quality Assurance Mailing List <http://www.php.net/> >To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net >For additional commands, e-mail: php-qa-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net ------end of quote------ cynic@mail.cz ------------- And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files. - Book of Installation chapt 3 sec 7

« previous php.qa (#3528) next »