Pro*C/C++ generates error "PCC-S-02015, unable to open include file"
I'm running a .pc file through the pre-compiler (on Windows 7x64 with instant client 12.1) and get the following error:
Error at line 78, column 1 in file XXX.pc
EXEC SQL INCLUDE SQLCA;
1
PCC-S-02015, unable to open include file
If I change the content of my file to the following
#include "sqlca.h"
//EXEC SQL INCLUDE SQLCA;
the pre-compiler does it's job nicely.
My pcscfg.cfg looks like this:
include="C:\PROGRA~2\Oracle\INSTAN~1\sdk\include"
include="C:\PROGRA~2\MICROS~2.0\VC\include"
define=(WIN32_LEAN_AND_MEAN)
DEFINE=_WSTDIO_DEFINED
Has there been a change in the syntax of Pro*C or why can't it resolve the EXEC SQL INCLUDE?
PS: I'm an absolute newbie to this and am trying to get to compile some veeery old code, build under instant client 9/10/11)
Karl Esau (guest) wrote:
: Hi,
: I have problems to get the precompiler running - executing the
: precompiler leads to a segfault.
I meanwhile solved the problem, so that I can compile and
run the samples.
a strace on 'proc' showed:
open("/oracle/precomp/public/SQLCA.H", O_RDONLY) = -1 ENOENT
(Nosuch file or directory)
I made a symbolic link for an upper case SQLCA.H, needed to add
SQLCHECK=SEMANTICS in ~/precomp/admin/pcscfg.cfg and one more
lib for the make: /lib/libdl.so.2 because 'dlclose' and other
symbols were undefined.
bye
Karl Esau
null
Similar Messages
-
SegFault PCC-S-02015 unable to open include file
Hi,
I have problems to get the precompiler running - executing the
precompiler leads to a segfault.
btw: don3t have ORACLE_HOME/precomp/demo/proc
oracle@los13529 > make -f demo_plsql.mk examp9
sqlplus scott/tiger @exampbld </dev/null
System default option values taken from:
/oracle/precomp/admin/pcscfg.cfg
Error at line 53, column 1 in file examp9.pc
EXEC SQL INCLUDE SQLCA;
1
PCC-S-02015, unable to open include file
make[1]: *** [examp9.o] Segmentation fault
make[1]: Leaving directory `/oracle/plsql/demo'
make: *** [examp9] Error 2
a 'strace' says:
oracle@los13529:/oracle/plsql/demo > strace proc examp9
open(ptrace: umoven: Input/output error
0x85a7dc0, O_RDONLY) = -1 ENOENT (No such file or directory)
i have to admit, i had to change /oracle/precomp/admin/pcscfg.cfg
as follows and set two links in order to fix include errors on
stdarg.h and stddef.h:
/oracle/precomp/admin/pcscfg.cfg:
sys_include=(/usr/include)
include=(/oracle/precomp/public)
include=/oracle/precomp/hdrs
include=/oracle/tpcc2x_2/src
include=/oracle/precomp/include
include=/oracle/oracore/include
include=/oracle/oracore/public
include=/oracle/rdbms/include
include=/oracle/rdbms/public
include=/oracle/rdbms/demo
include=/oracle/nlsrtl/include
include=/oracle/nlsrtl/public
include=/oracle/network_src/include
include=/oracle/network_src/public
include=/oracle/network/include
include=/oracle/network/public
include=/oracle/plsql/public
ltype=short
oracle@los13529 > l /usr/include/std[ad]*
lrwxrwxrwx 1 root root 57 Mar 15 10:18 /usr/include/stdarg.h
-> /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/include/stdarg.h
lrwxrwxrwx 1 root root 57 Mar 15 10:18 /usr/include/stddef.h
-> /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/include/stddef.h
system related info:
oracle@los13529:/oracle/plsql/demo > uname -a
Linux los13529 2.2.3 #1 Wed Mar 10 14:54:34 MET 1999 i586
unknown
oracle@los13529:/oracle/plsql/demo > cc --version
egcs-2.91.60
path/environment-settings seem to be proper:
johndoe@los13529:/home/johndoe > set|grep orac
LD_LIBRARY_PATH=:/oracle/lib
ORACLE_BASE=/oracle
ORACLE_HOME=/oracle
ORACLE_PATH=/oracle/sqlplus
ORA_NLS32=/oracle/ocommon/nls/admin/data
ORA_NLS33=/oracle/ocommon/nls/admin/data
PATH=/oracle/bin:/oracle/buildtools/bin:/usr/local/bin:/usr/bin:
/usr/X11R6/bin:/bin:/usr/games/bin:/usr/games:/opt/kde/bin:.
TNS_ADMIN=/oracle/network/admin
ora/listener-connect is OK, even ODBC from a W95-client works:
johndoe@los13529:/home/johndoe > sqlplus scott/tiger@quad
SQL*Plus: Release 8.0.5.0.0 - Production on Mon Mar 15
14:8:18 ...
SQL> select count(*) from tab;
COUNT(*)
17
SQL> exit
Disconnected from Oracle8 Release 8.0.5.0.0 - Production
PL/SQL Release 8.0.5.0.0 - Production
please give me a hint. mailto:[email protected]
nullKarl Esau (guest) wrote:
: Hi,
: I have problems to get the precompiler running - executing the
: precompiler leads to a segfault.
I meanwhile solved the problem, so that I can compile and
run the samples.
a strace on 'proc' showed:
open("/oracle/precomp/public/SQLCA.H", O_RDONLY) = -1 ENOENT
(Nosuch file or directory)
I made a symbolic link for an upper case SQLCA.H, needed to add
SQLCHECK=SEMANTICS in ~/precomp/admin/pcscfg.cfg and one more
lib for the make: /lib/libdl.so.2 because 'dlclose' and other
symbols were undefined.
bye
Karl Esau
null -
PCC-S-02015, unable to open include file(gnu/stubs-32.h)
Hi,
I was trying to precompile one of the sample files from the "Pro*C/C++ Precompiler
Programmer’s Guide" and I got this error message:
Fehler in Zeile 7, Spalte 11, in Datei /usr/include/gnu/stubs.h
# include <gnu/stubs-32.h>
..........1
PCC-S-02015, Einfügedatei konnte nicht geöffnet werden.
(Which means "unable to open include file")
I couldn't find any an answer on the forum, so I figured it out for myself.
I just wanted to post it so in case somebody else faces the same problem, they would have the solution here.
The machine is a virtual Linux host running on a 64Bit architecture, so I was surprised why is it looking for stubs-32.h and not stubs-64.h.
The answer is in the stubs.h file:
#include <bits/wordsize.h>
#if __WORDSIZE == 32
# include <gnu/stubs-32.h>
#elif __WORDSIZE == 64
# include <gnu/stubs-64.h>
#else
# error "unexpected value for __WORDSIZE macro"
#endifSo let's check the bits/wordsize.h file:
#if defined __x86_64__
# define __WORDSIZE 64
# define __WORDSIZE_COMPAT32 1
#else
# define __WORDSIZE 32
#endifSo I figured out you can define __x86_64__ in two places:
The file: precomp/admin/pcscfg.cfg
Most probably you just need to add define=__x86_64__ and that should do the trick.
Unfortunately I couldn't try it because I didn't have write permission on that file.
The other way is to pass it in the command line:
proc sample1.pc MODE=ORACLE DEFINE=__x86_64__+
This way the precompiler created the output .c file without errors.
Cheers
PS: Don't try to define the __x86_64__ in the .pc file, or you'll get a warning when you compile the .c file. Not a big deal, just desn't look good :-D
Edited by: VincentFreeman on Feb 12, 2009 4:09 AM
Edited by: VincentFreeman on Feb 12, 2009 4:16 AMIdeally speaking your pcscfg.cfg should have the paths to the directories where you will be getting all your headers from
Based on what linux flavor & version of gcc you have the following directory will have the headers you are missing
/usr/lib/gcc/ABC-XYZ-linux/<gcc_version_no>/include
where ABC could be i386/i586 depending on the hardware and XYZ could be the linux flavor like redhat/suse/whatever you have -
Problem! To compile Samples PCC-F-NOERRFILE, unable to open error message file
make -f demo_proc.mk sample1
make -
f /u2/oracle/base/product/8.0.5/precomp/demo/proc/demo_proc.mk
OBJS=sampld
make[1]: Entering directory
`/u2/oracle/base/product/8.0.5/precomp/demo/proc'
/u2/oracle/base/product/8.0.5/bin/proc iname=sample1
PCC-F-NOERRFILE, unable to open error message file, facility PR2
make[1]: *** [sample1.o] Error 1
make[1]: Leaving directory
`/u2/oracle/base/product/8.0.5/precomp/demo/proc'
make: *** [sample1] Error 2
nullCross-posted:
http://stackoverflow.com/questions/19534883/oracle-proc-gives-error-pcc-f-noerrfile-unable-to-open-error-message-file-fac -
ZAV 10 - Unable to open parameter file error
When trying to launch a ZAV 10 app, C-Cure Administration Console, users are getting an error "**Unable to open parameter file cc800cl.pf, errno 2. (1247)". This only appears to be happening on Win7. This did work when first created, but after a few weeks the error has started to pop-up.
If this was working and is not now, and you are certain nothing has changed on the client systems (or at least nothing that could interfere here), then this might be an issue with the license used when building the application. What is the expiry date of your license and was it applied prior to building this exe?
If this isn't expiring please open an SR for this issue, if you can. This is the information the support team will require:
- Copies of any warnings or errors around the time the issue occurs (or a copy of the application and system event logs, in .evtx format)
- A copy of the exe you are using
- If you can build the exe again as a diagnostic-mode executable and provide the diagnostics generated when attempting to run, that can be very helpful
- It may also be required that you send installation media for the application and your build process, so the team can attempt to reproduce the issue in-house
- You will also typically be asked for the .xappl file and associated Files folder, if reproducing in-house is required. This will become absolutely necessary if a ticket needs to be filed with Spoon, so sending it ahead of time is a good idea -
"Unable to open config file" Error when starting tomcat
hi all,
Here is the output from two of the log files when I start tomcat4 on my linux box. I have configured the mod_jk on the tomcat side.
From the output of the second log file, it seems that the ajp13 worker I defined was started successfully. What I don't understand is the following:
1) In catalina.out, where des the line 'Unable to open config file' come from? Which config file?
2) Tomcat4 is supposed to generate a mod_jk.conf automatically, but I don't see any file generated in 'conf/auto/'.
Content of 'catalina.out'
Unable to open config file
Starting service Tomcat-Standalone
Apache Tomcat/4.0.4
Unable to open config file
Starting service Tomcat-Apache
Apache Tomcat/4.0.4content of 'catalina_log.2002-08-16.txt'
2002-08-16 01:05:22 HttpConnector Opening server socket on all host IP addresses
2002-08-16 01:05:28 Ajp13Connector[8009] Opening server socket on all host IP addresses
2002-08-16 01:05:28 Ajp13Connector[8009] Starting background thread
2002-08-16 01:05:29 Ajp13Processor[8009][0] Starting background thread
2002-08-16 01:05:29 Ajp13Processor[8009][1] Starting background thread
2002-08-16 01:05:29 Ajp13Processor[8009][2] Starting background thread
2002-08-16 01:05:29 Ajp13Processor[8009][3] Starting background thread
2002-08-16 01:05:29 Ajp13Processor[8009][4] Starting background threadI have all those files too.
I think the 'config file' mentioned in the error log is the mod_jk.conf.
On Jason Hunter's tomcat4 guide, it says don't use the tomcat4 RPM to installed. What is the difference bettween the RPM version and the tar.gz version? The only difference I can think of is that in the RPM version, the conf directory is in the 'etc/tomcat4/conf'. Could it be the reason that tomcat4 cannot read the config file? But it has no problem reading the server.xml though. -
"Unable to Open Project File" - error
Does anyone know how to resolve an "Unable to Open Project File" - error. I accidentally shut down my computer wrong, although Final Cut wasn't open.
Welcome to the forums.
The project file might have gotten corrupted. Look for the AUTOSAVE VAULT (typically in the DOCUMENTS>FINAL CUT PRO DOCUMENTS folder) and open the most recent version. Copy it to your main project folder if it works.
If not, then try trashing your prefs with FCP Rescue.
Shane -
Newbie to VC++
Getting the below error in VC++ 2005, Indesign CS4
1>------ Build started: Project: WriteFishPrice, Configuration: Debug Win32 ------
1>Performing Custom Build Step
1>Compiling...
1>WFPNoStrip.cpp
1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
1>WFPID.cpp
1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
1>VCPlugInHeaders.cpp
1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
1>TriggerResourceDeps.cpp
1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
1>SDKPlugInEntrypoint.cpp
1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
1>Generating Code...
1>Build log was saved at "file://c:\id6sdk\build\win\objD\WriteFishPrice\BuildLog.htm"
1>WriteFishPrice - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I have added the path of config.hpp in "addition include directories" still it is throwing the same error.
Regards,
SureshNeither the first not the second one:
am using the following path:
C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\external\asl\boost_libraries\boost
Now i have copied the complete 'external' folder to C:\id6sdk\ and added the directory now it is showing the following error:
Getting the following error:
fatal error C1083: Cannot open include file: 'IPMUnknown.h': No such file or directory C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp 46
Don't understand the concept one error leading to the other error.
How to come out of these kind of problem.
Regards,
Suresh -
@Why is it when I go to open a file in Photoshop cc I get a "Could not complete your request because of a program error". I have uninstalled and re-installed software, It works for a short time then I get that error again when i go to open a file. Thank you!
Without proper system information and other details like what files you work with nobody can tell you much. From corrupted prefs to issues with your PS swap file to actual problems with the fiel storage this could be anything.
Mylenium -
ERROR: Unable to open TUXCONFIG file
Hi,
I installed and installed the following software successfully on Windows XP
Oracle WebLogic Server 11gR1 (10.3.1) Microsoft Windows
PeopleSoft Enterprise PeopleTools 8.50
PeopleSoft Enterprise Human Resources Management System 9.1 - Revision 2
Tuxedo 10gR3 for MS Windows Server 2003 w/MS VS 2005 (32-bit x86, AMD64/EM64T x64) 32-bit
i am at the point of installing the Application Server. Domain created sucessfully but i got boot errors as shown below.
I searched for the TUXCONFIG file but could not find it in the tuxedo installation folder.
I read that i have to create the TUXCONFIG,if missing, using tmloadcf.exe and the ubbconfig file, but the only UBBCONFIG file is located in "\samples\atmi\rpcsimp\" folder.
How do i create the TUXCONFIG file?
Did i miss something with the installation? What location should this file exist after your tuxedo installation?
thanks
K
BOOT ERRORS:
PeopleSoft Domain Boot Menu
Domain Name: hrms
1) Boot (Serial Boot)
2) Parallel Boot
q) Quit
Command to execute (1-2, q) [q]: 1
Attempting to boot bulletin board...
tmadmin - Copyright (c) 2007-2008 Oracle.
Portions * Copyright 1986-1997 RSA Data Security, Inc.
All Rights Reserved.
Distributed under license by Oracle.
Tuxedo is a registered trademark.
No bulletin board exists. Entering boot mode.
115818.SU1491!PSWATCHSRV.5832.6140.-2: LIBTUX_CAT:1519: ERROR: TUXCONFIG value (C:\Documents an
d Settings\klondon\psft\pt\8.50\appserv\hrms\PSTUXCFG) is longer than the allowed length of 64
115818.SU1491!PSWATCHSRV.5832.6140.-2: LIBTUX_CAT:588: ERROR: Unable to open TUXCONFIG file
115818.SU1491!PSWATCHSRV.5832.6140.-2: LIBTUX_CAT:6272: ERROR: Unable to get bulletin board par
ameters
115818.SU1491!tmboot.2652.1488.-2: CMDTUX_CAT:825: ERROR: Process PSWATCHSRV at SU1491 failed w
ith /T tperrno (TPESYSTEM - internal system error)
115818.SU1491!tmboot.2652.1488.-2: tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; init
iating user error handler
115821.SU1491!BBL.2956.4352.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
115825.SU1491!PSADMIN.3088: End boot attempt on domain hrms
Edited by: user2932595 on Apr 17, 2010 1:17 PM
Edited by: user2932595 on Apr 17, 2010 1:21 PMHi
The TUXCONFIG file normally is created automatically when you create your domain.
In this case I think you ran into trouble because the path of installation is too long!
Note the error in your log:
115818.SU1491!PSWATCHSRV.5832.6140.-2: LIBTUX_CAT:1519: ERROR: TUXCONFIG value (C:\Documents and Settings\klondon\psft\pt\8.50\appserv\hrms\PSTUXCFG) is longer than the allowed length of 64
Your path is 69 chars long!
I would suggest that you re-try the configuration with a shorter tuxedo and PS_HOME: perhaps in the root directory (c:\PSHOME)
In the past I've also noticed that installations have problems with paths that have spaces - ex: 'Documents and settings' , so I would avoid that as well.
Edited by: Alternate on Apr 19, 2010 2:00 AM -
ERROR: Unable to open structapps file!
Hello,
Having modified the structapps.fm in FM10, I am getting the following error within a dialog when attempting to use the same file in FM8:
ERROR: Unable to open structapps file! FA_errno -43
Is FM not backward compatible ? OR do I need to reread the file in FM8
ThanksThe file should be saved in the FM version that you're using it in. You can't use any newer FM version file in any older version of FM, e.g. FM8 can't open any FM10 files (except for the MIF formats).
-
"Unable to open project file" Error Message
I pulled an all-nighter (13 hours of editing) last night to create a critical project in FCE 3.5.1 on my Intel iMac running 10.4.11 then left this afternoon for a few hours and shut down my machine. Came back tonight and tried to open the project (which I saved on my Maxtor 1 TB external drive along with all of the scratch disk files). To my absolute panic, it won't open the file now with an error message that simply says, "Unable to open project file". HELP!!!! Anyone have any suggestions?!?!
In the past I found (and reported to Apple Feedback) the same bug Steve reports here, but I should recall that the problem:
- only appeared in PAL projects (probably not the case for kscritch) - never heard of it in NTSC
- was consistent in FCE 3.x, not so in FCE 4
I made tests importing .psd images with transparency into PAL projects using FCE 4, and I had various behaviours: sometimes the project worked, sometimes I couldn't open the project again (as in FCE 3), sometimes I had error messages with inconsistent behaviour (msg like "file error", but the project opened and file was there...), etc. so I decided to do without.
Now I only import .tif or .png images when I need transparency
Piero -
Unable to open pst file error details access to the path is denied
Hello,
iam trying to do a mailboximport-request from a QNAP-nas that is member of the domain.
When doing the mailboximport i am getting the following error : unable to open pst file error details access to the path is denied.
Which permissions do i need to have on the folder/file on the qnap to import the .pst-file?
ThxMove your PST files to a windows server. Exchange Trusted Subsystem is a universal group in Active Directory.
Read more here: http://technet.microsoft.com/en-us/library/ee633455(v=exchg.141).aspx#Pre
Mike Crowley | MVP
My Blog --
Planet Technologies -
i just made a movie in iMovie and exported in MP4 format, now it won't open, error message says quicktime can't open the file ***? Anyone?
I have the same problem. I'm using Mavericks OS and latest iMovie. Both downloaded last week. I save the movie into File (as directed) and QuickTime
will not open. I'm then directed to a page of formats which are supposed to be supported on which is .mp4. Any tips? -
Filestream Creation Unable to Open Physical File Operating System Error 259
Hey Everybody,
I have run out of options supporting a customer that is having an error when creating a database with a file stream. The error displayed is unable to open physical file operating system error 259 (No more data is available). We're using a pretty
standard creation SQL script that we aren't having issues with other customers:
-- We are going to create our data paths for the filestreams.
DECLARE @data_path nvarchar(256);
SET @data_path = (SELECT SUBSTRING(physical_name, 1, CHARINDEX(N'master.mdf', LOWER(physical_name)) - 1)
FROM master.sys.master_files
WHERE database_id = 1 AND file_id = 1);
-- At this point, we should be able to create our database.
EXECUTE ('CREATE DATABASE AllTables
ON PRIMARY
NAME = AllTables_data
,FILENAME = ''' + @data_path + 'AllTables_data.mdf''
,SIZE = 10MB
,FILEGROWTH = 15%
FILEGROUP FileStreamAll CONTAINS FILESTREAM DEFAULT
NAME = FSAllTables
,FILENAME = ''' + @data_path + 'AllTablesFS''
LOG ON
NAME = AllTables_log
,FILENAME = ''' + @data_path + 'AllTables_log.ldf''
,SIZE = 5MB
,FILEGROWTH = 5MB
GO
We are using SQL Server 2014 Express. File streams were enabled on the installation SQL Server. The instance was created successfully and we are able to connect to the database through SSMS. The user is using an encrypted Sophos.
We have tried the following:
1. Increasing the permissions of the SQL Server server to have full access to the folders.
2. Attempted a restore of a blank database and it failed.
There doesn't seem to be any knowledge base articles on this particular error and I am not sure what else I can do to resolve this. Thanks in advance for any help!Hi Ryan,
1)SQL Server(any version) can't be installed on encrypted drives. Please see a similar scenario in the following link
https://ask.sqlservercentral.com/questions/115761/filestream-and-encrypted-drives.html
2)I don't think there is any problem with permissions on the folder, if the user can create a database in the same folder. Am not too sure. Also see the article by
Jacob on configuring the FILESTREAM for SQL Server that describes how to configure FILESTREAM access level & creating a FILESTREAM enabled database
Hope this helps,
Thanks
Bhanu
Maybe you are looking for
-
I cant get my iPod touch to turn on or do anything. Can you please help i have done all i can think of and i'm about to throw it at the wall.
-
OWB 10g: Creating a dimension: error on hierarchy
Hi there, i've created a very simple dimension, alike the channel dimension of the sh-samples. However, when i validate my dimension, i get the error: --> VLD-0350: In a hierarchy <name>, level relationship binding between parent level "total" and ch
-
Msaccess_exporter Error #35021
Hi, I am trying to use omwb2000.mde to export Access 2000 database into Oracle 9i. I am getting the above Error for the export of Schema , and it fails. However the export of tables works fine. I saw some previous threads on the same topic and tried
-
Seial number creation for matrial
we have a material which has tert :A: as header material and materials :B: and :C: halb bom materials. In the work scheduling view of the material a :Serial number profile OF category MMSL with material no creation obligatory was assigned. At the tim
-
Hi All, Please help for my Very Urgent Request.... I need to change the width of the image into 85 mm. I dont know why the below coding is not working for me Trying Code 1: app.activeDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUn