From: auroraeosrose at hotmail dot com
Operating system: Any windows
PHP version: 5CVS-2004-08-05 (dev)
PHP Bug Type: Compile Failure
Bug description: snaps.php.net xsl.dll not compiling for 5.0 - works in 5.1
Description:
------------
quick paste from compile log - if I knew how to fix it I would :)
c:\php4build\snap>nmake /I /nologo "php_xsl.dll"
"cl.exe" /D LIBXSLT_STATIC /D LIBEXSLT_STATIC /I "..\php_build\include"
/D COMPILE_DL_XSL /D XSL_EXPORTS=1 /nologo /YX /FD /I . /I main /I regex
/I Zend /I TSRM /D _WINDOWS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D
_MBCS /LD /MD /W3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GB
/GF /D ZEND_DEBUG=0 /D ZTS=1 /I "..\php_build\include" /D
LIBXML_THREAD_ENABLED /FoRelease_TS\ext\xsl\ /FdRelease_TS\ext\xsl\
/FpRelease_TS\ext\xsl\ /FRRelease_TS\ext\xsl\ -c ext\xsl\php_xsl.c
ext\xsl\xsltprocessor.c
php_xsl.c
..\php_build\include\libxml/xmlversion.h(88) : warning C4005:
'LIBXML_THREAD_ENABLED' : macro redefinition
unknown(0) : see previous definition of 'LIBXML_THREAD_ENABLED'
xsltprocessor.c
..\php_build\include\libxml/xmlversion.h(88) : warning C4005:
'LIBXML_THREAD_ENABLED' : macro redefinition
unknown(0) : see previous definition of 'LIBXML_THREAD_ENABLED'
rc /fo Release_TS\php_xsl.dll.res /d FILE_DESCRIPTION="\"XSL\"" /d
FILE_NAME="\"php_xsl.dll\"" /d PRODUCT_NAME="\"PHP php_xsl.dll\"" /d
THANKS_GUYS="\"Thanks to Christian Stocker, Rob Richards\""
win32\build\template.rc
"link.exe" /out:Release_TS\php_xsl.dll /dll /nologo /version:5.0.1
/libpath:"..\php_build\lib" /libpath:"..\php_build\lib"
Release_TS\ext\xsl\php_xsl.obj Release_TS\ext\xsl\xsltprocessor.obj
Release_TS\php5ts.lib libxslt_a.lib libexslt_a.lib kernel32.lib ole32.lib
user32.lib advapi32.lib shell32.lib ws2_32.lib resolv.lib
Release_TS\php_xsl.dll.res
Creating library Release_TS\php_xsl.lib and object
Release_TS\php_xsl.exp
php_xsl.obj : error LNK2001: unresolved external symbol
_php_libxml_error_handler
Release_TS\php_xsl.dll : fatal error LNK1120: 1 unresolved externals
EXT xsl build complete
xsl compile works in 5.1 branch - so probably someone fixed it and didn't
merge it back onto 5.0
--
Edit bug report at http://bugs.php.net/?id=29541&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29541&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29541&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29541&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29541&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29541&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29541&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29541&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29541&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29541&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29541&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29541&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29541&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29541&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29541&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29541&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29541&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29541&r=float