On Wednesday, August 13, 2003, at 06:41 AM, Manuel Tiglio wrote:
> Preprocessing
> /home/tiglio/Cactus/arrangements/CactusBase/IOUtil/src/Startup.c
> Compiling
> /home/tiglio/Cactus/arrangements/CactusBase/IOUtil/src/Startup.c
> /home/tiglio/Cactus/configs/gr2/build/IOUtil/Startup.c(718): error:
> incomplete
> type is not allowed
> struct stat stat_buf;
> ^
>
> /home/tiglio/Cactus/configs/gr2/build/IOUtil/Startup.c(732): warning
> #266:
> function declared implicitly
> if (fstat (in_parfile, &stat_buf))
> ^
These look like missing include files in Startup.c. If you 'man 2
fstat', you should be able to get a listing of header files that must
be included for access to the fstat function. I would be willing to
bet that including those will make your problems go away. The 'struct
stat' is declared in one of the header files required by fstat - so
make sure you include all the files the manpage recommends.
Hope this helps,
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|