On 14:51 2010-05-24 +0100, Arkaitz wrote:
> 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*)'You didn't compile and link in other generated sources. That probably means Something.cpp, something_types.cpp and something_constants.cpp in your case. > > Thanks > > -- > Arkaitz -- Pozdrawiam, Łukasz P. Michalik
pgppi2ZhAGSFO.pgp
Description: PGP signature
