Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Pro*C on Linux for LOB
Hi,
I had the same problem. The thing is that the precompiler complains
that it can't find "oci.h" even though the include paths are stated in
the precompiler config file.
Error at line 17, column 10 in file libOMMsg.pc
#include "oci.h"
.........1
PCC-S-02015, unable to open include file
To fix this problem I manually added the includes by using the
INCLUDE=... precompiler directive. When proc then finds the files it
crashes.
As it turned out id didn't matter if the precompiler found the "oci.h"
as long as the c-compiler does it. Thus, if you've added any INCLUDE
directives to proc to make it find "oci.h"- remove them and ignore the
warnings as shown above.
Hope it helps
/Sture
>Hi,
>
>I am trying to insert a LOB into the database using Pro*C (8.1.5.0.0) on a
>linux box. I copied stuff from the online Oracle book and wrote a little
>program to do this, but I am unable to preprocess it. The preprocessor
>crashed with a segmentation violation error.
>
>I have narrowed the problem to the #include <oci.h> that causes the
>preprocessor to crash. This is error I am getting:-
>
>Syntax error at line 132, column 3, file /usr/include/limits.h:
>
>INTERNAL ERROR: Failed assertion [PGE Code=90105]
>
>Segmentation fault (core dumped)
>
>Thanks.
>Nav
>
>
Received on Sat May 13 2000 - 00:00:00 CDT
![]() |
![]() |