undder solaris

Christian Maeder maeder at tzi.de
Thu Apr 13 02:53:52 EDT 2006

Hi Simon,

when trying to build a binary distribution from the sources under 
solaris, compilation failed as shown below. As usual I've added a file 
mk/build.mk containing the lines:


Was it enough to just "./configure" or should I've done "autoreconf" 
(followed by gmake)?

Cheers Christian

../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W 
-optc-Wstrict-prototypes -optc-Wmissing-prototypes 
-optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return 
-optc-Wbad-function-cast -optc-I../includes -optc-I. -optc-Iparallel 
-optc-DCOMPILING_RTS -optc-fomit-frame-pointer -H16m -O -O2 -static -I. 
-#include Prelude.h -#include Rts.h -#include RtsFlags.h -#include 
RtsUtils.h -#include StgRun.h -#include Schedule.h -#include Printer.h 
-#include Sanity.h -#include STM.h -#include Storage.h -#include 
SchedAPI.h -#include Timer.h -#include Itimer.h -#include ProfHeap.h 
-#include LdvProfile.h -#include Profiling.h -#include Apply.h -fvia-C 
-dcmm-lint  -hisuf p_hi -hcsuf p_hc -osuf p_o -prof   -c RtsUtils.c -o 
RtsUtils.c: In function 'time_str':
RtsUtils.c:190: error: too few arguments to function 'ctime_r'
gmake[3]: *** [RtsUtils.p_o] Error 1
gmake[2]: *** [all] Error 1
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory 
gmake: *** [build] Error 1

More information about the Glasgow-haskell-users mailing list