我正在尝试在 ubuntu 上构建 EverNote API。我下载了 Thrift 库并将 API 文件链接到库。当我尝试编译 API 时,出现以下错误:
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
NoteStore.o: In function `evernote::edam::NoteStoreProcessor::process_fn(apache::thrift::protocol::TProtocol*, apache::thrift::protocol::TProtocol*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int)':
NoteStore.cpp:(.text+0xc9ad): undefined reference to `apache::thrift::TApplicationException::write(apache::thrift::protocol::TProtocol*) const'
知道如何解决这个问题吗?