Activity Stream
48,167 MEMBERS
6791 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 2 of 2
  1.     
    #1
    Moderator
    NewEraCracker's Avatar

    Default Compiling mysqli for php 5.2 windows errors in VC6

    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.
    NewEraCracker Reviewed by NewEraCracker on . Compiling mysqli for php 5.2 windows errors in VC6 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: --------------------Configuration: mysqli - Win32 Release_TS-------------------- Compiling... mysqli.c Rating: 5
    Trusted: Dom, l0calh0st, 0ccul7, robert420
    Find all threads started by NewEraCracker

  2.   Sponsored Links

  3.     
    #2
    Moderator
    NewEraCracker's Avatar
    Managed to get it compiling with php source by following the tut here (but using php 5.2 and vc6 instead):
    http://wiki.php.net/internals/windows/stepbystepbuild

    Trusted: Dom, l0calh0st, 0ccul7, robert420
    Find all threads started by NewEraCracker

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mysqli on Directadmin
    By mboy10 in forum Technical Help Desk Support
    Replies: 0
    Last Post: 19th Mar 2011, 02:27 PM
  2. SQL ERROR [ mysqli ]
    By applecut in forum phpBB
    Replies: 16
    Last Post: 11th Jan 2011, 10:21 PM
  3. How to: Compiling PHP and Apache - cPanel
    By NationWebHost in forum Technical and Security Tutorials
    Replies: 5
    Last Post: 29th Nov 2010, 06:38 PM
  4. compiling a program
    By DigitalLover in forum Web Development Area
    Replies: 5
    Last Post: 14th Nov 2010, 09:56 AM
  5. Compiling gif2apng on debian
    By SplitIce in forum Tutorials and Guides
    Replies: 7
    Last Post: 29th Jan 2010, 12:37 PM

Tags for this Thread

BE SOCIAL