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)

-- 
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 [email protected].
To post to this group, send email to [email protected].
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.

Reply via email to