RE: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/mysqli mysqli_api.c
| From: | Steph | Date: | Tue, 08 Jun 2004 15:38:26 +0000 |
| Subject: | RE: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/mysqli mysqli_api.c | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10322@lists.php.net to get a copy of this message | ||
Sorry Sebastian, I should've been more clear. I'm working from mysql src
here, I fixed 10 of the 11 4.1.2 ext/mysqli export errors I started out with
by adding them to the defs file; this final error didn't want to be fixed
that way.
I just don't get how something can be listed as an export and be ok from one
source file but not another, _ or no _.
mysqli_prop.obj : error LNK2001: unresolved external symbol
_mysql_stmt_insert_id
Release_TS\php5ts.dll : fatal error LNK1120: 1 unresolved externals
mysql_stmt_insert_id is listed in libmysql.def (on my box) & is exported as
it should be from its declaration in mysqli_api.c (on my box).
I'm just looking for clues now :I
> -----Original Message-----
> From: admin [mailto:admin]On Behalf Of Sebastian Bergmann
> Sent: 08 June 2004 15:59
> To: internals@lists.php.net
> Subject: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/mysqli mysqli_api.c
>
>
> Steph wrote:
> > win32 build's failing now only on one export:
>
> Fails on 10 for me:
>
> mysqli.obj: error LNK2001: Unresolved external symbol _client_errors
> mysqli_repl.obj: error LNK2019: Unresolved external symbol
> '_mysql_disable_reads_from_master@4', in
> '_zif_mysqli_disable_reads_from_master'
> mysqli_repl.obj: error LNK2019: Unresolved external symbol
> '_mysql_disable_rpl_parse@4', in '_zif_mysqli_disable_rpl_parse'
> mysqli_repl.obj: error LNK2019: Unresolved external symbol
> '_mysql_enable_reads_from_master@4', in
> '_zif_mysqli_enable_reads_from_master'
> mysqli_repl.obj: error LNK2019: Unresolved external symbol
> '_mysql_enable_rpl_parse@4', in '_zif_mysqli_enable_rpl_parse'
> mysqli_repl.obj: error LNK2019: Unresolved external symbol
> '_mysql_master_query@12', in '_zif_mysqli_master_query'
> mysqli_repl.obj: error LNK2019: Unresolved external symbol
> '_mysql_rpl_parse_enabled@4', in '_zif_mysqli_rpl_parse_enabled'
> mysqli_repl.obj: error LNK2019: Unresolved external symbol
> '_mysql_rpl_probe@4', in '_zif_mysqli_rpl_probe'
> mysqli_repl.obj: error LNK2019: Unresolved external symbol
> '_mysql_rpl_query_type@8', in '_zif_mysqli_rpl_query_type'
> mysqli_repl.obj: error LNK2019: Unresolved external symbol
> '_mysql_slave_query@12', in '_zif_mysqli_slave_query'
>
> I am using the includes/library from the fixed 4.1.2 release.
>
> --
> Sebastian Bergmann
> http://sebastian-bergmann.de/
> http://phpOpenTracker.de/
>
> Das Buch zu PHP 5:
> http://professionelle-softwareentwicklung-mit-php5.de/
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>