using oralce 9.2.0.1.0

i installed the proc component in oracle client and tried to run the demo_proc.mk makefike, and it gave me a bunch of errors, which are probably too large for me to put it here, but it does give me a .c and a .o file

i tried to cc the .c code, but instead i get this error:
ucbcc: Warning: Option -YP,:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
"sample1.c", line 159: Can't find include file sqlda.h
"sample1.c", line 160: Can't find include file sqlcpr.h
"sample1.c", line 202: Can't find include file sqlca.h

i am not very proficient with make files or compilers. Can someone perhaps direct me to a pro*c installation guide?

TIA

Mark