List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:May 11 1999 12:05pm
Subject:myodbc compilation
View as plain text  
>>>>> "Pat" == Pat Sherrill <patrick@stripped> writes:

Pat> When compiling myodbc 2.5.22 using MSVC 6.0, I receive numerous unresolved
Pat> externals.

Pat> Info.obj : error LNK2001: unresolved external symbol __db_doprnt_
Pat> lib.lib(my_fopen.obj) : error LNK2001: unresolved external symbol
Pat> __db_pargs_
Pat> Info.obj : error LNK2001: unresolved external symbol __db_on_
Pat> lib.lib(my_div.obj) : error LNK2001: unresolved external symbol __db_enter_
Pat> lib.lib(libmysql.obj) : error LNK2001: unresolved external symbol __db_push_
Pat> lib.lib(libmysql.obj) : error LNK2001: unresolved external symbol __no_db_
Pat> lib.lib(libmysql.obj) : error LNK2001: unresolved external symbol __db_dump_
Pat> lib.lib(my_init.obj) : error LNK2001: unresolved external symbol
Pat> __db_process_
Pat> lib.lib(my_init.obj) : error LNK2001: unresolved external symbol __db_pop_
Pat> lib.lib(my_init.obj) : error LNK2001: unresolved external symbol __db_fp_
Pat> lib.lib(my_compress.obj) : error LNK2001: unresolved external symbol
Pat> _compress
Pat> lib.lib(my_compress.obj) : error LNK2001: unresolved external symbol
Pat> _uncompress

Pat> What am I missing?

Pat> Pat...

You didn't link with the dbug package.  Just make lib.lib depend on
dbug and the above problem should go away.

Regards,
Monty
Thread
CGI++ updateSasha Pachev8 May
  • myodbc compilationPat Sherrill9 May
    • myodbc compilationMichael Widenius11 May