Wez, Running with --without-iconv along with all the --without-<xml_stuff> does make the link work.
When I run "nmake clean" is does remove the files in the root of the Release_TS directory, but it doesn't remove files from any of the extension specific directories, the SAPI directories, TSRM, or Zend (i.e., they all still have .obj and .sbr files). Shouldn't these be removed also? I'm building with the Visual Studio 2003 command line tools. Michael --- Wez Furlong <[EMAIL PROTECTED]> wrote: > We currently depend on the iconv symbols being found in our libxml. > That error can probably be solved by disabling the iconv extension > though. > > It is safe to ignore errors when nmaking clean. > > --Wez. > > ----- Original Message ----- > From: "Michael Sisolak" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, February 19, 2004 10:54 PM > Subject: [PHP-DEV] PHP5 Win32 Build w/o XML Link Failure > > > > I'm trying to build a Win32 PHP5 without XML support (to determine > how > > much of my 3+ megabyte php5ts.dll can be attributed to it). Using > the > > latest snapshot (php5-200402191230) and this configure line: > > > > cscript //nologo configure.js > > > --with-extra-includes=..\openssl-0.9.7c\include;..\iconv-1.9.1\include;.. > \libxml2-2.6.6\include;..\freetype-2.1.7-1\include;..\libjpeg-6b\include;.. > \libpng-1.2.5\include > > > --with-extra-libs=..\openssl-0.9.7c\lib;..\iconv-1.9.1\lib;..\libxml2-2.6 > .6\lib;..\freetype-2.1.7-1\lib;..\libjpeg-6b\lib;..\libpng-1.2.5\lib > > --without-libxml --without-simplexml --without-xml --without-dom > > --without-wddx --with-gd=shared --with-sqlite=shared --with-mssql > > --with-openssl --enable-isapi > > > > I end up with this error on the "nmake": > > > > Creating library Release_TS\php5ts.lib and object > > Release_TS\php5ts.exp > > iconv.obj : error LNK2019: unresolved external symbol _libiconv > > referenced in function __php_iconv_appendl > > iconv.obj : error LNK2019: unresolved external symbol > _libiconv_close > > referenced in function _php_iconv_string > > iconv.obj : error LNK2019: unresolved external symbol > _libiconv_open > > referenced in function _php_iconv_string > > iconv.obj : error LNK2019: unresolved external symbol > > __libiconv_version referenced in function _zm_startup_miconv > > Release_TS\php5ts.dll : fatal error LNK1120: 4 unresolved externals > > > > I'm also having trouble with "nmake clean" which reports: > > > > Cleaning SAPI > > Could Not Find > > C:\Work\php-source\php5-20040219123\Release_TS\php5ts.dll > > Cleaning build dirs > > rmdir /s /q Release_TS\php-5.0.0RC1-dev > > The system cannot find the file specified. > > > > Michael Sisolak > > [EMAIL PROTECTED] > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail SpamGuard - Read only the mail you want. > > http://antispam.yahoo.com/tools > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php