[Haskell-cafe] GHC 7.8 undefined symbol

Sven Bartscher sven.bartscher at weltraumschlangen.de
Fri Sep 4 19:06:23 UTC 2015


Greetings,

I recently installed a library (namely Hpysics, not on hackage) with
shared libraries (they were on by default).
When trying to do some stuff with the library (program attached), I get
a bunch of undefined symbol errors like this:

$ ghc --make Main.hs
Linking Main ...
/home/sven/.cabal/lib/i386-linux-ghc-7.8.4/Hpysics-0.0/libHSHpysics-0.0.a(Body.o):(.text+0x46e):
undefined reference to
`Hpysicszm0zi0_PhysicsziHpysicsziBoundingSphere_constructBoundingSpherezugo_info' /home/sven/.cabal/lib/i386-linux-ghc-7.8.4/Hpysics-0.0/libHSHpysics-0.0.a(Body.o):(.text+0x4f9):
undefined reference to
`Hpysicszm0zi0_PhysicsziHpysicsziBoundingSphere_zdwlgo_info' /home/sven/.cabal/lib/i386-linux-ghc-7.8.4/Hpysics-0.0/libHSHpysics-0.0.a(Body.o):(.text+0xaca6):
undefined reference to
`Hpysicszm0zi0_PhysicsziHpysicsziBoundingSphere_constructBoundingSpherezugo_info' /home/sven/.cabal/lib/i386-linux-ghc-7.8.4/Hpysics-0.0/libHSHpysics-0.0.a(Body.o):(.text+0xad31):
undefined reference to
`Hpysicszm0zi0_PhysicsziHpysicsziBoundingSphere_zdwlgo_info

Does anyone know, what this is about?

PS: Hpysics can be found at http://code.haskell.org/hpysics/

Regards
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.hs
Type: text/x-haskell
Size: 393 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150904/2a960370/attachment.hs>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150904/2a960370/attachment.sig>


More information about the Haskell-Cafe mailing list