AW: [Dev-C++] Trying to link libmysqld.lib (Update)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Josep S. <sub...@ar...> - 2004-03-07 20:10:35
|
>>Can you see the missing symbols in the def file BTW? >>(Attaching that too would be a good idea) Yes, the missing symbols are all there. For example mysql_error (Although the compile log refers to something like "mysql_error@4" instead of just "mysql_error": ... [Linker error] undefined reference to `mysql_error@4' ... And here is the .def file (after I created one with impdef, I found there already was one .def file in another directory!): LIBRARY LIBMYSQLD DESCRIPTION 'MySQL 4.0 Embedded Server Library' VERSION 4.0 EXPORTS mysql_server_end mysql_server_init mysql_use_result mysql_thread_safe mysql_thread_id mysql_store_result mysql_stat mysql_shutdown mysql_select_db mysql_row_tell mysql_row_seek mysql_real_query mysql_real_connect mysql_query mysql_ping mysql_options mysql_num_rows mysql_num_fields mysql_list_tables mysql_list_processes mysql_list_fields mysql_list_dbs mysql_kill mysql_insert_id mysql_init mysql_info mysql_get_server_info mysql_get_proto_info mysql_get_host_info mysql_get_client_info mysql_free_result mysql_field_tell mysql_field_count mysql_field_seek mysql_fetch_row mysql_fetch_lengths mysql_fetch_fields mysql_fetch_field_direct mysql_fetch_field mysql_escape_string mysql_real_escape_string mysql_error mysql_errno mysql_eof mysql_dump_debug_info mysql_drop_db mysql_debug mysql_data_seek mysql_create_db mysql_character_set_name mysql_change_user mysql_connect mysql_close mysql_affected_rows mysql_thread_init mysql_thread_end mysql_send_query mysql_read_query_result mysql_refresh mysql_odbc_escape_string myodbc_remove_escape -----Urspr=FCngliche Nachricht----- Von: dev...@li... [mailto:dev...@li...]Im Auftrag von OROSZI Bal=E1zs Gesendet: Sonntag, 7. M=E4rz 2004 17:20 An: dev...@li... Betreff: Re: [Dev-C++] Trying to link libmysqld.lib (Update) Josep Subirana wrote: > I thought maybe the lib for embedded mysql that comes with mysql is intended > for VisualC++ and that could be the reason why it doesn't work with > Dev-C++... > > I have generated a libmysqld.def file with impdef( > http://webclub.kcom.ne.jp/ma/colinp/gcc.html) and then the library > libmysqld.a with dlltool (<-- included with mingw) but to no avail: Dev-C++ > keeps spitting the same error (see below) log out when trying to compil= e > this new lib! > Anyone has an idea??? Actually, the def file and import library is not needed at all for GCC, as it can use the DLL directly when linking. Can you see the missing symbols in the def file BTW? (Attaching that too would be a good idea) -- Greetings, Bal=E1zs ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=3Dick _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |