[MINC-users] minc-1.4 on Mac OS X 10.4.1

Morgan Hough minc-users@bic.mni.mcgill.ca
Sun Jul 3 18:48:04 2005


Steve,

Thanks. That took care of it. 

Cheers,

-Morgan

On Sun, 2005-07-03 at 23:17, Steve M. Robbins wrote:
> On Sun, Jul 03, 2005 at 10:56:55PM +0100, Morgan Hough wrote:
> 
> > volume_io/Prog_utils/time.ovolume_io/Prog_utils/time.c: In function
> > 'get_clock_ticks_per_second':volume_io/Prog_utils/time.c:59: error:
> > 'CLK_TCK' undeclared (first use in this
> > function)volume_io/Prog_utils/time.c:59: error: (Each undeclared
> > identifier is reported only oncevolume_io/Prog_utils/time.c:59: error:
> > for each function it appears in.)make[2]: ***
> > [volume_io/Prog_utils/time.lo] Error 1make[1]: *** [all-recursive] Error
> > 1make: *** [all] Error 2
> 
> Change the line in time.c that reads
> 
>   clock_ticks_per_second = (Real) CLK_TCK;
> 
> to
> 
>   clock_ticks_per_second = (Real) sysconf( _SC_CLK_TCK );
> 
> 
> -S
> _______________________________________________
> MINC-users@bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users