Re: problems compiling mysqli (on win32)
| From: | M. Sokolewicz | Date: | Sun, 20 Feb 2005 14:12:41 +0000 |
| Subject: | Re: problems compiling mysqli (on win32) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15121@lists.php.net to get a copy of this message | ||
Sebastian Bergmann wrote:
M. Sokolewicz wrote:so, that works now; only problem left is an unresolved extrenal symbols problem. php5ts.dll.def : error LNK2001: unresolved external symbol _libiconv_version php5ts.dll.def : error LNK2001: unresolved external symbol libiconv php5ts.dll.def : error LNK2001: unresolved external symbol libiconv_close php5ts.dll.def : error LNK2001: unresolved external symbol libiconv_open php5ts.dll.def : error LNK2001: unresolved external symbol libiconv_set_relocati on_prefix Release_TS\php5ts.lib : fatal error LNK1120: 5 unresolved externals LINK : fatal error LNK1141: failure during build of exports file Now, I have no idea why this is hapenning, because according to the makefile, it links to them via PHP_DLL_DEF_SOURCES (which has the correct paths. I've tried changing them, and make failed earlier because it couldn't find them...). I can't figure out why it has to be so much more complicated on win32-systems; guess that's because few people actually try it there =/ - tulSo, is this a problem with my compiler being stupid?Are you sure you have the right MySQL headers and libraries? ah, thanks for the headsup on this, it seems it was indeed a header/library mismatch; the configure script took em from the win32build dir instead of the mysql install (had to move the win32buikd ones to have it fetch the mysql install headers/libs instead)