Re: Re: cvs: php4 /ext/mysql/libmysql mega-patch
| From: | Thimble Smith | Date: | Tue, 22 Aug 2000 15:37:06 +0000 |
| Subject: | Re: Re: cvs: php4 /ext/mysql/libmysql mega-patch | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30243@lists.php.net to get a copy of this message | ||
On Tue, Aug 22, 2000 at 04:10:08PM +0200, Sebastian Bergmann wrote:
>
> Okay, I now get no compilation errors, but lots of compiler warnings and
> these linker errors
>
> libmysql.lib(libmysql.obj) : not resolved external symbol
> _default_charset_info
> libmysql.lib(mf_casecnv.obj) : not resolved external symbol
> _default_charset_info
default_charset_info is defined in strings/ctype.c; that should
be included in libmysqlclient.lib.
> libmysql.lib(libmysql.obj) : not resolved external symbol
> _get_charset
> libmysql.lib(libmysql.obj) : not resolved external symbol
> _get_charset_by_name
> libmysql.lib(libmysql.obj) : not resolved external symbol
> _charsets_dir
> libmysql.lib(my_init.obj) : not resolved external symbol
> _free_charsets
These are all defined in mysys/charset.c, which also should be
included in libmysqlclient.lib.
> libmysql.lib(my_compress.obj) : not resolved external symbol
> _compress
> libmysql.lib(my_compress.obj) : not resolved external symbol
> _uncompress
>
These are libz functions.
I'm sorry, I know nothing at all about development on Windows, so
I can't tell you why they're missing. It seems odd to me that it
is using libmysql.lib instead of libmysqlclient.lib, but I don't
see how that could be the problem, either.
Tim
--
Tim Smith < tim@mysql.com > :MySQL Development Team: Boone, NC USA.