I'm trying to compile c code with calls to mysql library (under win2000) and I get these linker errors. any idea why?
I'm using nmake from the command line.

Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

codecin.obj : error LNK2001: unresolved external symbol _mysql_errno@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_init@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_close@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_free_result@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_affected_rows@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_field_count@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_fetch_lengths@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_fetch_row@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_num_rows@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_num_fields@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_store_result@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_real_query@12
codecin.obj : error LNK2001: unresolved external symbol _mysql_error@4
codecin.obj : error LNK2001: unresolved external symbol _mysql_real_connect@32
codecin.dll : fatal error LNK1120: 14 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.


---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to