thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arkaitz <arkai...@gmail.com>
Subject Default example not linking
Date Mon, 24 May 2010 13:51:29 GMT
Hi  all,

I'm using incubation 0.2.0 tarball available in the webpage and not
modifying the skeleton file.

Any workaround for this?

_____________________
namespace cpp Test

service Something {
  i32 ping()
}
------------------------------------


g++ -o Something Something_server.skeleton.cpp -I
../../../deps/thrift/build/include/thrift
../../../deps/thrift/build/lib/libthrift.a
/tmp/ccZVIJlC.o: In function
`Test::SomethingProcessor::SomethingProcessor(boost::shared_ptr<Test::SomethingIf>)':
Something_server.skeleton.cpp:(.text._ZN4Test18SomethingProcessorC1EN5boost10shared_ptrINS_11SomethingIfEEE[Test::SomethingProcessor::SomethingProcessor(boost::shared_ptr<Test::SomethingIf>)]+0x13):
undefined reference to `vtable for Test::SomethingProcessor'
Something_server.skeleton.cpp:(.text._ZN4Test18SomethingProcessorC1EN5boost10shared_ptrINS_11SomethingIfEEE[Test::SomethingProcessor::SomethingProcessor(boost::shared_ptr<Test::SomethingIf>)]+0x27):
undefined reference to `vtable for Test::SomethingProcessor'
Something_server.skeleton.cpp:(.text._ZN4Test18SomethingProcessorC1EN5boost10shared_ptrINS_11SomethingIfEEE[Test::SomethingProcessor::SomethingProcessor(boost::shared_ptr<Test::SomethingIf>)]+0x8d):
undefined reference to `Test::SomethingProcessor::process_ping(int,
apache::thrift::protocol::TProtocol*, apache::thrift::protocol::TProtocol*)'

Thanks

--
Arkaitz

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message