Re: Debug version of PECL package?

From: Date: Mon, 07 Sep 2009 19:24:10 +0000
Subject: Re: Debug version of PECL package?
References: 1 2 3 4 5 6 7 8  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-6623@lists.php.net to get a copy of this message
I also tried building php_xml.dll with: cscript /nologo /e:jscript configure.js --enable-debug --enable-embed --with-xsl=shared --enable-soap --enable-pdo --with-pdo-dblib --with-pdo-mssql --with-pdo-sqlite --enable-exif --enable-zip --with-sqlite --enable-shmop --with-openssl --enable-mbregex --enable-mbstring --with-gettext --enable-dbase --with-bz2 --with-extra-includes=C:\php529\bindlib_w32;C:\php529\win32build\include;C:\php529\libs\iconv\include;C:\php529\libs\libxml\include;C:\php529\libs\libxslt\include;C:\php529\libs\zlib\include; --with-extra-libs=C:\php529\bindlib_w32\Debug;C:\php529\libs\zlib\lib;C:\php529\libs\iconv\lib;C:\php529\libs\libxml\lib;C:\php529\libs\libxslt\lib; but it didn't work! When I try building it shared I'm getting the following compiler errors: xsltprocessor.obj : error LNK2001: unresolved external symbol _dom_node_class_entry xsltprocessor.obj : error LNK2001: unresolved external symbol _executor_globals_id libexslt_a.lib(math.obj) : error LNK2001: unresolved external symbol _xmlFree libexslt_a.lib(crypto.obj) : error LNK2001: unresolved external symbol _xmlFree libexslt_a.lib(common.obj) : error LNK2001: unresolved external symbol _xmlFree libexslt_a.lib(saxon.obj) : error LNK2001: unresolved external symbol _xmlFree libexslt_a.lib(date.obj) : error LNK2001: unresolved external symbol _xmlFree libexslt_a.lib(strings.obj) : error LNK2001: unresolved external symbol _xmlFree libexslt_a.lib(functions.obj) : error LNK2019: unresolved external symbol _xmlFree referenced in function _exsltFuncResultElem libxslt_a.lib(templates.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(numbers.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(functions.obj) : error LNK2001: unresolved external symbol _xmlFree libexslt_a.lib(dynamic.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(attributes.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(pattern.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(keys.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(security.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(variables.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(documents.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(preproc.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(namespaces.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(transform.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(xsltlocale.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(imports.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(attrvt.obj) : error LNK2001: unresolved external symbol _xmlFree xsltprocessor.obj : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(xslt.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(extensions.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(xsltutils.obj) : error LNK2001: unresolved external symbol _xmlFree libxslt_a.lib(variables.obj) : error LNK2001: unresolved external symbol _xmlRealloc libxslt_a.lib(pattern.obj) : error LNK2001: unresolved external symbol _xmlRealloc libxslt_a.lib(xslt.obj) : error LNK2019: unresolved external symbol _xmlReallocreferenced in function _exclPrefixPush libxslt_a.lib(xsltutils.obj) : error LNK2001: unresolved external symbol _xmlRealloc libxslt_a.lib(transform.obj) : error LNK2001: unresolved external symbol _xmlRealloc libxslt_a.lib(attrvt.obj) : error LNK2001: unresolved external symbol _xmlRealloc libxslt_a.lib(security.obj) : error LNK2001: unresolved external symbol _xmlMalloc libexslt_a.lib(date.obj) : error LNK2001: unresolved external symbol _xmlMalloc libexslt_a.lib(functions.obj) : error LNK2019: unresolved external symbol _xmlMalloc referenced in function _exsltFuncFunctionFunction libxslt_a.lib(preproc.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(attributes.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(pattern.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(keys.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(xsltlocale.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(attrvt.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(variables.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(documents.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(xslt.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(extensions.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(xsltutils.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(transform.obj) : error LNK2001: unresolved external symbol _xmlMalloc libxslt_a.lib(xslt.obj) : error LNK2019: unresolved external symbol _xmlStringTextNoenc referenced in function _xsltParseTemplateContent libxslt_a.lib(transform.obj) : error LNK2001: unresolved external symbol _xmlStringTextNoenc libxslt_a.lib(attributes.obj) : error LNK2001: unresolved external symbol _xmlStringTextNoenc libxslt_a.lib(transform.obj) : error LNK2019: unresolved external symbol _xmlStringText referenced in function _xsltCopyTextString libxslt_a.lib(pattern.obj) : error LNK2019: unresolved external symbol _xmlIsExtenderGroup referenced in function _xsltScanName libxslt_a.lib(pattern.obj) : error LNK2019: unresolved external symbol _xmlIsCombiningGroup referenced in function _xsltScanName libxslt_a.lib(pattern.obj) : error LNK2019: unresolved external symbol _xmlIsDigitGroup referenced in function _xsltScanName libxslt_a.lib(numbers.obj) : error LNK2001: unresolved external symbol _xmlIsDigitGroup libxslt_a.lib(pattern.obj) : error LNK2019: unresolved external symbol _xmlIsBaseCharGroup referenced in function _xsltScanName libxslt_a.lib(numbers.obj) : error LNK2001: unresolved external symbol _xmlIsBaseCharGroup libexslt_a.lib(date.obj) : error LNK2019: unresolved external symbol _xmlXPathNAN referenced in function _exsltDateYear libexslt_a.lib(math.obj) : error LNK2001: unresolved external symbol _xmlXPathNAN libexslt_a.lib(crypto.obj) : error LNK2019: unresolved external symbol _xmlMallocAtomic referenced in function _exsltCryptoRc4EncryptFunction Debug_TS\php_xsl.dll : fatal error LNK1120: 13 unresolved externals I don't know what's wrong. Here's the cscript output: Saving configure options to config.nice.bat Checking for cl.exe ... <in default path> Checking for cl.exe ... <in default path> Detected MS compiler version 15 Detected 32-bit compiler Checking for link.exe ... C:\Programme\Microsoft Visual Studio 9.0\VC\BIN Checking for nmake.exe ... <in default path> Checking for lib.exe ... <in default path> Checking for bison.exe ... <in default path> Checking for flex.exe ... <in default path> Checking for re2c.exe ... <in default path> Checking for zip.exe ... <in default path> Checking for lemon.exe ... <not found> Checking for mc.exe ... C:\Programme\Microsoft SDKs\Windows\v6.0A\bin Checking for mt.exe ... C:\Programme\Microsoft SDKs\Windows\v6.0A\bin Checking for arpa\nameser.h ... <not found> Checking for arpa\nameser.h ... C:\php529\bindlib_w32 Checking for library resolv.lib ... bindlib_w32\Debug\resolv.lib Build dir: Debug_TS PHP Core: php5ts_debug.dll and php5ts_debug.lib Checking for wspiapi.h ... <in default path> Enabling IPv6 support Checking for NewAPIs.h ... <not found> Checking for NewAPIs.h ... <not found> Enabling SAPI sapi\cgi Enabling SAPI sapi\cli Enabling SAPI sapi\embed Enabling extension ext\bcmath Checking for library libbz2.lib ... <not found> WARNING: bz2 not enabled; libraries and headers not found Enabling extension ext\calendar Checking for library oleaut32.lib ... <in LIB path> OleAut32.Lib Enabling extension ext\com_dotnet Checking for mscoree.h ... <in default path> Enabling extension ext\ctype Enabling extension ext\date Enabling extension ext\dbase Enabling extension ext\filter Enabling extension ext\ftp Checking for library libjpeg.lib ... <not found> WARNING: gd not enabled; libraries and headers not found Checking for library libintl.lib ... <not found> WARNING: gettext not enabled; libraries and headers not found Enabling extension ext\hash Checking for iconv.h ... <not found> Checking for iconv.h ... C:\php529\libs\iconv\include Enabling extension ext\iconv Enabling extension ext\json Enabling extension ext\mbstring Enabling extension ext\odbc Checking for library ssleay32.lib ... <not found> Enabling extension ext\pcre Enabling extension ext\reflection Enabling extension ext\session Enabling extension ext\shmop Enabling extension ext\spl Enabling extension ext\sqlite Checking for timelib_config.h ... ext/date/lib Enabling extension ext\standard Enabling extension ext\tokenizer Checking for zlib.h ... <not found> Checking for zlib.h ... C:\php529\win32build\include Enabling extension ext\zip Enabling extension ext\zlib AC_DEFINE[HAVE_ZLIB]=1: is already defined to 1 Checking for library zlib.lib ... <in extra libs path> Checking for zlib.h ... <not found> Checking for zlib.h ... C:\php529\win32build\include Checking for library libxml2_a_dll.lib;libxml2_a.lib ... <in extra libs path> Checking for library iconv_a.lib;iconv.lib ... <in extra libs path> Checking for libxml/parser.h ... <not found> Checking for libxml/parser.h ... C:\php529\libs\libxml\include Enabling extension ext\libxml Enabling extension ext\dom Enabling extension ext\exif Enabling extension ext\pdo Checking for library sybdb.lib ... <not found> Checking for library sybdb.lib ... <not found> Checking for library ntwdblib.lib ... <not found> Checking for library ntwdblib.lib ... <not found> Checking for library ntwdblib.lib ... <not found> Checking for library ntwdblib.lib ... <not found> Checking for library ntwdblib.lib ... <not found> Enabling extension ext\pdo_sqlite Enabling extension ext\simplexml Enabling extension ext\soap Enabling extension ext\wddx Checking for timelib_config.h ... ext/date/lib Enabling extension ext\xml Enabling extension ext\xmlreader Checking for libxml/xmlwriter.h ... <not found> Checking for libxml/xmlwriter.h ... C:\php529\libs\libxml\include Enabling extension ext\xmlwriter Checking for library libxslt_a.lib ... <in extra libs path> Checking for library libexslt_a.lib ... <in extra libs path> Checking for libxslt\xslt.h ... <not found> Checking for libxslt\xslt.h ... C:\php529\libs\libxslt\include Checking for libexslt\exslt.h ... <not found> Checking for libexslt\exslt.h ... C:\php529\libs\libxslt\include Enabling extension ext\xsl [shared] Creating build dirs... Generating files... Generating Makefile Generating main/internal_functions.c [content unchanged; skipping] Generating main/config.w32.h Done. Thanks and greetings! > On Mon, Sep 7, 2009 at 14:55, Benjamin Franke<buzle@gmx.de> wrote: > >> Hi again! >> >> I'm getting closer and closer xD >> But I don't get php_xsl.dll builded! >> I'm doing the following: >> >> cscript /nologo /e:jscript configure.js --enable-debug --enable-embed --with-xml --with-xsl >> > [....] > >> So it definitly sais: "Enabling extension ext\xsl"! >> But when I compile php it doesn't creates the php_xsl.dll. I only get the .lib .obj >> etc... >> > > > I don't know anything about the windows build system, but to me this > reads like you are building it statically. You only get the .dll when > building it as shared. > > -Hannes > > > > __________ Information from ESET Smart Security, version of virus signature database 4403 > (20090907) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > __________ Information from ESET Smart Security, version of virus signature database 4403 (20090907) __________ The message was checked by ESET Smart Security. http://www.eset.com

« previous php.pecl.dev (#6623) next »