Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: ProC problem

Re: ProC problem

From: Tim Gorman <Tim_at_SageLogix.com>
Date: Mon, 27 May 2002 11:23:34 -0800
Message-ID: <F001.0046C47A.20020527112334@fatcity.com>


The "-I" directives to the "cc" command tell the C compiler where to find the ".h" (include) files.

The directory in which that specified file resides is not mentioned in any of the "-I" directives.

Either modify the "pcscfg.cfg" file mentioned as containing the default options to add "-I${ORACLE_HOME}/precomp/admin" or specify the directives some other way...

> All,
>
> Tru64 5.1a
> Oracle 8.0.6.3.0
>
> One of our developers is getting the following error when trying to
compile
> up a program
>
> > Pro*C/C++: Release 8.0.6.3.0 - Production on Fri May
> > 24 16:27:04 2002
> >
> > (c) Copyright 1999 Oracle Corporation. All rights
> > reserved.
> >
> > System default option values taken from:
> > /usr/app/oracle/product/8.0.6/precomp/admin/pcscfg.cfg
> >
> > Error at line 3, column 10 in file
> > unload_d_contract_role.pc
> > #include <gflib.h>
> > .........1
> > PCC-S-02015, unable to open include file
> > cc -DPROC2 /user1/lib/gflib.o -O4 -fast -fp_reorder
> > -U_FASTMATH -std1 -DOSF1 -DA_OSF -Wf,-readonly_strings -noansi_alias
>
> -D_INTRINSICS -I. -DPROC2 -I/usr/app/oracle/product/8.0.6/precomp/public
> > -I/usr/app/oracle/product/8.0.6/rdbms/public
> > -I/usr/app/oracle/product/8.0.6/rdbms/demo
> > -I/usr/app/oracle/product/8.0.6/plsql/public
> > -I/usr/app/oracle/product/8.0.6/network/public -c
> > unload_d_contract_role.c
> > cc: Severe: unload_d_contract_role.c, line 141:
> > Cannot find file <gflib.h> specified in #include directive.
(noinclfilef)
> > #include <gflib.h>
> > -^
> > *** Exit 1
> > Stop.
> > Complete
> > 'unload_d_contract_role' Compiled in 5 Seconds
> >
> The directory where the gflib.h file lives
> is in the .cfg file in the $ORACLE_HOME/precomp/admin directory.
>
> Anyone have any ideas
>
> Regards
>
> Lee
>
>
> The information contained in this communication is
> confidential, is intended only for the use of the recipient
> named above, and may be legally privileged. If the reader
> of this message is not the intended recipient, you are
> hereby notified that any dissemination, distribution or
> copying of this communication is strictly prohibited.
> If you have received this communication in error, please
> re-send this communication to the sender and delete the
> original message or any copy of it from your computer
> system.
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Robertson Lee - lerobe
> INET: lerobe_at_acxiom.co.uk
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Tim Gorman
  INET: Tim_at_SageLogix.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon May 27 2002 - 14:23:34 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US