今天使用eXtremeDB 6.0 的SQL組件的時候,發現了一個鏈接錯誤,如下:
在windows中:
1>mcoapi.lib(mcosql.obj): error LNK2001: unresolved external symbol mco_sys_free
1>mcoapi.lib(mcosql.obj): error LNK2001: unresolved external symbol mco_sys_malloc
在Linux(使用共享庫)中,錯誤表現爲:
libmcoapi.so: undefinedreference to `mco_sys_free'
libmcoapi.so: undefinedreference to `mco_sys_malloc'
經檢查發現是少了mcomem庫。
Starting from the version 6.0 applicationsshould link with SAL (mcomem,mcosmp и mconet). Check out the readme file