Undefined reference to `AboutDataStore

asked 2016-01-15 06:30:51 -0700

tianogio gravatar image

I am trying to manually compile ACServerSample (AJ 15.04) on Ubuntu 14.04. I merged in my eclipse project the folder sample_common containing some classes needed from ACServerSample. I changed paths to match my project structure and eventually it compiles. Now i have a problem with the linker because it always returns to me this error:

Building file: ../ConfigServiceListenerImpl.cc
Invoking: GCC C++ Compiler
g++ -std=c++0x -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/cpp/inc -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/controlpanel/inc -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/config/inc -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/notification/inc -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/onboarding/inc -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/services_common/inc -O0 -g3 -Wall -c -fmessage-length=0 -std=c++0x -DQCC_OS_GROUP_POSIX -MMD -MP -MF"ConfigServiceListenerImpl.d" -MT"ConfigServiceListenerImpl.o" -o "ConfigServiceListenerImpl.o" "../ConfigServiceListenerImpl.cc"
In file included from /home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/config/inc/alljoyn/config/ConfigService.h:22:0,
                 from ../ConfigServiceListenerImpl.h:20,
                 from ../ConfigServiceListenerImpl.cc:17:
/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/cpp/inc/alljoyn/about/PropertyStore.h: In destructor ‘virtual ajn::services::PropertyStore::~PropertyStore()’:
/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/cpp/inc/alljoyn/about/PropertyStore.h:138:1: warning: ‘virtual ajn::services::PropertyStore::~PropertyStore()’ is deprecated (declared at /home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/cpp/inc/alljoyn/about/PropertyStore.h:137) [-Wdeprecated-declarations]
Finished building: ../ConfigServiceListenerImpl.cc

Building file: ../OptParser.cc
Invoking: GCC C++ Compiler
g++ -std=c++0x -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/cpp/inc -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/controlpanel/inc -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/config/inc -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/notification/inc -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/onboarding/inc -I/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/services_common/inc -O0 -g3 -Wall -c -fmessage-length=0 -std=c++0x -DQCC_OS_GROUP_POSIX -MMD -MP -MF"OptParser.d" -MT"OptParser.o" -o "OptParser.o" "../OptParser.cc"
Finished building: ../OptParser.cc

Building target: ACServerSample15.04
Invoking: GCC C++ Linker
g++ -L/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/cpp/lib -L/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/onboarding/lib -L/home/test/prj/alljoyn-15.04.00-src/core/alljoyn/build/linux/x86/debug/dist/services_common/lib -L/home/test/prj/alljoyn-15 ...
(more)
edit retag flag offensive close merge delete