Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mysql/libmysql mega-patch From: Thimble Smith (tim <email protected>)
Date: 08/22/00

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 <email protected> >  :MySQL Development Team:  Boone, NC  USA.

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>