Skip to content
WJunction - Webmaster Forum

Compiling mysqli for php 5.2 windows errors in VC6

Status
Not open for further replies.
Hello,

I currently got a development environment with windows xp, visual studio 6 service pack 6, visual c++ 6 processor pack and windows 2003 sdk (feb 2003).

I have successfully compiled php_mysql but seem unable to compile php_mysqli properly. I'd appreciate if someone could help me.

Those are the errors I get:
Code:
--------------------Configuration: mysqli - Win32 Release_TS--------------------
Compiling...
mysqli.c
C:\php-sdk\php-5.2.17\ext\mysqli\mysqli.c(1143) : warning C4018: '>' : signed/unsigned mismatch
mysqli_api.c
C:\php-sdk\php-5.2.17\ext\mysqli\mysqli_api.c(117) : warning C4018: '!=' : signed/unsigned mismatch
C:\php-sdk\php-5.2.17\ext\mysqli\mysqli_api.c(241) : warning C4018: '!=' : signed/unsigned mismatch
C:\php-sdk\php-5.2.17\ext\mysqli\mysqli_api.c(720) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'long ', possible loss of data
C:\php-sdk\php-5.2.17\ext\mysqli\mysqli_api.c(726) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'long ', possible loss of data
C:\php-sdk\php-5.2.17\ext\mysqli\mysqli_api.c(866) : warning C4018: '>=' : signed/unsigned mismatch
mysqli_fe.c
mysqli_nonapi.c
Linking...
   Creating library Release_TS/php_mysqli.lib and object Release_TS/php_mysqli.exp
mysqli.obj : error LNK2001: unresolved external symbol _php_clear_warnings
mysqli.obj : error LNK2001: unresolved external symbol _mysqli_stmt_property_entries
mysqli.obj : error LNK2001: unresolved external symbol _mysqli_result_property_entries
mysqli.obj : error LNK2001: unresolved external symbol _mysqli_warning_property_entries
mysqli.obj : error LNK2001: unresolved external symbol _mysqli_warning_methods
mysqli.obj : error LNK2001: unresolved external symbol _mysqli_link_property_entries
mysqli.obj : error LNK2001: unresolved external symbol _mysqli_driver_property_entries
mysqli.obj : error LNK2001: unresolved external symbol _mysqli_driver_methods
mysqli.obj : error LNK2001: unresolved external symbol _mysqli_exception_methods
mysqli.obj : error LNK2001: unresolved external symbol _zim_mysqli_warning___construct
mysqli.obj : error LNK2001: unresolved external symbol _zif_mysqli_driver_construct
mysqli_api.obj : error LNK2001: unresolved external symbol _php_mysqli_report_error
mysqli_nonapi.obj : error LNK2001: unresolved external symbol _php_mysqli_report_error
mysqli_api.obj : error LNK2001: unresolved external symbol _php_mysqli_report_index
mysqli_nonapi.obj : error LNK2001: unresolved external symbol _php_mysqli_report_index
mysqli_api.obj : error LNK2001: unresolved external symbol _php_mysqli_throw_sql_exception
mysqli_nonapi.obj : error LNK2001: unresolved external symbol _php_mysqli_throw_sql_exception
mysqli_fe.obj : error LNK2001: unresolved external symbol _zif_mysqli_report
mysqli_fe.obj : error LNK2001: unresolved external symbol _zif_mysqli_embedded_server_start
mysqli_fe.obj : error LNK2001: unresolved external symbol _zif_mysqli_embedded_server_end
mysqli_nonapi.obj : error LNK2001: unresolved external symbol _php_get_warnings
..\..\Release_TS/php_mysqli.dll : fatal error LNK1120: 18 unresolved externals
Error executing link.exe.

php_mysqli.dll - 22 error(s), 6 warning(s)

Regards,
NewEraCracker.
 

1 comment

Status
Not open for further replies.

About the author

NewEraCracker
Senior Member · Joined
The Cracker of New Era
1,335
Messages
203
Reactions
63
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom