
Hi, I am using linux binaries on red hat 7.1. Compiling for time profiling I get undefined reference to `FN_Char_46intToDigit' Compiling for heap profiling has no problem, but seg faults on run. What is wrong? IS there a RPM for redhat? Thanks, Saswat [saswat@cf-plslab9 Oct17]$ nhc98 -98 Types.hs Operators.hs Mutables.hs Primitives.hs Pattern.hs CPL.hs Main.hs -o Main -t /usr/local/lib/nhc98/ix86-Linux/Numeric.z.a(ShowIntBase.z.o)(.data+0x12c): undefined reference to `FN_Char_46intToDigit' collect2: ld returned 1 exit status [saswat@cf-plslab9 Oct17]$ rm *.o *.hi -f [saswat@cf-plslab9 Oct17]$ nhc98 -98 Types.hs Operators.hs Mutables.hs Primitives.hs Pattern.hs CPL.hs Main.hs -o Main -p [saswat@cf-plslab9 Oct17]$ ./Main +RTS -H4M -p -RTS 82853 32974.9531 Segmentation fault (core dumped)

Saswat,
I am using linux binaries on red hat 7.1. Compiling for time profiling I get undefined reference to `FN_Char_46intToDigit'
This seems strange, like something is missing in the binary distribution package. However, I can't seem to reproduce the problem on my RH 7.1 machine (using the nhc98-1.08 binary package).
Compiling for heap profiling has no problem, but seg faults on run.
I have had a couple of reports now about seg faults when heap profiling. Can you supply me with a (smallish) example program that fails? Thanks.
IS there a RPM for redhat?
Some people have created and supplied RPM packages for various versions of nhc98. The ones I know about are listed at http://www.cs.york.ac.uk/fp/nhc98/download.html under "Alternative locations". Regards, Malcolm
participants (2)
-
Malcolm Wallace
-
Saswat Anand