<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div><div><div>Hello,<br><br></div>I'm trying to build the openpgp libs for android. I can build and run HaskellActivity from the HelloWorld sample, but as when I try to install vector, I get the following build failure:<br>


<span style="font-family:courier new,monospace"><br>====================<br><br>$ arm-linux-androideabi-cabal install --reinstall --force-reinstall vector<br>...<br>[ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic ( Data/Vector/Fusion/Stream/Monadic.hs, dist/build/Data/Vector/Fusion/Stream/Monadic.o )<br>


Loading package ghc-prim ... linking ... ghc: /home/androidbuilder/.ghc/android-14/arm-linux-androideabi-4.8/lib/arm-unknown-linux-androideabi-ghc-7.7.20130921/ghc-prim-0.3.1.0/HSghc-prim-0.3.1.0.o: unhandled ELF relocation(Rel) type 28<br>


<br>ghc: unable to load package `ghc-prim'<br>Failed to install vector-<a href="tel:0.10.9.1" value="+431091" target="_blank">0.10.9.1</a><br>...<br><br>====================</span><br><br></div>It seems somewhat related to this closed bug: <a href="https://ghc.haskell.org/trac/ghc/ticket/7824" target="_blank">https://ghc.haskell.org/trac/ghc/ticket/7824</a><br>


</div>Am I doing something stupid? Can I fix this?<br><br></div>cheers<br></div>
</div><br></div>