Pro*C on Linux

From: Gerard H. Pille <ghp_at_skynet.be>
Date: Thu, 08 Mar 2001 08:10:49 +0100
Message-ID: <3AA73079.F5A80D1E_at_skynet.be>


Hello,

Any advice on getting Pro*C to work on Linux?

I'm getting:

make -f /var/oracle/product/8.1.6/precomp/demo/proc/demo_proc.mk OBJS=sample1.o
EXE=sample1 build
make[1]: Entering directory `/usr/src/oradev' proc iname=sample1
Pro*C/C++: Release 8.1.6.0.0 - Production on Thu Mar 8 07:51:29 2001 (c) Copyright 1999 Oracle Corporation. All rights reserved. System default option values taken from:
/var/oracle/product/8.1.6/precomp/admin/pcscfg.cfg
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: ...

Syntax error at line 69, column 5, file /usr/include/wchar.h: Error at line 69, 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:

I'm using libc-2.2.1 Host type: i386-pc-linux-gnu System: Linux 2.4.2 #8 SMP Architecture: i686
Addons: linuxthreads
Build CC: gcc Compiler version: 2.95.2 20000220 (Debian GNU/Linux)

Any hints or RTFM's will be very well come

--
Gerard H. Pille
Received on Thu Mar 08 2001 - 08:10:49 CET

Original text of this message