Home » Developer & Programmer » Precompilers, OCI & OCCI » howto compile : ProC Shared Library header
howto compile : ProC Shared Library header [message #121546] Mon, 30 May 2005 09:39
zse_ugynok
Messages: 1
Registered: May 2005
Location: Hungary
Junior Member
Hello !

I want to compile a Shared Library with Pro*C
I've created header file to test with Pro*C.
Accidently I didn't succeeded with this command:

> proc HEADER=hdr INAME=tst_jpss.h

Pro*C/C++: Release 9.2.0.4.0 - Production on Mon May 30 15:23:13 2005

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

System default option values taken from: /home/oracle/app/oracle/product/9.2.0/precomp/admin/pcscfg.cfg

Syntax error at line 2, column 11, file tst_jpss.h:
Error at line 2, column 11 in file tst_jpss.h
namespace JPSS_FPS
..........1
PCC-S-02201, Encountered the symbol "JPSS_FPS" when expecting one of the followi
ng:

; , = ( [

Syntax error at line 0, column 0, file tst_jpss.h:
Error at line 0, column 0 in file tst_jpss.h
PCC-S-02201, Encountered the symbol "<eof>" when expecting one of the following:

; ( * auto, const, extern, register, static, volatile,
an identifier,

Error at line 0, column 0 in file tst_jpss.h
PCC-F-02102, Fatal error while doing C preprocessing


Can anyone tell me what's the problem?
  • Attachment: tst_jpss.h
    (Size: 0.09KB, Downloaded 1469 times)
Previous Topic: core dump when disconnect from proc connection on Linux
Next Topic: Problems with OCI for the Apple OSX
Goto Forum:
  


Current Time: Fri Mar 29 02:03:57 CDT 2024