under solaris

Christian Maeder maeder at tzi.de
Thu Apr 13 09:35:55 EDT 2006

Christian Maeder wrote:
>> RtsUtils.c:190: error: too few arguments to function 'ctime_r'
> I could carry on after adding an argument ", 26"

now I get an error when linking the stage2 compiler. How should I fix this?

Cheers Christian

.thr_o): In function `yieldThread':
OSThreads.c:(.text+0x88): undefined reference to `sched_yield'
collect2: ld returned 1 exit status
<<ghc: 14133388 bytes, 3 GCs, 165404/165404 avg/max bytes residency (1 
  15M in use, 0.00 INIT (0.00 elapsed), 0.13 MUT (8.89 elapsed), 0.03 GC 
(0.06 el
apsed) :ghc>>
gmake[2]: *** [stage2/ghc-] Error 1
gmake[2]: Leaving directory 
gmake[1]: *** [stage2] Error 2
gmake[1]: Leaving directory 
gmake: *** [bootstrap2] Error 2

More information about the Glasgow-haskell-users mailing list