Error while compiling xed2 sources

Error while compiling xed2 sources

Hi,i'm trying to compile xed.cpp(mainly) or any other source file, and always getting unresolvable externals problems LNK2019. i use VisualStudio 2008 and launch cl.exe with the /I (include option) to include the headers, and /link (linking option) to link it with lib\\libxed.lib. Still in trouble, with 14 symbols left(before linking were 29). Before to change the code(which may lead to other problems), I was wondering if anyone already seen'em, if so, how to solve them.(as you may have noticed i'm relatively new to VS compiler).  Anyone has any idea? Thanks,regardscommand issued:ln.exe /I"..\\include" xed.cpp /link"..\\lib"..\\libxed.lib"output /out:xed.exe..\\lib\\libxed.libxed.objxed.obj : error LNK2019: unresolved external symbol _xedex_derror referenced infunction "void __cdecl test_argc(int,int)" (?test_argc@@YAXHH@Z)xed.obj : error LNK2019: unresolved external symbol "void __cdecl xed_disas_pecoff(struct xed_decode_file_info_t *)" (?xed_disas_pecoff@@YAXPAUxed_decode_file_info_t@@@Z) referenced in function _mainxed.obj : error LNK2019: unresolved external symbol "void __cdecl xed_disas_raw(struct xed_decode_file_info_t *)" (?xed_disas_raw@@YAXPAUxed_decode_file_info_t@@@Z) referenced in function _mainxed.obj : error LNK2019: unresolved external symbol _xed_decode_file_info_init referenced in function _mainxed.obj : error LNK2019: unresolved external symbol _xed_syntax referenced in function _mainxed.obj : error LNK2019: unresolved external symbol _intel_syntax referenced infunction _mainxed.obj : error LNK2019: unresolved external symbol _att_syntax referenced in function _mainxed.obj : error LNK2019: unresolved external symbol _xed_atoi_general referenced in function _mainxed.obj : error LNK2019: unresolved external symbol _client_verbose referenced in function _mainxed.obj : error LNK2019: unresolved external symbol _disas_decode_binary referenced in function "unsigned int __cdecl disas_decode(struct xed_state_s const *,char const *,struct xed_decoded_inst_s *,unsigned __int64)" (?disas_decode@@YAIPBUxed_state_s@@PBDPAUxed_decoded_inst_s@@_K@Z)xed.obj : error LNK2019: unresolved external symbol _xed_convert_ascii_to_hex referenced in function "unsigned int __cdecl disas_decode(struct xed_state_s const *,char const *,struct xed_decoded_inst_s *,unsigned __int64)" (?disas_decode@@YAIPBUxed_state_s@@PBDPAUxed_decoded_inst_s@@_K@Z)xed.obj : error LNK2019: unresolved external symbol _disas_decode_encode_binaryreferenced in function "unsigned int __cdecl disas_decode_encode(struct xed_state_s const *,char const *,struct xed_decoded_inst_s *,unsigned __int64)" (?disas_decode_encode@@YAIPBUxed_state_s@@PBDPAUxed_decoded_inst_s@@_K@Z)xed.obj : error LNK2019: unresolved external symbol _xed_print_hex_line referenced in function "unsigned int __cdecl disas_encode(struct xed_state_s const *,char const *)" (?disas_encode@@YAIPBUxed_state_s@@PBD@Z)xed.obj : error LNK2019: unresolved external symbol "struct xed_decoded_inst_s __cdecl parse_encode_request(class ascii_encode_request_t &)" (?parse_encode_request@@YA?AUxed_decoded_inst_s@@AAVascii_encode_request_t@@@Z) referenced in function "unsigned int __cdecl disas_encode(struct xed_state_s const *,char const *)" (?disas_encode@@YAIPBUxed_state_s@@PBD@Z)xed.exe : fatal error LNK1120: 14 unresolved externals

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.