Trying to build the example code from "Using the C API for XML - Oracle XML DB Developer's Guide"
Sorry for the newbie question but I am trying to build the sample code that is in:
http://docs.oracle.com/cd/E11882_01/appdev.112/e16659/xdb12oci.htm#BABHFHIBm (example 16.1)
I can not get it to compile. My oracle installation is 11.1 on Oracle Enterprise linux 5.3 and it appears to be missing the file s.h. Hence my compiler does not have a definition of STATICF.
This is the output from the gcc:
gcc -o ocixmldb.o -c ocixmldb.c -I/oraclient/product/11g/xdk/include -I/oraclient/product/11g/rdbms/publicocixmldb.c:2:15: error: s.h: No such file or directoryocixmldb.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sword'ocixmldb.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sword'ocixmldb.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sword'ocixmldb.c:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'output'make: *** [ocixmldb] Error 1