[GRASS5] Problem with r.fill.dir
Justin Hickey
jhickey at hpcc.nectec.or.th
Fri May 11 02:45:05 EDT 2001
Hi Roger
When compiling the r.fill.dir program on an SGI with MIPSPro compilers I
get the following error:
"main.c", line 52: error(1005): could not open source file "error.h"
#include <error.h>
Since the comment for this include statement is associated with lseek,
can you change lseek to fseek? There are other reasons for using fseek
as well. First, fseek is a standard library function and lseek is not.
Second, according to Kernighan and Ritchie's "The C Programming
Language", lseek can have slower access. Thus, I would suggest changing
lseek to fseek if possible. Then the error.h file may not be needed.
Just my 2 cents worth.
--
Sincerely,
Jazzman (a.k.a. Justin Hickey) e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do. ---Anonymous
Jazz and Trek Rule!!!
==================================================================
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list