Operating System - HP-UX
1752613 Members
4463 Online
108788 Solutions
New Discussion юеВ

aCC compile failed: could not open source file "ocidfn.h"

 
SOLVED
Go to solution
DuXiaoGuo
New Member

aCC compile failed: could not open source file "ocidfn.h"

I want to compiple a plugin program with aCC compiler. But always failed and reported "could not open source file "ocidfn.h"". Actually I checked the "/usr/ORACLE/u01/app/oracle/product/9.2.0/rdbms/demo" directly, the file is exist and the Makefile has included the directory. Please help to find the root cause. Thanks a lot.

The following lists the compile information:

/opt/aCC/bin/aCC -I. -I/usr/opt/temip/tsm/dev/include -I/usr/opt/temip/tfc/include -I/usr/opt/temip/mmtoolkit/include -I/usr/opt/temip/acloc/include -I/usr/opt/temip/ocs/include -I/usr/opt/temip/tal/include -I -I/usr/ORACLE/u01/app/oracle/product/9.2.0/rdbms/demo -I/usr/ORACLE/u01/app/oracle/product/9.2.0/rdbms/public -I/usr/ORACLE/u01/app/oracle/product/9.2.0/plsql/public -I/usr/ORACLE/u01/app/oracle/product/9.2.0/xdk/include -mt -D__64BIT__ +DD64 +Z -AA +W67 +inst_compiletime -DPTHREAD_COMPAT_MODE -mt -D_POSIX_PTHREAD_SEMANTICS -DSS_64BIT_SERVER +O2 -DPLATFORM_HPUX -DPLATFORM_HPUX_B_11_23 -D_RWCONFIG_m -D__HPACC_USING_MULTIPLIES_IN_FUNCTIONAL -D_RWSTD_MULTI_THREAD -c tuple.cxx -o tuple.o
"/usr/opt/temip/tfc/include/rw/tools/cstring.h", line 511: warning #2550-D:
parameter "mw" was set but never used
static size_t maxWaste(size_t mw = 15)
^

"/usr/opt/temip/tfc/include/rw/tools/cstring.h", line 835: warning #2550-D:
parameter "cap" was set but never used
RWCString::assumeBuffer(size_t cap, size_t len, char* buf)
^

"/usr/opt/temip/tsm/dev/include/nfc/DBConnection.hxx", line 38: error #2005:
could not open source file "ocidfn.h"
#include
2 REPLIES 2
Dennis Handly
Acclaimed Contributor
Solution

Re: aCC compile failed: could not open source file "ocidfn.h"

>the file is exist and the Makefile has included the directory.
>-I -I/usr/ORACLE/u01/app/oracle/product/9.2.0/rdbms/demo

Not really. The first invalid -I causes the second to be ignored.

>+inst_compiletime

This is the default, you should remove it.

>-D__HPACC_USING_MULTIPLIES_IN_FUNCTIONAL

You don't need this with -AA.
DuXiaoGuo
New Member

Re: aCC compile failed: could not open source file "ocidfn.h"

I have corrected it and now have compiled successfully. Thanks a lot.