Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Embedded SQL compiler at Linux
Hello Group!
I've got some embedded sql sources which I shall translate with the precompiler "proc". Unfortunately, it doesn't work for me:
-------------------------8<--------------------------------------------
(c) Copyright 2000 Oracle Corporation. All rights reserved.
System default option values taken from: /opt/oracle/OraHome/precomp/admin/pcscf
Error at line 34, column 11 in file /usr/include/stdio.h
# include <stddef.h>
..........1
PCC-S-02015, unable to open include file
[...]
-------------------------8<--------------------------------------------
This looks if the precompiler would not find some standard header files. I then tried to pass the header paths as command line option also fails:
-------------------------8<--------------------------------------------
#include_next <limits.h> /* recurse down to the real one */.1
a numeric constant, newline, define, elif, else, endif, error, if, ifdef, ifndef, include, line, pragma, undef, an immediate preprocessor command, a C token, The symbol "newline," was substituted for "include_next" to continue.
-------------------------8<--------------------------------------------
This looks now really funny to me.
So, I have now a couple of questions:
- This is my first use of "proc", is there anything which I did wrong?
Maybe, the precompiler isn't installed correctly? How do I test that?
- How cat I force "proc" to compile successfully files on Linux (gcc)?
- Is the use of files from the "demo" dir usual in oracle (the source
uses the file "oratypes.h")? Do I then really need to specify the
directory?
- How can I call "proc" system independent? I want to include the
sources in a package that shall be build with "autoconf/automake".
I am using Oracle 8.1.6 and 8.1.7 and SuSE Linux 7.0 and 7.3.
Any suggestions?
Ole Received on Tue May 14 2002 - 08:40:46 CDT
![]() |
![]() |