在windows上编译dbd:sybase

时间:2014-11-06 00:42:33

标签: visual-studio-2010 perl compilation perl-module

我正在尝试以64位perl(5.12.3)编译dbd:sybase模块(DBD-Sybase-1.07)。但是,我在执行nmake时会收到以下错误消息。请让我知道我错过了什么。

Creating library blib\arch\auto\DBD\Sybase\Sybase.lib and object blib\arch\au
to\DBD\Sybase\Sybase.exp
dbdimp.obj : error LNK2001: unresolved external symbol blk_rowxfer
dbdimp.obj : error LNK2001: unresolved external symbol ct_send_data
dbdimp.obj : error LNK2001: unresolved external symbol blk_init
dbdimp.obj : error LNK2001: unresolved external symbol ct_cancel
dbdimp.obj : error LNK2001: unresolved external symbol cs_diag
dbdimp.obj : error LNK2001: unresolved external symbol ct_results
dbdimp.obj : error LNK2001: unresolved external symbol cs_ctx_alloc
dbdimp.obj : error LNK2001: unresolved external symbol ct_connect
dbdimp.obj : error LNK2001: unresolved external symbol cs_dt_crack
dbdimp.obj : error LNK2001: unresolved external symbol ct_bind
dbdimp.obj : error LNK2001: unresolved external symbol ct_options
dbdimp.obj : error LNK2001: unresolved external symbol ct_callback
dbdimp.obj : error LNK2001: unresolved external symbol ct_cmd_drop
dbdimp.obj : error LNK2001: unresolved external symbol ct_close
dbdimp.obj : error LNK2001: unresolved external symbol blk_bind
dbdimp.obj : error LNK2001: unresolved external symbol blk_drop
dbdimp.obj : error LNK2001: unresolved external symbol cs_loc_drop
dbdimp.obj : error LNK2001: unresolved external symbol cs_locale
dbdimp.obj : error LNK2001: unresolved external symbol ct_param
dbdimp.obj : error LNK2001: unresolved external symbol blk_props
dbdimp.obj : error LNK2001: unresolved external symbol blk_done
dbdimp.obj : error LNK2001: unresolved external symbol cs_ctx_drop
dbdimp.obj : error LNK2001: unresolved external symbol ct_send
dbdimp.obj : error LNK2001: unresolved external symbol ct_con_drop
dbdimp.obj : error LNK2001: unresolved external symbol ct_get_data
dbdimp.obj : error LNK2001: unresolved external symbol ct_con_props
dbdimp.obj : error LNK2001: unresolved external symbol cs_config
dbdimp.obj : error LNK2001: unresolved external symbol ct_config
dbdimp.obj : error LNK2001: unresolved external symbol ct_res_info
dbdimp.obj : error LNK2001: unresolved external symbol ct_compute_info
dbdimp.obj : error LNK2001: unresolved external symbol ct_dynamic
dbdimp.obj : error LNK2001: unresolved external symbol ct_init
dbdimp.obj : error LNK2001: unresolved external symbol blk_describe
dbdimp.obj : error LNK2001: unresolved external symbol ct_cmd_alloc
blib\arch\auto\DBD\Sybase\Sybase.dll : fatal error LNK1120: 44 unresolved extern
als
NMAKE : fatal error U1077: 'E:\BuildTools\i\win32\Microsoft\VisualStudio\2010\VC
\BIN\amd64\link.EXE' : return code '0x460'
Stop.

1 个答案:

答案 0 :(得分:0)

您将需要Sybase客户端库及其关联的头文件。