List:General Discussion« Previous MessageNext Message »
From:Karam Chand Date:April 5 2004 7:08pm
Subject:Cant compile embedded mysql server in Windows
View as plain text  
Hello,

I want to use embedded MySQL server library. I
downloaded the latest MySQL 4.1.1 source and unzipped.
I opened up mysql.dsw and set libmysqld as active
project. Using Build->Rebuild All.. I started
compiling it.

After all the related projects were compiled I am
getting the following error while linking:

Linking...
libmysqld.def : error LNK2001: unresolved external
symbol max_allowed_packet
libmysqld.def : error LNK2001: unresolved external
symbol myodbc_remove_escape
libmysqld.def : error LNK2001: unresolved external
symbol mysql_affected_rows
libmysqld.def : error LNK2001: unresolved external
symbol mysql_autocommit
libmysqld.def : error LNK2001: unresolved external
symbol mysql_change_user
libmysqld.def : error LNK2001: unresolved external
symbol mysql_character_set_name
libmysqld.def : error LNK2001: unresolved external
symbol mysql_close
libmysqld.def : error LNK2001: unresolved external
symbol mysql_commit
libmysqld.def : error LNK2001: unresolved external
symbol mysql_data_seek
libmysqld.def : error LNK2001: unresolved external
symbol mysql_debug
libmysqld.def : error LNK2001: unresolved external
symbol mysql_dump_debug_info
libmysqld.def : error LNK2001: unresolved external
symbol mysql_eof
libmysqld.def : error LNK2001: unresolved external
symbol mysql_errno
libmysqld.def : error LNK2001: unresolved external
symbol mysql_error
libmysqld.def : error LNK2001: unresolved external
symbol mysql_escape_string
libmysqld.def : error LNK2001: unresolved external
symbol mysql_fetch_field
libmysqld.def : error LNK2001: unresolved external
symbol mysql_fetch_field_direct
libmysqld.def : error LNK2001: unresolved external
symbol mysql_fetch_fields
libmysqld.def : error LNK2001: unresolved external
symbol mysql_fetch_lengths
libmysqld.def : error LNK2001: unresolved external
symbol mysql_fetch_row
libmysqld.def : error LNK2001: unresolved external
symbol mysql_field_count
libmysqld.def : error LNK2001: unresolved external
symbol mysql_field_seek
libmysqld.def : error LNK2001: unresolved external
symbol mysql_field_tell
libmysqld.def : error LNK2001: unresolved external
symbol mysql_free_result
libmysqld.def : error LNK2001: unresolved external
symbol mysql_get_client_info
libmysqld.def : error LNK2001: unresolved external
symbol mysql_get_host_info
libmysqld.def : error LNK2001: unresolved external
symbol mysql_get_proto_info
libmysqld.def : error LNK2001: unresolved external
symbol mysql_get_server_info
libmysqld.def : error LNK2001: unresolved external
symbol mysql_get_server_version
libmysqld.def : error LNK2001: unresolved external
symbol mysql_info
libmysqld.def : error LNK2001: unresolved external
symbol mysql_init
libmysqld.def : error LNK2001: unresolved external
symbol mysql_insert_id
libmysqld.def : error LNK2001: unresolved external
symbol mysql_kill
libmysqld.def : error LNK2001: unresolved external
symbol mysql_list_dbs
libmysqld.def : error LNK2001: unresolved external
symbol mysql_list_fields
libmysqld.def : error LNK2001: unresolved external
symbol mysql_list_processes
libmysqld.def : error LNK2001: unresolved external
symbol mysql_list_tables
libmysqld.def : error LNK2001: unresolved external
symbol mysql_more_results
libmysqld.def : error LNK2001: unresolved external
symbol mysql_next_result
libmysqld.def : error LNK2001: unresolved external
symbol mysql_num_fields
libmysqld.def : error LNK2001: unresolved external
symbol mysql_num_rows
libmysqld.def : error LNK2001: unresolved external
symbol mysql_odbc_escape_string
libmysqld.def : error LNK2001: unresolved external
symbol mysql_options
libmysqld.def : error LNK2001: unresolved external
symbol mysql_ping
libmysqld.def : error LNK2001: unresolved external
symbol mysql_query
libmysqld.def : error LNK2001: unresolved external
symbol mysql_read_query_result
libmysqld.def : error LNK2001: unresolved external
symbol mysql_real_escape_string
libmysqld.def : error LNK2001: unresolved external
symbol mysql_real_query
libmysqld.def : error LNK2001: unresolved external
symbol mysql_refresh
libmysqld.def : error LNK2001: unresolved external
symbol mysql_rollback
libmysqld.def : error LNK2001: unresolved external
symbol mysql_row_seek
libmysqld.def : error LNK2001: unresolved external
symbol mysql_row_tell
libmysqld.def : error LNK2001: unresolved external
symbol mysql_select_db
libmysqld.def : error LNK2001: unresolved external
symbol mysql_send_query
libmysqld.def : error LNK2001: unresolved external
symbol mysql_server_end
libmysqld.def : error LNK2001: unresolved external
symbol mysql_server_init
libmysqld.def : error LNK2001: unresolved external
symbol mysql_shutdown
libmysqld.def : error LNK2001: unresolved external
symbol mysql_sqlstate
libmysqld.def : error LNK2001: unresolved external
symbol mysql_ssl_set
libmysqld.def : error LNK2001: unresolved external
symbol mysql_stat
libmysqld.def : error LNK2001: unresolved external
symbol mysql_store_result
libmysqld.def : error LNK2001: unresolved external
symbol mysql_thread_id
libmysqld.def : error LNK2001: unresolved external
symbol mysql_thread_safe
libmysqld.def : error LNK2001: unresolved external
symbol mysql_use_result
libmysqld.def : error LNK2001: unresolved external
symbol mysql_warning_count
libmysqld.def : error LNK2001: unresolved external
symbol net_buffer_length
libmysqld.def : error LNK2001: unresolved external
symbol sql_protocol_typelib
../lib_debug/libmysqld.lib : fatal error LNK1120: 67
unresolved externals
LINK : fatal error LNK1141: failure during build of
exports file
Error executing link.exe.

libmysqld.dll - 69 error(s), 5 warning(s)

What is the problem?

Looking into lib_dbug directory of MySQL
installations, I can see the following files correctly
compiled:

bdb, dbug, innodb, heap, myisam, myisammrg etc?

Can somebody tell me how what is the problem? Kinda
urgent....

Karam


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/
Thread
Why MySQL is used instead of MaxDB?pratik.ajmera5 Apr
  • Re: Why MySQL is used instead of MaxDB?Chris Nolan5 Apr
    • Re: Why MySQL is used instead of MaxDB?Victor Medina5 Apr
    • Cant compile embedded mysql server in WindowsKaram Chand5 Apr
      • Re: Cant compile embedded mysql server in WindowsVictor Medina5 Apr
        • Re: Cant compile embedded mysql server in WindowsKaram Chand6 Apr