[Haskell-beginners] Problems with ghc

Paul Johnston Paul.A.Johnston at manchester.ac.uk
Wed Oct 15 06:54:50 EDT 2008


Apologies if this is not exactly what this list is for but is anyone 
running ghc on Solaris, specifically Open Solaris 5.11?

It seemed to work

paulj at hb-0021209.humanities.manchester:~/haskell/aht/3$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.3
paulj at hb-0021209.humanities.manchester:~/haskell/aht/3$ ghci
GHCi, version 6.8.3: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Prelude>

And ghci works as expected but !!!

Trying to compile I get:

paulj at hb-0021209.humanities.manchester:~/haskell/aht/3$ ghc -o Haq Haq.hs
compilation IS NOT required
Undefined            first referenced
 symbol                  in file
__gmpz_tdiv_q                       
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_tdiv_r                       
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpn_cmp                          
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_add                          
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_and                          
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_gcd                          
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_ior                          
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_com                          
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_mul                          
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_xor                          
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_sub                          
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpn_gcd_1                        
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_init                         
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_fdiv_qr                      
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmp_set_memory_functions          
/usr/local/lib/ghc-6.8.3/libHSrts.a(Storage.o)
__gmpz_divexact                     
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
__gmpz_tdiv_qr                      
/usr/local/lib/ghc-6.8.3/libHSrts.a(PrimOps.o)
ld: fatal: Symbol referencing errors. No output written to Haq
collect2: ld returned 1 exit status

I get this trying to build hmake with the new configure file supplied by 
Malcolm Wallace.
Once again sorry if its off topic but wondered if it's only me :-)

Cheers Paul





More information about the Beginners mailing list