Re: Problems with an Oracle 8.0.3 OCI compilation.

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: 1997/12/24
Message-ID: <34a347c3.11600250_at_inet16>#1/1


You cut out some of the other warnings you got as well.

(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +z option is available only with the C/ANSI C product; ignored.
(Bundled) cc: "/d02/app/oracle/product/DEMO/rdbms/demo/oratypes.h", line 81: warning 5: "signed" will become a keyword.

the supported HP compiler is the ANSI C compiler (in /usr/bin, not /usr/ccs/bin). If you do not have it installed, it will need to be. the compiler you are using is not able to process ANSI C code and it choking on the header files...

Without the ANSI C compiler, you won't be able to build OCI programs...

On 24 Dec 1997 10:41:12 GMT, "Vincent MATHIEU" <vincent.mathieu_at_hol.fr> wrote:

>I'm trying to compile an C program with Oracle OCI on HP-UX server (10.20).
>All is fine with the Oracle 7.3 RDBMS.
>
>When I try to compile with the 8.0.3 RDBMS, I've got the following errors:
>
>(Bundled) cc: "/8.0.3/rdbms/demo/oratypes.h", line 81: warning 5: "signed"
>will become a keyword.
>(Bundled) cc: "/8.0.3/rdbms/demo/oratypes.h", line 81: error 1000:
>Unexpected symbol: "int".
>(Bundled) cc: "/8.0.3/rdbms/demo/oratypes.h", line 109: warning 5: "signed"
>will become a keyword.
>(Bundled) cc: "/8.0.3/rdbms/demo/oratypes.h", line 109: error 1000:
>Unexpected symbol: "char".
>(Bundled) cc: "/8.0.3/rdbms/demo/oratypes.h", line 156: warning 5: "signed"
>will become a keyword.
>(Bundled) cc: "/8.0.3/rdbms/demo/oratypes.h", line 156: error 1000:
>Unexpected symbol: "short".
>(Bundled) cc: "/8.0.3/rdbms/demo/oratypes.h", line 207: warning 5: "signed"
>will become a keyword.
>(Bundled) cc: "/8.0.3/rdbms/demo/oratypes.h", line 207: error 1000:
>Unexpected symbol: "long".
>(Bundled) cc: "/8.0.3/rdbms/demo/oratypes.h", line 232: warning 5: "signed"
>will become a keyword.
>(Bundled) cc: "/8.0.3/rdbms/demo/oratypes.h", line 232: error 1000:
>Unexpected symbol: "long".
>(Bundled) cc: "/8.0.3/rdbms/demo/ocidfn.h", line 75: error 1000: Unexpected
>symbol: "sword".
>(Bundled) cc: "/8.0.3/rdbms/demo/ocidfn.h", line 85: error 1000: Unexpected
>symbol: "sword".
>(Bundled) cc: "/8.0.3/rdbms/demo/ocidfn.h", line 107: error 1000:
>Unexpected symbol: "sword".
>(Bundled) cc: "/8.0.3/rdbms/demo/ocidfn.h", line 117: error 1000:
>Unexpected symbol: "sword".
>
>The Oracle Technical support is currently snowed under because of the Xmas
>holidays.
>Any help will be valuable for me.
>
>Thanks to answer me.
>
>Vincent
 

Thomas Kyte
tkyte_at_us.oracle.com
Oracle Government
Bethesda MD  

http://govt.us.oracle.com/ -- downloadable utilities  



Opinions are mine and do not necessarily reflect those of Oracle Corporation  

Anti-Anti Spam Msg: if you want an answer emailed to you, you have to make it easy to get email to you. Any bounced email will be treated the same way i treat SPAM-- I delete it. Received on Wed Dec 24 1997 - 00:00:00 CET

Original text of this message