From: Bhaskar <dbnraju@netscape.net>
To: gcc-help@gcc.gnu.org
Subject: compiling pro C programs
Date: Sat, 27 Oct 2001 06:55:00 -0000 [thread overview]
Message-ID: <3BDABE65.3020702@netscape.net> (raw)
Hi!
I'm not sure whether this is the right place to post this
request.But i'm desperate to get help somehow.
I'm having trouble compiling pro C files on my linux
machine.Whenever i run the precompiler for compiling any of my pro C
programs, i'm getting errors like
Syntax error at line 48, column 3, file /usr/include/bits/pthreadtypes.h:
Error at line 48, column 3 in file /usr/include/bits/pthreadtypes.h
size_t __guardsize;
..1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the
following
:
} char, const, double, enum, float, int, long, ulong_varchar,
OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
struct, union, unsigned, utext, uvarchar, varchar, void,
volatile, a typedef name,
The symbol "enum," was substituted for "size_t" to continue.
Syntax error at line 72, column 5, file /usr/include/wchar.h:
Error at line 72, column 5 in file /usr/include/wchar.h
wint_t __wch;
....1
PCC-S-02201, Encountered the symbol "wint_t" when expecting one of the
following
:
char, const, double, enum, float, int, long, ulong_varchar,
OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
struct, union, unsigned, utext, uvarchar, varchar, void,
volatile, a typedef name,
The symbol "enum," was substituted for "wint_t" to continue.
Syntax error at line 102, column 3, file /usr/include/gconv.h:
Error at line 102, column 3 in file /usr/include/gconv.h
__gconv_trans_fct __trans_fct;
..1
PCC-S-02201, Encountered the symbol "__gconv_trans_fct" when expecting
one of th
e following:
char, const, double, enum, float, int, long, ulong_varchar,
OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
struct, union, unsigned, utext, uvarchar, varchar, void,
volatile, a typedef name,
Basically the precompiler is not getting definitions for types like
size_t, wchar_t, wint_t etc..
Can someone please tell me how i can compile my proC programs on
linux?Is there any include file that i'm missing in my proc command?
Following is the proc command that i've given for compiling a .pc file.
proc userid=eltpca/eltpca01@eltdev sqlcheck=semantics dbms=v7
mode=oracle unsafe_null=yes include=/elthome/src/incl
include=/elthome/src/incl/hps include=/usr/include
include=/usr/include/linux
include=/usr/lib/gcc-lib/i386-redhat-linux/2.96/include
include=/elthome/u01/app/oracle/product/8.1.7/precomp/public
icici_get_business_date.pc
I'm having Oracle 8.1.7 client software installed on Redhat 7.1.
Any help would be greatly appreciated.
Thanks in advance,
Bhaskar.
reply other threads:[~2001-10-27 6:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BDABE65.3020702@netscape.net \
--to=dbnraju@netscape.net \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).