0
我試圖在64位Perl(5.12.3)中編譯dbd:sybase模塊(DBD-Sybase-1.07)。但是,我在做nmake時遇到以下錯誤消息。請讓我知道我錯過了什麼。在windows上編譯dbd:sybase
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.
我在「E:\ Sybase \ OCS-15_0 \ include」下有頭文件,我的SYBASE變量被設置爲e:\ sybase。它無法選擇頭文件 – Raj 2014-11-06 19:34:13
您的'%SYBASE%'環境變量必須指向一個至少包含兩個子目錄:'include'和'dll'的目錄。你們指向一個包含'OCS-15_0'的目錄。 – sferencik 2015-09-02 11:08:10