I recently had some trouble trying to compile a simple
Template Haskell
program
main = putStrLn (show ($[| 20 |]))
The following output was generated:
/home/sseefried/local/lib/ghc-5.05/HSbase_cbits.o: unknown symbol
`__umoddi3'
Loading package base ... linking ... ghc-5.05: panic!
* Simon Marlow [EMAIL PROTECTED] [2003-03-21T13:02+]:
GCC has __umoddi3 in libgcc.a. It generates calls to that function and
others for some 64-bit operations. On our RedHat box here, __umoddi3 is
also exported by libc.so, which is why we don't get any link errors.
Perhaps on your box it
Hi all,
I recently had some trouble trying to compile a simple Template Haskell
program
main = putStrLn (show ($[| 20 |]))
The following output was generated:
/home/sseefried/local/lib/ghc-5.05/HSbase_cbits.o: unknown symbol
`__umoddi3'
Loading package base ... linking ... ghc-5.05: panic!