[Prev][Next][Index]

Bug on Solaris 2.0




Hello:

I got the following problem:

Architecture: 		Sun Sparc
OS: 			Solaris 2.0
File: 			sgCallGraph.C

Output from "Make install"

*** COMPILING extentions DIRECTORY
g++ -I../../h -I../../lib/include -g -c  sgCallGraph.C
In file included from /usr/include/sys/time.h:237,
                 from /usr/compsci/gnu/lib/g++-include/sys/time.h:25,
                 from sgCallGraph.C:104:
/usr/compsci/gnu/lib/g++-include/time.h:83: conflicting types for `int gettimeofday(struct timeval *, struct timezone *)'
/usr/include/sys/time.h:220: previous declaration as `int gettimeofday(struct timeval *, void *)'

Quick fix: Comment out the include line the the use of gettimeofday in the file.


If you need any more informationregarding this problem let me know.

Pedro



Follow-Up(s):