|
From: Ng G. T. <nsu...@si...> - 2000-11-14 02:48:47
|
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.
----------------------------------------------------------------------------
---------
|