heap profiling with nhc98-1.0pre18



About this list Date view Thread view Subject view Author view

Jan Kort (kort@wins.uva.nl)
Wed, 19 Apr 2000 10:13:26 +0200


I installed a fresh nhc98-1.0pre18, which builds nicely with "make all-gcc" without change. Normal compiling and running works. But when I do "nhc98 -p Main.hs" I get the following error: (~/src/haskell/bugnhc 17) nhc98 -p Main.hs Undefined first referenced symbol in file PM_DErrNo /home/kort/pkgs/nhc/lib/nhc98/sparc-solaris2/Preludep.a(DErrNo.o) ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status The file Main.hs: module Main(main) where main :: IO() main = putStr "test\n" When I do "nhc98 Main.hs" it does compile and run. It seems to be related to the previous error reported by Romildo. Jan My system: (~/src/haskell/bgnhc 7) uname -sr SunOS 5.6 (~/src/haskell/bgnhc 8) dmesg | grep SUNW cpu0: SUNW,UltraSPARC-IIi (upaid 0 impl 0x12 ver 0x13 clock 300 MHz) SUNW,hme0: CheerIO 2.0 (Rev Id = c1) Found SUNW,hme0 is /pci@1f,0/pci@1,1/network@1,1 SUNW,hme0: Using Internal Transceiver SUNW,hme0: 100 Mbps full-duplex Link Up (~/src/haskell/bgnhc 9) cat /etc/release Solaris 2.6 5/98 s297s_hw3smccDesktop_09 SPARC Copyright 1998 Sun Microsystems, Inc. All Rights Reserved. Assembled on 24 April 1998 (~/src/haskell/bgnhc 10) nhc98 --version /home/kort/pkgs/nhc/bin/nhc98: v1.0 pre-release 18 (date 000410) [ configured for sparc-solaris2 by kort@resolver on 18 Apr DST 2000 ] (~/src/haskell/bgnhc 11) gcc --version egcs-2.91.66


About this list Date view Thread view Subject view Author view