Hi,

 I've a C program written for Suse linux. I'm having minor problems 
 compiling. First is that the cexp (complex exponent) is not available
 in /usr/include/math.h. Is it possible to add on a library that includes
 this function? I compile as 'gcc -lm program.c'.

 Additionally there is a timer program that creates this compile 
 error 

GC.c: In function `gettime':
GC.c:252: error: storage size of 'ltim' isn't known

 Here is gettime  

/********************************************************************/
// Functions start here.
/********************************************************************/

// Function to read system time.  Only used for testing execution speed.
long int gettime(void)
{
    struct timeval    ltim;

        gettimeofday(&ltim, NULL);
        return (((long int)ltim.tv_sec)*((long int)(1000000))+((long 
int)ltim.tv_usec));
}


 I'm compiling on a 5.3 box. Thanks for any help, 




                
---------------------------------
Yahoo! for Good - Make a difference this year. 
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to