Atomspace make test haskel issue

24 views
Skip to first unread message

Randy Deborggraeve

unread,
Jan 20, 2018, 1:49:36 PM1/20/18
to opencog
After replacing my HD and reinstall system, i seem to have some haskel issue.
I never used haskel, so just installed it to compile atomspace.

Before re-install the unit tests succeeded, but now im getting these errors:

Preprocessing library haskell-test-0.1.0.0...
Preprocessing test suite 'haskell-test-suite' for haskell-test-0.1.0.0...
Linking .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/haskell-test-suite/haskell-test-suite ...
.stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/haskell-test-suite/haskell-test-suite-tmp/Main.o: In function `c5Tf_info':
(.text+0x2d8a): undefined reference to `AtomSpace_delete'
.stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/haskell-test-suite/haskell-test-suite-tmp/Main.o: In function `c5T9_info':
(.text+0x2e5a): undefined reference to `AtomSpace_new'
/home/randy/workspace/opencog/atomspace/tests/haskell/haskellTest/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/lib/x86_64-linux-ghc-8.0.2/opencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ/libHSopencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ.a(Api.o):(.text+0x16f): undefined reference to `Exec_evaluate'
/home/randy/workspace/opencog/atomspace/tests/haskell/haskellTest/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/lib/x86_64-linux-ghc-8.0.2/opencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ/libHSopencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ.a(Api.o):(.text+0x3d1): undefined reference to `TruthValue_getFromAtom'
/home/randy/workspace/opencog/atomspace/tests/haskell/haskellTest/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/lib/x86_64-linux-ghc-8.0.2/opencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ/libHSopencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ.a(Api.o):(.text+0x649): undefined reference to `TruthValue_setOnAtom'
/home/randy/workspace/opencog/atomspace/tests/haskell/haskellTest/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/lib/x86_64-linux-ghc-8.0.2/opencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ/libHSopencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ.a(Api.o):(.text+0xc22): undefined reference to `AtomSpace_debug'
/home/randy/workspace/opencog/atomspace/tests/haskell/haskellTest/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/lib/x86_64-linux-ghc-8.0.2/opencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ/libHSopencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ.a(Api.o):(.text+0x1343): undefined reference to `AtomSpace_addLink'
/home/randy/workspace/opencog/atomspace/tests/haskell/haskellTest/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/lib/x86_64-linux-ghc-8.0.2/opencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ/libHSopencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ.a(Api.o):(.text+0x183a): undefined reference to `AtomSpace_addNode'
/home/randy/workspace/opencog/atomspace/tests/haskell/haskellTest/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/lib/x86_64-linux-ghc-8.0.2/opencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ/libHSopencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ.a(Api.o):(.text+0x25b3): undefined reference to `AtomSpace_getLink'
/home/randy/workspace/opencog/atomspace/tests/haskell/haskellTest/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/lib/x86_64-linux-ghc-8.0.2/opencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ/libHSopencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ.a(Api.o):(.text+0x2c82): undefined reference to `AtomSpace_getNode'
/home/randy/workspace/opencog/atomspace/tests/haskell/haskellTest/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/lib/x86_64-linux-ghc-8.0.2/opencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ/libHSopencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ.a(Api.o):(.text+0x34c8): undefined reference to `AtomSpace_removeAtom'
/home/randy/workspace/opencog/atomspace/tests/haskell/haskellTest/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/lib/x86_64-linux-ghc-8.0.2/opencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ/libHSopencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ.a(Api.o):(.text+0x4502): undefined reference to `AtomSpace_getAtomByHandle'
/home/randy/workspace/opencog/atomspace/tests/haskell/haskellTest/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/lib/x86_64-linux-ghc-8.0.2/opencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ/libHSopencog-atomspace-0.1.0.8-EuPHWldUFvM10mWhgJOZmZ.a(Api.o):(.text+0x4961): undefined reference to `Exec_execute'
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Linas Vepstas

unread,
Jan 20, 2018, 4:44:29 PM1/20/18
to opencog, Roman Treutlein
If you don't need haskell, uninstall it. Otherwise open a bug against the atomspace, and Roman will look at it.  --linas

--
You received this message because you are subscribed to the Google Groups "opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opencog+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/4813c745-63ca-43c3-835e-9f1f001570e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
cassette tapes - analog TV - film cameras - you

Roman Treutlein

unread,
Jan 20, 2018, 4:53:23 PM1/20/18
to opencog
If that is what I think then it should be fixed soon. In either case, as linas said if you aren't using the Haskell interface or the Lojban library built with it. Just get rid of Haskell.

Randy Deborggraeve

unread,
Jan 21, 2018, 10:01:45 AM1/21/18
to opencog
Your latest commit fixed the issue, tnx :)
https://github.com/opencog/atomspace/commit/4b10735edce6861e1087f24eb3ddaa764397ea6a

Still trying to find my way tough getting things up and running correctly and hoping to be able to contribute or fix these issues myself soon.

Reply all
Reply to author
Forward
0 new messages