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... ----- Original Message ----- To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]> Sent: Monday, May 27, 2002 4:53 AM > 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: [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).