PHP 4.0 Bug #8886 Updated: Link errors with libmysql with latest CVS

From: Date: Wed, 24 Jan 2001 16:28:40 +0000
Subject: PHP 4.0 Bug #8886 Updated: Link errors with libmysql with latest CVS
Groups: php.dev 
Request: Send a blank email to php-dev+get-44906@lists.php.net to get a copy of this message
ID: 8886 User Update by: akilov@us.ibm.com Status: Open Bug Type: MySQL related Description: Link errors with libmysql with latest CVS I have no control on what order things get built in. The only thing I did was pick the php4ts configuration and let it run. If there is an order dependency, then whoever is in the know needs to update the appropriate dsp files to make sure Win32 continues to build after this change. Previous Comments: --------------------------------------------------------------------------- [2001-01-24 11:02:12] cynic@php.net don't know about the other stuff, but I bet the compress / uncompress stuff hase the same cause as on unices: you need to build zlib prior to building libmysql.lib, because it links with it. --------------------------------------------------------------------------- [2001-01-24 10:56:44] akilov@us.ibm.com Starting yesterday, I'm no longer able to build PHP on Win2000. It reports the following link errors: --------------------Configuration: php4dllts - Win32 Release_TSDbg-------------------- Linking... Creating library ..Release_TSDbg/php4ts.lib and object ..Release_TSDbg/php4ts.exp string.obj : error LNK2001: unresolved external symbol _add_index_zval string.obj : error LNK2001: unresolved external symbol _add_assoc_zval_ex libmysql.lib(my_thr_init.obj) : error LNK2001: unresolved external symbol _win_pthread_init libmysql.lib(my_compress.obj) : error LNK2001: unresolved external symbol _compress libmysql.lib(my_compress.obj) : error LNK2001: unresolved external symbol _uncompress ..Release_TSDbgphp4ts.dll : fatal error LNK1120: 5 unresolved externals Error executing link.exe. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8886

« previous php.dev (#44906) next »