|
From: From: B. H. <hi...@fa...> - 2000-11-14 23:45:53
|
I just tried "make -f makemap.m" on a Linux system and it ran OK. It looks like tis is a compiler problem. Good luck, Bill ---------------------------------------------------------- Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706 hi...@fa... 608-263-4427 fax: 608-263-6738 http://www.ssec.wisc.edu/~billh/vis.html On Tue, 14 Nov 2000, Ng Gee Tiong wrote: > Hi > > I am trying out the sample makemap utility > however it did not work > I received the following errors listed below > I had try adding the following to the makemap.c > #include <sys/types.h> > #include <sys/stat.h> > #include <fcntl.h> > but it still doesn't work > anyone can help? > > thanks > GT > ---------------------------------------------------------------------------- > -------- > hpc-3{e75607a1}26: make -f makemap.m > cc -c -Aa -O -I../src makemap.c > cc: "makemap.c", line 232: error 1000: Unexpected symbol: "mask". > cc: "makemap.c", line 232: error 1573: Type of "mask" is undefined due to an > illegal declaration. > cc: "makemap.c", line 247: error 1588: "f" undefined. > cc: "makemap.c", line 247: error 1588: "O_WRONLY" undefined. > cc: "makemap.c", line 247: error 1588: "O_CREAT" undefined. > cc: "makemap.c", line 247: error 1588: "O_TRUNC" undefined. > cc: "makemap.c", line 248: error 1563: Expression in if must be scalar. > cc: "makemap.c", line 253: warning 563: Argument #1 is not the correct type. > cc: "makemap.c", line 255: warning 563: Argument #1 is not the correct type. > cc: "makemap.c", line 255: warning 526: Pointer implicitly converted to > integral value in assignment. > cc: "makemap.c", line 255: warning 563: Argument #2 is not the correct type. > cc: "makemap.c", line 255: warning 527: Integral value implicitly converted > to pointer in assignment. > cc: "makemap.c", line 255: warning 563: Argument #3 is not the correct type. > cc: "makemap.c", line 260: warning 563: Argument #1 is not the correct type. > cc: "makemap.c", line 260: warning 526: Pointer implicitly converted to > integral value in assignment. > cc: "makemap.c", line 260: warning 563: Argument #2 is not the correct type. > cc: "makemap.c", line 260: warning 527: Integral value implicitly converted > to pointer in assignment. > cc: "makemap.c", line 260: warning 563: Argument #3 is not the correct type. > *** Error exit code 1 > > Stop. > ---------------------------------------------------------------------------- > --------- > > > > > |