Git Product home page Git Product logo

Comments (3)

mjsduncan avatar mjsduncan commented on July 28, 2024

most of the tests are using atomtable:

ure/build$ make -j test
[  3%] Built target unify
[  6%] Generating UnifyGlobUTest.cpp
[  6%] Generating UnifyUTest.cpp
[ 39%] Built target ure
[ 41%] Generating UtilsUTest.cpp
[ 43%] Generating BetaDistributionUTest.cpp
[ 44%] Generating UREConfigUTest.cpp
[ 46%] Generating GradientUTest.cpp
[ 48%] Generating RuleUTest.cpp
[ 50%] Generating ActionSelectionUTest.cpp
[ 51%] Generating BITUTest.cpp
[ 53%] Generating ForwardChainerUTest.cpp
[ 55%] Generating ControlPolicyUTest.cpp
[ 56%] Linking CXX executable BackwardChainerUTest
Scanning dependencies of target BetaDistributionUTest
Scanning dependencies of target GradientUTest
[ 58%] Building CXX object tests/ure/CMakeFiles/BetaDistributionUTest.dir/BetaDistributionUTest.cpp.o
[ 60%] Building CXX object tests/ure/backwardchainer/CMakeFiles/GradientUTest.dir/GradientUTest.cpp.o
Scanning dependencies of target BITUTest
Scanning dependencies of target UnifyGlobUTest
[ 62%] Building CXX object tests/ure/backwardchainer/CMakeFiles/BITUTest.dir/BITUTest.cpp.o
Scanning dependencies of target UtilsUTest
Scanning dependencies of target UREConfigUTest
[ 63%] Building CXX object tests/unify/CMakeFiles/UnifyGlobUTest.dir/UnifyGlobUTest.cpp.o
Scanning dependencies of target ControlPolicyUTest
Scanning dependencies of target ActionSelectionUTest
Scanning dependencies of target ForwardChainerUTest
[ 67%] Building CXX object tests/ure/CMakeFiles/UREConfigUTest.dir/UREConfigUTest.cpp.o
[ 67%] Building CXX object tests/ure/CMakeFiles/UtilsUTest.dir/UtilsUTest.cpp.o
Scanning dependencies of target RuleUTest
[ 68%] Building CXX object tests/ure/backwardchainer/CMakeFiles/ControlPolicyUTest.dir/ControlPolicyUTest.cpp.o
[ 70%] Building CXX object tests/ure/CMakeFiles/ActionSelectionUTest.dir/ActionSelectionUTest.cpp.o
Scanning dependencies of target UnifyUTest
[ 72%] Building CXX object tests/ure/forwardchainer/CMakeFiles/ForwardChainerUTest.dir/ForwardChainerUTest.cpp.o
[ 74%] Building CXX object tests/ure/CMakeFiles/RuleUTest.dir/RuleUTest.cpp.o
[ 75%] Building CXX object tests/unify/CMakeFiles/UnifyUTest.dir/UnifyUTest.cpp.o
/usr/bin/ld: ../../../opencog/ure/libure.so: undefined reference to `opencog::AtomTable::extract(opencog::Handle&, bool, bool)'
/usr/bin/ld: ../../../opencog/ure/libure.so: undefined reference to `opencog::DefineLink::get_definition(opencog::Handle const&, opencog::AtomSpace*)'
/usr/bin/ld: ../../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/ure/backwardchainer/CMakeFiles/BackwardChainerUTest.dir/build.make:132: tests/ure/backwardchainer/BackwardChainerUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:1034: tests/ure/backwardchainer/CMakeFiles/BackwardChainerUTest.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 77%] Linking CXX executable UtilsUTest
/usr/bin/ld: ../../opencog/ure/libure.so: undefined reference to `opencog::AtomTable::extract(opencog::Handle&, bool, bool)'
/usr/bin/ld: ../../opencog/ure/libure.so: undefined reference to `opencog::DefineLink::get_definition(opencog::Handle const&, opencog::AtomSpace*)'
/usr/bin/ld: ../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/ure/CMakeFiles/UtilsUTest.dir/build.make:132: tests/ure/UtilsUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:810: tests/ure/CMakeFiles/UtilsUTest.dir/all] Error 2
[ 79%] Linking CXX executable UREConfigUTest
/usr/bin/ld: ../../opencog/ure/libure.so: undefined reference to `opencog::AtomTable::extract(opencog::Handle&, bool, bool)'
/usr/bin/ld: ../../opencog/ure/libure.so: undefined reference to `opencog::DefineLink::get_definition(opencog::Handle const&, opencog::AtomSpace*)'
/usr/bin/ld: ../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/ure/CMakeFiles/UREConfigUTest.dir/build.make:132: tests/ure/UREConfigUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:894: tests/ure/CMakeFiles/UREConfigUTest.dir/all] Error 2
[ 81%] Linking CXX executable BITUTest
/usr/bin/ld: ../../../opencog/ure/libure.so: undefined reference to `opencog::AtomTable::extract(opencog::Handle&, bool, bool)'
/usr/bin/ld: ../../../opencog/ure/libure.so: undefined reference to `opencog::DefineLink::get_definition(opencog::Handle const&, opencog::AtomSpace*)'
/usr/bin/ld: ../../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/ure/backwardchainer/CMakeFiles/BITUTest.dir/build.make:132: tests/ure/backwardchainer/BITUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:978: tests/ure/backwardchainer/CMakeFiles/BITUTest.dir/all] Error 2
[ 82%] Linking CXX executable ActionSelectionUTest
/usr/bin/ld: ../../opencog/ure/libure.so: undefined reference to `opencog::AtomTable::extract(opencog::Handle&, bool, bool)'
/usr/bin/ld: ../../opencog/ure/libure.so: undefined reference to `opencog::DefineLink::get_definition(opencog::Handle const&, opencog::AtomSpace*)'
/usr/bin/ld: ../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/ure/CMakeFiles/ActionSelectionUTest.dir/build.make:132: tests/ure/ActionSelectionUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:838: tests/ure/CMakeFiles/ActionSelectionUTest.dir/all] Error 2
[ 84%] Linking CXX executable BetaDistributionUTest
[ 86%] Linking CXX executable RuleUTest
/usr/bin/ld: ../../opencog/ure/libure.so: undefined reference to `opencog::AtomTable::extract(opencog::Handle&, bool, bool)'
/usr/bin/ld: ../../opencog/ure/libure.so: undefined reference to `opencog::DefineLink::get_definition(opencog::Handle const&, opencog::AtomSpace*)'
/usr/bin/ld: ../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/ure/CMakeFiles/BetaDistributionUTest.dir/build.make:132: tests/ure/BetaDistributionUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:866: tests/ure/CMakeFiles/BetaDistributionUTest.dir/all] Error 2
/usr/bin/ld: ../../opencog/ure/libure.so: undefined reference to `opencog::AtomTable::extract(opencog::Handle&, bool, bool)'
/usr/bin/ld: ../../opencog/ure/libure.so: undefined reference to `opencog::DefineLink::get_definition(opencog::Handle const&, opencog::AtomSpace*)'
/usr/bin/ld: ../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/ure/CMakeFiles/RuleUTest.dir/build.make:132: tests/ure/RuleUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:782: tests/ure/CMakeFiles/RuleUTest.dir/all] Error 2
[ 87%] Linking CXX executable GradientUTest
[ 89%] Linking CXX executable ControlPolicyUTest
/usr/bin/ld: ../../../opencog/ure/libure.so: undefined reference to `opencog::AtomTable::extract(opencog::Handle&, bool, bool)'
/usr/bin/ld: ../../../opencog/ure/libure.so: undefined reference to `opencog::DefineLink::get_definition(opencog::Handle const&, opencog::AtomSpace*)'
/usr/bin/ld: ../../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/ure/backwardchainer/CMakeFiles/GradientUTest.dir/build.make:132: tests/ure/backwardchainer/GradientUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:950: tests/ure/backwardchainer/CMakeFiles/GradientUTest.dir/all] Error 2
/usr/bin/ld: ../../../opencog/ure/libure.so: undefined reference to `opencog::AtomTable::extract(opencog::Handle&, bool, bool)'
/usr/bin/ld: ../../../opencog/ure/libure.so: undefined reference to `opencog::DefineLink::get_definition(opencog::Handle const&, opencog::AtomSpace*)'
/usr/bin/ld: ../../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/ure/backwardchainer/CMakeFiles/ControlPolicyUTest.dir/build.make:132: tests/ure/backwardchainer/ControlPolicyUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:1006: tests/ure/backwardchainer/CMakeFiles/ControlPolicyUTest.dir/all] Error 2
[ 91%] Linking CXX executable ForwardChainerUTest
/usr/bin/ld: ../../../opencog/ure/libure.so: undefined reference to `opencog::AtomTable::extract(opencog::Handle&, bool, bool)'
/usr/bin/ld: ../../../opencog/ure/libure.so: undefined reference to `opencog::DefineLink::get_definition(opencog::Handle const&, opencog::AtomSpace*)'
/usr/bin/ld: ../../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/ure/forwardchainer/CMakeFiles/ForwardChainerUTest.dir/build.make:132: tests/ure/forwardchainer/ForwardChainerUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:922: tests/ure/forwardchainer/CMakeFiles/ForwardChainerUTest.dir/all] Error 2
[ 93%] Linking CXX executable UnifyGlobUTest
/usr/bin/ld: ../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/unify/CMakeFiles/UnifyGlobUTest.dir/build.make:130: tests/unify/UnifyGlobUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:727: tests/unify/CMakeFiles/UnifyGlobUTest.dir/all] Error 2
[ 94%] Linking CXX executable UnifyUTest
/usr/bin/ld: ../../opencog/unify/libunify.so: undefined reference to `opencog::AtomTable::getHandle(opencog::Handle const&) const'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/unify/CMakeFiles/UnifyUTest.dir/build.make:130: tests/unify/UnifyUTest] Error 1
make[2]: *** [CMakeFiles/Makefile2:754: tests/unify/CMakeFiles/UnifyUTest.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:463: CMakeFiles/test.dir/rule] Error 2
make: *** [Makefile:218: test] Error 2

from ure.

ngeiswei avatar ngeiswei commented on July 28, 2024

I believe it is now fixed, @mjsduncan. Please test again (after updating cogutil and atomspace) and close if it works.

from ure.

mjsduncan avatar mjsduncan commented on July 28, 2024

thanks, nil! it works now but i didn't have to update cogutil, maybe i already had the most recent pull...

from ure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.