php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8886 Link errors with libmysql with latest CVS
Submitted: 2001-01-24 10:56 UTC Modified: 2001-01-25 12:10 UTC
From: akilov at us dot ibm dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0 Latest CVS (24/01/2001) OS: Windows 2000
Private report: No CVE-ID: None
 [2001-01-24 10:56 UTC] akilov at us dot ibm dot 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_TSDbg\php4ts.dll : fatal error LNK1120: 5 unresolved externals 
Error executing link.exe.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-24 11:02 UTC] 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 11:28 UTC] akilov at us dot ibm dot com
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.
 [2001-01-25 12:10 UTC] akilov at us dot ibm dot com
This appears to be fixed in the latest CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 15:01:28 2024 UTC