[haskell-llvm] LLVMOpaqueName not found
Henning Thielemann
lemming at henning-thielemann.de
Wed Jul 13 15:10:43 BST 2011
I have the following problem, that is new for me since llvm-0.9.1:
llvm/examples$ ghci Array.hs
GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
[1 of 1] Compiling Array ( Array.hs, interpreted )
Ok, modules loaded: Array.
*Array> main
Loading package syb-0.1.0.2 ... linking ... done.
Loading package pretty-1.0.1.1 ... linking ... done.
Loading package array-0.3.0.1 ... linking ... done.
Loading package containers-0.3.0.0 ... linking ... done.
Loading package bytestring-0.9.1.7 ... linking ... done.
Loading package filepath-1.1.0.4 ... linking ... done.
Loading package old-locale-1.0.0.2 ... linking ... done.
Loading package old-time-1.0.0.5 ... linking ... done.
Loading package unix-2.4.0.2 ... linking ... done.
Loading package directory-1.0.1.1 ... linking ... done.
Loading package transformers-0.2.2.0 ... linking ... done.
Loading package mtl-2.0.1.0 ... linking ... done.
Loading package process-1.0.1.3 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package type-level-0.2.4 ... linking ... done.
Loading package llvm-0.9.2 ... linking ... <interactive>:
/home/thielema/.cabal/lib/llvm-0.9.2/ghc-6.12.3/HSllvm-0.9.2.o: unknown
symbol `_Z8do_printIP15LLVMOpaqueValueN4llvm5ValueEEPcT_'
ghc: unable to load package `llvm-0.9.2'
I do not know in which object file this symbol might be defined. I grepped
for LLVMOpaqueValue in both the LLVM libraries and the Haskell llvm
sources, but could not find a definition. However compiling and running
the examples works.
More information about the Haskell-llvm
mailing list