Hi all, I'm using the following command to compile a cpp file with airavata and thrift libraries of 0.15-release-version. *g++ -I/home/priyanshu-sekhar/gsoc/new_airavata/new_genapp/genapp/languages/qt4/util/lib/ -L/usr/local/lib -w -Wno-write-strings -DHAVE_CONFIG_H -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H -I/usr/local/include `pkg-config --cflags glib-2.0` Register.cpp `pkg-config --libs glib-2.0` -o Register -lthrift *
This is the error that I'm getting. How do I fix this? /tmp/ccFRo65D.o: In function `apache::airavata::api::Airavata_getWorkflow_result::read(apache::thrift::protocol::TProtocol*)': Register.cpp:(.text+0x4c196): undefined reference to `Workflow::read(apache::thrift::protocol::TProtocol*)' /tmp/ccFRo65D.o: In function `apache::airavata::api::Airavata_getWorkflow_result::write(apache::thrift::protocol::TProtocol*) const': Register.cpp:(.text+0x4c36d): undefined reference to `Workflow::write(apache::thrift::protocol::TProtocol*) const' /tmp/ccFRo65D.o: In function `apache::airavata::api::Airavata_getWorkflow_presult::read(apache::thrift::protocol::TProtocol*)': Register.cpp:(.text+0x4c572): undefined reference to `Workflow::read(apache::thrift::protocol::TProtocol*)' /tmp/ccFRo65D.o: In function `apache::airavata::api::Airavata_registerWorkflow_args::read(apache::thrift::protocol::TProtocol*)': Register.cpp:(.text+0x4cef6): undefined reference to `Workflow::read(apache::thrift::protocol::TProtocol*)' /tmp/ccFRo65D.o: In function `apache::airavata::api::Airavata_registerWorkflow_args::write(apache::thrift::protocol::TProtocol*) const': Register.cpp:(.text+0x4d0ad): undefined reference to `Workflow::write(apache::thrift::protocol::TProtocol*) const' /tmp/ccFRo65D.o: In function `apache::airavata::api::Airavata_registerWorkflow_pargs::write(apache::thrift::protocol::TProtocol*) const': Register.cpp:(.text+0x4d189): undefined reference to `Workflow::write(apache::thrift::protocol::TProtocol*) const' /tmp/ccFRo65D.o: In function `apache::airavata::api::Airavata_updateWorkflow_args::read(apache::thrift::protocol::TProtocol*)': Register.cpp:(.text+0x4d86e): undefined reference to `Workflow::read(apache::thrift::protocol::TProtocol*)' /tmp/ccFRo65D.o: In function `apache::airavata::api::Airavata_updateWorkflow_args::write(apache::thrift::protocol::TProtocol*) const': Register.cpp:(.text+0x4da25): undefined reference to `Workflow::write(apache::thrift::protocol::TProtocol*) const' /tmp/ccFRo65D.o: In function `apache::airavata::api::Airavata_updateWorkflow_pargs::write(apache::thrift::protocol::TProtocol*) const': Register.cpp:(.text+0x4db01): undefined reference to `Workflow::write(apache::thrift::protocol::TProtocol*) const' Regards, Priyanshu
